Invoking SOAP request from shell command

后端 未结 2 1794
难免孤独
难免孤独 2021-02-08 10:28

I using curl to send a SOAP request to a web service and get the response using shell scripting. please find below the command i am using:-

curl  -H \"Content-Ty         


        
2条回答
  •  梦如初夏
    2021-02-08 10:39

    From the WSDL of the service, you can find the SoapAction. And you can find the operation you're trying to invoke and access the WSDL by opening a web browser to the URL of the service. Using the curl to invoke the SoapAction, you should specify the Action by "-H", such as -H SOAPAction: http://tempuri.org/Execute.

提交回复
热议问题