Hi,

I’m trying to test the ReplyTo option in the WS addressing.

I tried to make the echo method result be sent to the ping method of the Myservice service.

For doing it I took the EchoNonBlockingDualClient example in AXIS2 \samples\userguide and set the replyTo option by adding the following:

 

options.setReplyTo(new EndpointReference("http://localhost:8080/axis2/services/MyService"));

 

And I changed the echo method in MyService to return Ping OMElement

 

public OMElement echo(OMElement element) throws XMLStreamException {

        OMElement o = getPingOMElement();

        return o;

    }

 

As a result I expected that the echo method would call the ping method, but it didn’t. Can anyone help?

 

Thanks,

Munir


______________________________________________________________________
This email has been scanned by the MessageLabs Email Security System.
For more information please visit http://www.messagelabs.com/email
______________________________________________________________________

Reply via email to