[Resolved] SOAP sample?

Hello, new to C-SDK. I have spent quite some time looking for a SOAP sample code. Can somebody please provide a full sample client to call a SOAP service in Corona?

Thanks,
Tony [import]uid: 161448 topic_id: 29020 reply_id: 329020[/import]

Ok, got it working.

I just needed to add the custom header…

local header = {}

header[“Content-Type”] = “text/xml”

local params = {}
params.headers = header
params.body = xmltosend

network.request( “http://10.10.99.158/oii/TESTservice.asmx”, “POST”, networkListener, params)

xmltosend is a soap request that was saved to file and loaded in prior to making the call. Use soapUI (or similar tool) to help you generate the request.

Now some xml stuff to make it pretty.

Great stuff! Thanks Corona! [import]uid: 161448 topic_id: 29020 reply_id: 116812[/import]

Glad to hear you got this working, thanks so much for updating! [import]uid: 52491 topic_id: 29020 reply_id: 116854[/import]