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 "Vaughan, Steve" <St...@sra.com> on 2006/05/10 00:22:46 UTC

Responding with a different transport

I would expect that using the WS-Addressing module of Axis2 I would be
able to make a service request and use the "wsa:ReplyTo" to route the
response through a different transport:

*	Web service request with an e-mail response
*	E-mail request with a JMS response
*	Etc.

 

Looking at the code for each of the transport receivers, it looks as if
an implicit assumption is made that the response transport matches the
request transport.  As an example, AxisServlet.java (which handles HTTP
requests) includes the following code:

 

        TransportOutDescription transportOut =

                configContext.getAxisConfiguration().getTransportOut(

                        new QName(Constants.TRANSPORT_HTTP));

 

I don't see anything in the WS-Addressing module which replaces this
transportOut within the message context.  Is this functionality
unsupported?

 

- Steve