[prev in list] [next in list] [prev in thread] [next in thread] 

List:       axis-user
Subject:    Axis 1.4.2, Different endpoint than wsa:TO
From:       JavaAxisguy <kjartantrulsen () hotmail ! no>
Date:       2011-12-07 14:35:24
Message-ID: 32929338.post () talk ! nabble ! com
[Download RAW message or body]


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


[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic