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

Glas-Col i2R Over- Temperature Probe Controller ~ Type K Thermocouple ~ OTP-1800
$200.0
Glas-Col i2R Over- Temperature Probe Controller ~ Type K Thermocouple ~ OTP-1800 picture149281 New-No Box, Watlow 5701 TC-J Transmitter for J Thermocouples
$34.83
149281 New-No Box, Watlow 5701 TC-J Transmitter for J Thermocouples pictureHigh Temperature -100~1250 Degree Thermocouple K type 50mm Probe Sensors
$2.69
High Temperature -100~1250 Degree Thermocouple K type 50mm Probe Sensors picturePID Digital REX-C100 Smart Temperature Controller with max40A SSR K Thermocouple
$9.36
PID Digital REX-C100 Smart Temperature Controller with max40A SSR K Thermocouple picturePT100 Thermocouple Temperature Control Sensor Probe 1.5M cable 10cm
$6.0
PT100 Thermocouple Temperature Control Sensor Probe 1.5M cable 10cm picture






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