BlackBerry Forums Support Community               

Closed Thread
LinkBack Thread Tools
Old 05-17-2011, 01:22 AM   #1 (permalink)
New Member
Join Date: May 2011
Model: 7100T
Carrier: airtel
Posts: 4
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default nested tag using soapObject Problem

Please Login to Remove!

we wanted nested tag like following


for that i used following code

SoapObject rpc = new SoapObject(serviceNamespace, methodName);
SoapObject rr= new SoapObject(serviceNamespace, null);
rr.addProperty("Username", "sample1234");
rr.addProperty("Password", "sample1234");

i am getting following xml when i use above code.
<rIdentity type="xsd:">
<username type="xsd:string">hhsgg</username>
<password type="xsd:string">password</password>

i think "rpc.addProperty("rIdentity",rr); " statement is adding the type info there. i am getting server cannot able to read the xml. because undefined type in rIdentity tag.

Can any one help how to resolve this.
what i want is just a soap object which contains valid nested tag.

Thanks And Regards,

Lokesh Kumar S.
Old 05-17-2011, 10:21 AM   #2 (permalink)
CrackBerry Addict
stevetaz's Avatar
Join Date: Mar 2008
Model: S III
Carrier: sprint
Posts: 842
Post Thanks: 30
Thanked 64 Times in 61 Posts
Default Re: nested tag using soapObject Problem

You might want to post in the Developer's Forum....
"Criticism is something you can avoid easily by saying nothing, doing nothing, and being nothing"
Closed Thread

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads for: nested tag using soapObject Problem
Thread Thread Starter Forum Replies Last Post
Microsoft Tag Reader JLSchutt General 8300 Series Discussion - Curve 2 06-06-2010 07:34 PM
Problem with 7105T baseline General Legacy Device Discussion 2 09-22-2006 08:48 AM
nXTL problem on 7520 CyBeRcR0W General BlackBerry Discussion 1 08-18-2006 09:23 PM
BES problem or Exchange 2000 problem? Smits General BlackBerry Discussion 5 08-12-2006 12:21 PM
Problem - Messages Delivered to BBs in Delayed Batches patkinson BlackBerry Network 5 08-16-2005 11:15 AM

Copyright © 2004-2014
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.