You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@ws.apache.org by Johann Dumser <jd...@techmetrix.net> on 2000/12/20 21:45:12 UTC

SOAP - Java - params.addElement

Is it the right construction if I want to send two inputs in my Java SOAP
Client message?

It's from the Sample of (SOAP::Lite) BabelFish with Java Implementation with
a little change

// Create the parameter vector with Highway number(s) string

Vector params = new Vector ();

params.addElement (new Parameter("translationmode", String.class,
translationmode, null));

params.addElement (new Parameter("sourcedata", String.class, sourcedata,
null));

call.setParams (params);

Thanks, johann.


----------------------------------------------
Johann DUMSER
Consultant
Techmetrix Research US