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

DMiotech UA2008A Volt Tester Ammeter AC 600A Digital Clamp Meter Multimeter
$25.59
DMiotech UA2008A Volt Tester Ammeter AC 600A Digital Clamp Meter Multimeter pictureUT71A Intelligent Digital Multimeters CD Digital Resistance Tester Ammeter D7M6
$104.38
UT71A Intelligent Digital Multimeters CD Digital Resistance Tester Ammeter D7M6 pictureDC 50A 75mV External DC Current Shunt Measure Resistor For Digital Ammeter S2E3
$3.26
DC 50A 75mV External DC Current Shunt Measure Resistor For Digital Ammeter S2E3 pictureUT58B Ammeter DMM Digital Multimeters DC / AC Voltage Resistance Tester R6R2
$35.72
UT58B Ammeter DMM Digital Multimeters DC / AC Voltage Resistance Tester R6R2 pictureDigital Tester Multimeter True RMS Manual Range AC DC Voltmeter Ammeter V2A7
$20.9
Digital Tester Multimeter True RMS Manual Range AC DC Voltmeter Ammeter V2A7 picture






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