curl-users
Need to send and receive xml data using curl
Date: Wed, 10 Jun 2015 15:55:25 -0600
I use SoapUI to verify my responses below are the sample details. I am
planning to automate the processes in linux. How can I achieve it using
curl? or wget? I would like to receive the result in a file.
Raw SoapUI request:
POST
http://soa-internal.xxxxxx.yyyyyy.com:30160/B2BGateway/execute/XMLSelect
HTTP/1.1
Accept-Encoding: gzip,deflate
Content-Type: text/xml;charset=UTF-8
SOAPAction: "https://webservices.xxxxxx.com/SubmitXml"
Authorization: Basic R1dTL0FQT1RFU1RJTkdVU0VSOkFwMHRlc3Rpbmc=
Content-Length: 7082
Host: xxxxxx.yyyyyy.com:30160
Connection: Keep-Alive
User-Agent: Apache-HttpClient/4.1.1 (java 1.5)
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:web="http://webservices.galileo.com">
<soapenv:Header/>
<soapenv:Body>
<web:SubmitXml>
X
X
X
X
X
X
X
</web:SubmitXml>
</soapenv:Body>
</soapenv:Envelope>
Really Appreciate your response.
-- with regards, Sourin Maiti
-------------------------------------------------------------------
List admin: http://cool.haxx.se/list/listinfo/curl-users
FAQ: http://curl.haxx.se/docs/faq.html
Etiquette: http://curl.haxx.se/mail/etiquette.html
Received on 2015-06-10