public void sendCode(int code)
{
Vector d_params = new Vector();
d_params.addElement(
new Parameter("code", int.class, new Integer(code), null));
Call call = new Call();
call.setTargetObjectURI("some uri");
call.setMethodName("sendCode");
call.setEncodingStyleURI(d_encodingStyleURI);
call.setParams(d_params);
// invoke the call.
try
{
call.invoke(s_url, "");
}
catch (SOAPException e)
{
System.err.println("Caught SOAPException ("
+ e.getFaultCode() + "): " + e.getMessage());
}
}