I need to modify the invocation parameter (a String) with which a service is
invoked. I'm doing the necessary modifications succesfully in a handler. How
can I set the modifications I made back in the request SOAP Message? I'm
doing the following...

Message inMsg = msgContext.getRequestMessage();
Vector BodyElements = inMsg.getSOAPEnvelope().getBodyElements();
org.w3c.dom.Element element = ((SOAPBodyElement)
BodyElements.elementAt(0)).getAsDOM();
String incomingXML = unmarshallText(nodelist.item(1));

// perform the logic

// Here is where I need to set the values to the inMsg object.

msgContext.setRequestMessage(inMsg);

Thanks,

Jose M Selman

Reply via email to