×
Namespaces

Variants
Actions

How to use http to send soap request

From Nokia Developer Wiki
Jump to: navigation, search
Article Metadata
Article
Created: qiangsir (25 Nov 2007)
Last edited: hamishwillee (30 May 2013)

In Symbian 3rd Edition and later SDKs, a full framework for web services is provided, allowing simplified access to SOAP services.http://www.developer.nokia.com/Develop/

You can use http to send SOAP request and use your XML parser to SOAP messages.

_LIT8(KSoapAction, "SoapAction");
_LIT8(KSoapActionParam, "http://soaptest.org/method");
 
RStringF action = iSession.StringPool().OpenFStringL(KSoapAction);
CleanupClosePushL(action);
 
RStringF param = iSession.StringPool().OpenFStringL(KSoapActionParam);
CleanupClosePushL(param);
 
RHTTPHeaders headers = iTransaction.Request().GetHeaderCollection();
 
THTTPHdrVal stringVal(param);
headers.SetFieldL(action, stringVal);

See Also

This page was last modified on 30 May 2013, at 07:38.
44 page views in the last 30 days.

Was this page helpful?

Your feedback about this content is important. Let us know what you think.

 

Thank you!

We appreciate your feedback.

×