Suvvi Posted January 9, 2015 Report Posted January 9, 2015 Hi I am recent graduate in December training on Java.... could anyone help me with good sites where i can find simple examples for Restful .... SOAP... Thanks
dotnetrockz Posted January 9, 2015 Report Posted January 9, 2015 http://www.webservicex.net/ws/default.aspx
lolliman Posted January 9, 2015 Report Posted January 9, 2015 http://www.webservicex.net/ws/default.aspx Thanks mayya :)
lolliman Posted January 9, 2015 Report Posted January 9, 2015 Suvvi aaa inka nayyam sulli ani pettukolee
Suvvi Posted January 9, 2015 Author Report Posted January 9, 2015 Thanks ... These all are showing demos. Whr can i get source code?
lolliman Posted January 9, 2015 Report Posted January 9, 2015 Thanks ... These all are showing demos. Whr can i get source code? go and search in youtube
dotnetrockz Posted January 9, 2015 Report Posted January 9, 2015 Thanks ... These all are showing demos. Whr can i get source code? these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP
Suvvi Posted January 9, 2015 Author Report Posted January 9, 2015 these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP so i have to write client code?
lolliman Posted January 9, 2015 Report Posted January 9, 2015 these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP Mayya nuvvu kooda.. he is not even trying
lolliman Posted January 9, 2015 Report Posted January 9, 2015 so i have to write client code? Server and client kooda raayali nuvve... Em raayava
Suvvi Posted January 9, 2015 Author Report Posted January 9, 2015 Server and client kooda raayali nuvve... Em raayava wats u r problem? behave properly
dotnetrockz Posted January 9, 2015 Report Posted January 9, 2015 so i have to write client code? yes i dont know how webservice can be consumed in java but it shud be easy....check online examples and see how its done and the practice........ first understand what is SOAP,Why is it a standard?...is it same as xml or not? how serilaization works...
dotnetrockz Posted January 9, 2015 Report Posted January 9, 2015 sample SOAP Request and Response SOAP 1.1 The following is a sample SOAP 1.1 request and response. The placeholders shown need to be replaced with actual values. POST /usaddressverification.asmx HTTP/1.1 Host: www.webservicex.net Content-Type: text/xml; charset=utf-8 Content-Length: length SOAPAction: "http://www.webservicex.net/VerifyAddress" <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <VerifyAddress xmlns="http://www.webservicex.net"> <City>string</City> <State>string</State> <Zip>string</Zip> </VerifyAddress> </soap:Body> </soap:Envelope> HTTP/1.1 200 OK Content-Type: text/xml; charset=utf-8 Content-Length: length <?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <VerifyAddressResponse xmlns="http://www.webservicex.net"> <VerifyAddressResult> <Address> <Rank>int</Rank> <Quality>double</Quality> <City>string</City> <State>string</State> <ZipRangeFrom>string</ZipRangeFrom> <ZipRangeTo>string</ZipRangeTo> </Address> <Address> <Rank>int</Rank> <Quality>double</Quality> <City>string</City> <State>string</State> <ZipRangeFrom>string</ZipRangeFrom> <ZipRangeTo>string</ZipRangeTo> </Address> </VerifyAddressResult> </VerifyAddressResponse> </soap:Body> </soap:Envelope>
ZuniorVentiyar Posted January 9, 2015 Report Posted January 9, 2015 Rest is lot easier for learning and implementing.... Soap is complex because of protocol and xml marshaling.....in fact people who knows java servlets already covers 50% of rest concepts.... And web services does not have serialization process instead they use Marshall unmarshalling these are realtime services which u can use in ur java code to consume and test...there u'll understand what serialization is and how webservices work in real time...REST is quite complex first understand SOAP
Recommended Posts