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

Reply via email to