cURL / Mailing Lists / curl-users / Single Mail

curl-users

RE: cURL - AXL SOAP Service returns Content is not allowed in prolog.

From: Lunn, Keith <keith_lunn_at_fanniemae.com>
Date: Fri, 7 Aug 2009 12:06:16 -0400

YES!!!!!
Thanks so much! - that was exactly the problem.
K

 
----Original Message-----
From: curl-users-bounces_at_cool.haxx.se
[mailto:curl-users-bounces_at_cool.haxx.se] On Behalf Of Daniel Stenberg
Sent: Friday, August 07, 2009 7:11 AM
To: the curl tool
Subject: Re: cURL - AXL SOAP Service returns Content is not allowed in
prolog.

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.html
-------------------------------------------------------------------
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.html
Received on 2009-08-07