BlackBerry Forums Support Community

BlackBerry Forums Support Community (http://www.blackberryforums.com/)
-   Developer Forum (http://www.blackberryforums.com/developer-forum/)
-   -   How to send nested data using ksoap2? (http://www.blackberryforums.com/developer-forum/235513-how-send-nested-data-using-ksoap2.html)

Sakberry 09-08-2010 02:02 AM

How to send nested data using ksoap2?
 
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

Sakberry 09-08-2010 02:54 AM

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


All times are GMT -5. The time now is 11:17 AM.

Powered by vBulletin® Version 3.6.12
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.