curl-users
Re: cURL - AXL SOAP Service returns Content is not allowed in prolog.
From: Daniel Stenberg <daniel_at_haxx.se>
Date: Fri, 7 Aug 2009 13:10:46 +0200 (CEST)
Date: Fri, 7 Aug 2009 13:10:46 +0200 (CEST)
On Thu, 6 Aug 2009, Lunn, Keith wrote:
>> D:\Data\Utils\cURL\curl-7.19.5\curl.exe -k -u user1:pass1 -H
> "Content-type: text/xml;" -H "SOAPAction: CUCM:DB ver=6.1" -d
> executeSQLQuery.xml https://10.28.21.66:8443/axl/
Probably wanted to send the contents of that file, and not just the name of
the file? If so, use -d @filename...
And --trace-ascii is really useful when you want to see exactly what curl
sends to and receives from the server.
-- / daniel.haxx.se ------------------------------------------------------------------- List admin: http://cool.haxx.se/cgi-bin/mailman/listinfo/curl-users FAQ: http://curl.haxx.se/docs/faq.html Etiquette: http://curl.haxx.se/mail/etiquette.htmlReceived on 2009-08-07