Thank you for visiting the BlackBerry Support Community Forums.
BlackBerry will be closing the BlackBerry Support Community Forums Device Forums on April 1st (Developers, see below)
BlackBerry remains committed to providing excellent customer support to our customers. We are delighted to direct you to the CrackBerry Forums, a well-established and thorough support channel, for continued BlackBerry support. Please visit http://forums.crackberry.com or http://crackberry.com/ask. You can also continue to visit BlackBerry Support or the BlackBerry Knowledge Base for official support options available for your BlackBerry Smartphone.
"When we launched CrackBerry.com 10 years ago, we set out to make it a fun and useful destination where BlackBerry Smartphone owners could share their excitement and learn to unleash the full potential of their BlackBerry. A decade later, the CrackBerry community is as active and passionate as ever and I know our knowledgeable members and volunteers will be excited to welcome and assist more BlackBerry owners with their questions."
- Kevin Michaluk, Founder, CrackBerry.com
Developers, for more information about the BlackBerry Developer Community please review Join the Conversation on the BlackBerry Developer Community Forums found on Inside BlackBerry.
11-11-2012 05:43 AM
Hey hi All
I am trying my hands with KSOAP for the first time and after trying for long time i here writing for help,
i need to post this
<?xml version="1.0" encoding="utf-8"?> <soap:Envelope xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"> <soap:Body> <verifyLogin xmlns="http://mobile.expenseanywhere.com/"> <AuthToken> <CorporateId>string</CorporateId>
here i stuck with this <AuthToken> Tag i dont knw how to handle such requests with KSOAP
Please help me in this.
this is My Code
SoapObject rpc = new SoapObject(NameSpace, MethodName);
// SoapObject rpc = new SoapObject("", "AuthToken");
// rpc1.addProperty("", rpc);
SoapSerializationEnvelope envelope = new SoapSerializationEnvelope(SoapEnvelope.VER11);
envelope.bodyOut = rpc;
envelope.dotNet = true;
envelope.encodingStyle = SoapSerializationEnvelope.ENC;
HttpTransport ht = new HttpTransport(URL);
ht.debug = false;
ht.setXmlVersionTag("<?xml version=\"1.0\" encoding=\"utf-8\"?>");
String result = null;
String s = ht.requestDump;
s = ht.responseDump;
result = (envelope.getResponse()).toString();
SoapObject body = (SoapObject)envelope.bodyIn;
result = (String)body.getProperty("verifyLoginResult").toSt
Solved! Go to Solution.
11-12-2012 03:48 AM
11-14-2012 02:55 AM
Hey Hi Simon
Thanks for reply but my problem is i am not able to post data as if
Here this <AuthToken> is troubling me as i shown there in my previous post the full structure that i need to post
Please me help me out in this
11-26-2012 03:26 AM