Invoking SOAP request from shell command

后端 未结 2 1802
难免孤独
难免孤独 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:46

    You need to provide the name of the SOAP action. You have:

    -H "SOAPAction:"
    

    Supply the name of the action in there. E.g.

    -H "SOAPAction: http://my_example/my_action"
    

    Get the name of the action from the WSDL if you have one. E.g., see How do you determine a valid SoapAction?.

提交回复
热议问题