Linux - curl command to call SOAP Web services

13:17 JPCO 0 Comments




curl is a tool open source to transfer data through URL, support several protocols, in this case we will use for HTTP . curl it's a command in linux very simple to invoke soap web services from the console we can execute this command following the next steps,

As you can see the -H parameter is to specify the http-headers(Authorization, content-type,accept ,...) , -d parameter is to specify the the xml content and finally -K is to specify the http method in this case is POST
Curl command in linux Xml content inside of @request.xml
you can find more information in http://curl.haxx.se/

0 comentarios: