You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Munir Badir <mb...@mercury.com> on 2006/06/29 14:04:43 UTC

ReplyTo is not working

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 
______________________________________________________________________

Re: ReplyTo is not working

Posted by Eran Chinthaka <ch...@opensource.lk>.
Munir Badir wrote:

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

I'm still confused in understanding the question. If you can explain a
bit with your code, it will be helpful in answering this question.


Thanks,
Chinthaka