BlackBerry Forums Support Community               

Closed Thread
 
LinkBack Thread Tools
Old 09-08-2010, 02:02 AM   #1 (permalink)
New Member
 
Join Date: Nov 2009
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default How to send nested data using ksoap2?

Please Login to Remove!

Hi


i wish to send some complex data to a webserivce via ksoap2.

The data which i wish to send consists of 2 classes one nested within the other.
How can i send them? Any help is highly appreciated!

Thanks,
Saket
Offline  
Old 09-08-2010, 02:54 AM   #2 (permalink)
New Member
 
Join Date: Nov 2009
Model: 8800
PIN: N/A
Carrier: Vodafone
Posts: 6
Post Thanks: 0
Thanked 0 Times in 0 Posts
Default

Just to add some more details.....

i have a .net webservice that expects a object parameter "AttachData". The fields of AttachData are as follows:



public class AttachData

{

public string fileName;

public byte[] fileContents;

public OpportunityData oppDataObj;

};



where "OpportunityData" has the following fields:



public class OpportunityData

{

public string opportunityID;

public string customerName;

public DateTime creationDate;

public string currentOppState;

};



Can someone tell me how i can send this data from my BB client code using ksoap2?



Thanks,

Saket
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

B&R Panel PP 45 _ PP45 _ 4PP045.0571-062 Rev.C1 Touch Screen_ + 512 MB MEMORY
$1199.0
B&R Panel PP 45 _ PP45 _ 4PP045.0571-062 Rev.C1 Touch Screen_ + 512 MB MEMORY  pictureColtene HyFlex CM Controlled Memory Niti file
$75.99
Coltene HyFlex CM Controlled Memory Niti file pictureAllen-Bradley 1775-MED B ERROR CORRECTING RAM Memory Card Module 128K
$185.0
Allen-Bradley 1775-MED B ERROR CORRECTING RAM Memory Card Module 128K pictureAllen-Bradley 1756-L55/A-M13 CPU Module SER A F/W 1.2 M13/A 1.5 BYTES MEMORY
$125.0
Allen-Bradley 1756-L55/A-M13 CPU Module SER A F/W 1.2 M13/A 1.5 BYTES MEMORY picturePATRIOTIC, MEMORIAL DAY, 4th of JULY, POSTER, NEW 22"x28",
$4.59
PATRIOTIC, MEMORIAL DAY, 4th of JULY, POSTER, NEW 22






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