cURL / Mailing Lists / curl-library / Single Mail

curl-library

Re: Can cURL only POST for SOAP?

From: Kevin Carothers <kevindotcar_at_gmail.com>
Date: Wed, 7 Jun 2006 12:55:23 -0700

On 6/7/06, Christopher Bland <themanatuf_at_juno.com> wrote:
>
> The code is very simple, I just grabbed it from the web.
> [---]

Hi-

I've had some experience with command-line curl and XML/SOAP-

I have to send a lot of data to SalesForce.com-
they support both XML-RPC and SOAP interaces.

The big thing I noticed was that SOAP messages (to salesforce.com) require
some unique HTTP headers- Yes, CURL can send custom HTTP hdrs, but it gets
a little weird in the way it interacts with other options (Sorry Daniel-
just my HO :-).

You might want to look at whatever interface specs you have for your SOAP
server and verify that not just the SOAP data is correct, but that the
entire HTTP message is correct.

Hope this helps,
KC
Received on 2006-06-07