SOAPEnvelope env = new SOAPEnvelope();
RPCParam retVal = new RPCParam("return", RESPONSE);
RPCParam outParam1 = new RPCParam("out1", OUTPARAM1);
RPCParam outParam2 = new RPCParam("out2", OUTPARAM2);
RPCElement rpc = new RPCElement("namespace", "response", new Object []
{ retVal, outParam1, outParam2 });
env.addBodyElement(rpc);
msgContext.setResponseMessage(new Message(env));