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 JavaAxisguy <kj...@hotmail.no> on 2011/12/07 15:35:24 UTC

Axis 1.4.2, Different endpoint than wsa:TO

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-unsubscribe@axis.apache.org
For additional commands, e-mail: java-user-help@axis.apache.org