dcsimg
How to create "nested parameters"?
0 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   stefan_gimeson
Posted On:   Wednesday, December 11, 2002 05:28 AM

sorry if this is too easy, just started with soap 2 hours ago... I need to create something like this: someid someotherId somedesc So, using org.apache.soap: Call call = new Call(); Vector params = new Vector(); Parameter sessionIDParam = new Parameter("sessionId",java.lang.String.class, sessionId, null); params.addElement(sessionIDParam); ... call.setParams(params); But, how do I create the "Event" param with the 2 nested elements "eventId" and "desc"   More>>

sorry if this is too easy, just started with soap 2 hours ago...


I need to create something like this:







someid



someotherId

somedesc









So, using org.apache.soap:


Call call = new Call();

Vector params = new Vector();

Parameter sessionIDParam = new Parameter("sessionId",java.lang.String.class, sessionId, null);

params.addElement(sessionIDParam);



...


call.setParams(params);

But, how do I create the "Event" param with the 2 nested elements "eventId" and "desc"?
I have not found any info on this, and the apache-doc is very weak. Thanx.

   <<Less
About | Sitemap | Contact