Sonoa
Using cURL for SOAP
How to issue a SOAP request (to Sonoa’s ServiceNet) using cURL from the command line:
shell command:
|
|
where getCustomerDetails.xml is a file in the current directory.
getCustomerDetails.xml:
|
|
shell output:
|
|
How to issue a SOAP request (to Sonoa’s ServiceNet) using cURL from the command line:
shell command:
|
|
where getCustomerDetails.xml is a file in the current directory.
getCustomerDetails.xml:
|
|
shell output:
|
|
Fatiha
Tuesday November 17, 2009 at 8:03am
Thanks, it helps me a lot.
Fatiha
Jason Judge
Friday February 26, 2010 at 12:41pm
Thank you - that is a very handy technique.
I am using it to fetch jobs from a job site every hour in a simple shell script. PHP then reads and parses the XML. Doing this stage in the shell script is just a lot easier than in the PHP as it more easily copes with timeouts and does not have memory restrictions if the file happens to be very large.
soapUI is a great free tool for generating the SOAP action file from a WSDL very easily.
-- Jason
I am checking out Sonoa System’s ServiceNet product.
read more