On 7 Aug 2007, at 14:24, Ruwan Linton wrote:
Hi Nick,
First of all sorry for the delay.
I have done a fix to the SynapseEnviorenment.createMessageContext()
and
tested the code that you have provided in this thread, it should
work now,
but I had to change the EPR since it again points to localhost:8080
which is
again synapse (may be you could create a proxy inside synapse and
put that
EPR to test, that is what I have done)
- I have tried, but I am not sure if I understand.
I have a defined main sequence for synapse and a proxy (named
"injectProxy").
creating the new message context works and then I do the following:
newCtx.setTo(new EndpointReference("http://localhost:8080/soap/
injectProxy"));
newCtx.setWSAAction("urn:inject:test");
synEnv.injectMessage(newCtx);
but whatever I use for the EPR the main sequence of synapse is used
for the new message context.
I get the following output in the log:
[HttpServerWorker-1] DEBUG Axis2SynapseEnvironment - Creating Message
Context
[HttpServerWorker-1] DEBUG Axis2SynapseEnvironment - Injecting
MessageContext
[HttpServerWorker-1] DEBUG Axis2SynapseEnvironment - Using Main
Sequence for injected message
...
...
[HttpServerWorker-1] DEBUG LogMediator - Log mediator :: mediate()
[HttpServerWorker-1] INFO LogMediator - To: http://localhost:8080/
soap/injectProxy, WSAction: urn:inject:test
...
Nick
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]