Reputation: 9405
I have a SOAP webservice that is currently POST method, however I saw on my logs that when client is consuming my service there are two calls being made, 1 is to GET the wsdl file then POST to the webservice? Should it be POST call only?
Upvotes: 2
Views: 1116
Reputation: 521997
You can think of the WSDL file as a sort of blueprint for a SOAP service. Given the WSDL, your client application can figure how to use the SOAP service. So I see nothing wrong with your client app first doing a GET
to download the WSDL, following by a POST
to actually consume the SOAP service.
Upvotes: 1