BlackBerry Forums Support Community               

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

Please Login to Remove!

hi,
we wanted nested tag like following

<CreateAccount>
<rIdentity>
<username>hhsgg</username>
<password>password</password>
<rIdentity>
</CreateAccount>

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");
rpc.addProperty("rIdentity",rr);

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

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.
Offline  
Old 05-17-2011, 09:21 AM   #2 (permalink)
CrackBerry Addict
 
stevetaz's Avatar
 
Join Date: Mar 2008
Model: S III
PIN: N/A
Carrier: sprint
Posts: 843
Post Thanks: 29
Thanked 66 Times in 62 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"
-Aristotle
Offline  
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 06:34 PM
Problem with 7105T baseline General Legacy Device Discussion 2 09-22-2006 07:48 AM
nXTL problem on 7520 CyBeRcR0W General BlackBerry Discussion 1 08-18-2006 08:23 PM
BES problem or Exchange 2000 problem? Smits General BlackBerry Discussion 5 08-12-2006 11:21 AM
Problem - Messages Delivered to BBs in Delayed Batches patkinson BlackBerry Network 5 08-16-2005 10:15 AM

HSS 15PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$197.0
HSS 15PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureHSS 21PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR,BIKES, JEEP
$229.0
HSS 21PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR,BIKES, JEEP pictureHSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$165.0
HSS 12PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP pictureVERY RARE Vintage Microfilm Reels of Scientific American Jul 1917 to Dec 1970
$30.0
VERY RARE Vintage Microfilm Reels of Scientific American Jul 1917 to Dec 1970 pictureHSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP
$153.0
HSS 10PCS VALVE SEAT & FACE CUTTER 45DEC 30DEC 20DEC FOR VINTAGE CAR, BIKES,JEEP picture






Copyright © 2004-2016 BlackBerryForums.com.
The names RIM © and BlackBerry © are registered Trademarks of BlackBerry Inc.