Forum Discussion
tong123123
10 years agoNew Contributor
I just have been given URL endpoint and a parameter list, so it is impossible to create a SOAP xml request, right?
And everytimes we plan to create a request xml, we must know the server web service API is using SOAP or REST?
sorry for my poor web service knowledge.
abhayguna
10 years agoOccasional Contributor
Yes, you are correct. In case of SOAP, we need not to create request xml. It will be created automatically on importing WSDL.
In Case of REST, we may need to create request in XML/JSON format. In REST, Some times, we will provide the request parameters in Url itself and also we need to specify the HTTP Methods like GET, POST, PUT and DELETE etc...
Sample SOAP:
http://www.webservicex.com/CurrencyConvertor.asmx?wsdl
Sample REST:
http://www.thomas-bayer.com/sqlrest/CUSTOMER/2