Hi,
I have a web service client which i need to do specify a different
targetEndpoint that the SOAP wsa:TO header.
When i instantiate the serviceStub it uses the EndpointReference that i give
it and sets the header  ( wsa:TO ) like this:

  _serviceClient.getOptions().setTo(new
org.apache.axis2.addressing.EndpointReference(targetEndpoint));

When i run the service it uses the this header field as the destination.
What I want to do is keep the wsa:To header as it is but specify a different
targetEndpoint.  What is the best way of doing this....


-- 
View this message in context: 
http://old.nabble.com/Axis-1.4.2%2C-Different-endpoint-than-wsa%3ATO-tp32929338p32929338.html
Sent from the Axis - User mailing list archive at Nabble.com.


---------------------------------------------------------------------
To unsubscribe, e-mail: java-user-unsubscr...@axis.apache.org
For additional commands, e-mail: java-user-h...@axis.apache.org

Reply via email to