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

Genuine OEM Dell 3200MP Osram Replacement Lamp & Housing 310-2328
$79.99
Genuine OEM Dell 3200MP Osram Replacement Lamp & Housing  310-2328 pictureFactory OEM Dell Power Supply DC Output 160W Model #PS-5161-1D1
$7.0
Factory OEM Dell Power Supply DC Output 160W Model #PS-5161-1D1 pictureGenuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 18115dn NIB
$28.0
Genuine OEM Dell RF223 High Yield Toner Cartridge CN-0RF223 5,000 18115dn NIB picture(J158) Dell 130w PA-4E OEM (DA130PE1-00) Genuine Laptop AC Power Adapter
$25.0
(J158) Dell 130w PA-4E OEM (DA130PE1-00) Genuine Laptop AC Power Adapter pictureOEM Original Philips UHP 210/160W 0.9 Projector Bare Lamp For Dell 1510X/1610HD
$25.0
OEM Original Philips UHP 210/160W 0.9 Projector Bare Lamp For Dell 1510X/1610HD picture






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