Hi,
I am trying to use Sandesha but I invoke using the axis call object with the
parameter of type Message. Since I directly get the XML, I create a Message
object and set the XML. But I see from the samples provided that the call
object is modified with the operation and parameters after the call object is
set with the SandeshaContext. Since I am not calling any methods on the call
object, the Sandesha details are missing from my SOAP Envelope.
Is there a way to work with Sandesha when I directly set the Message? Sample
code is given below
ctx = new SandeshaContext(org.apache.sandesha.Constants.SYNCHRONOUS);
ctx.initCall(m_clientCall, m_clientCall.getTargetEndpointAddress(), "urn:wsrm:"
+ m_clientCall.getOperationName().getLocalPart(),
org.apache.sandesha.Constants.ClientProperties.IN_OUT);
ctx.setLastMessage(m_clientCall);
///invoke
Message responseMessage = invoke(requestMessage);
//endsequence
RMReport report = ctx.endSequence();
Regards,
Rajiv K Nistala
________________________________________________________________
Sent via the WebMail system at mailserver.fiorano.com
Fiorano Software Inc.,