Hello:

A have a task where I inject a message to synapse environment, the
message is a web service call, I need to get the response. Could any
body tell me what to do?

here is the code:

...

MessageContext mc = synapseEnvironment.createMessageContext();
mc.setTo(new EndpointReference(this.do));
mc.setSoapAction(this.soapAction);
synapseEnvoronment.injectMessage(mc);

...


it works, the service is invoked, but I don't know how to get the
result.

thx and best regards.

jlcc



_______________________________________________
Esb-java-user mailing list
[email protected]
https://wso2.org/cgi-bin/mailman/listinfo/esb-java-user

Reply via email to