[
http://jira.jboss.com/jira/browse/JBWS-1979?page=all ]
Martin Rostan updated JBWS-1979:
--------------------------------
Attachment: patch_JBWS-1979.txt
Attached is the patch with the modification to DispatchImpl
Maybe the same modification should be made on the invokeInternalNonSOAP method, but
I'm not sure
Endpoint address prop doesn't work with Dispatch
------------------------------------------------
Key: JBWS-1979
URL:
http://jira.jboss.com/jira/browse/JBWS-1979
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-native
Affects Versions: jbossws-native-2.0.3
Reporter: Alessio Soldano
Attachments: patch_JBWS-1979.txt
Martin Rostan says:
Hi, I'm using JBossWS 2.0.3 to run this simple code:
Code:
JAXBContext ctx = JAXBContext.newInstance(Discover.class, DiscoverResponse.class);
Dispatch<Object> dispatch = service.createDispatch(portQName, ctx,
Service.Mode.PAYLOAD);
dispatch.getRequestContext().put(BindingProvider.ENDPOINT_ADDRESS_PROPERTY, url)
but the runtime address is ignored, and JBossWS uses the address specified in the wsdl.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira