[
http://jira.jboss.com/jira/browse/JBWS-1811?page=all ]
Thomas Diesler updated JBWS-1811:
---------------------------------
Summary: Cannot access CLIENT_ADDRESSING_PROPERTIES inside client (was: JAXWS client
implementation failing to read/publish CLIENT_ADDRESSING_PROPERTIES inside client
invocation)
Cannot access CLIENT_ADDRESSING_PROPERTIES inside client
--------------------------------------------------------
Key: JBWS-1811
URL:
http://jira.jboss.com/jira/browse/JBWS-1811
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public(Everyone can see)
Components: jbossws-jaxws
Affects Versions: jbossws-2.1.0
Reporter: Andrew Dinn
Assigned To: Thomas Diesler
Priority: Minor
Fix For: jbossws-2.0.2
According to the WS spec (5.0 Addressing Context) a JAXWS client is supposed to be able
to specify AddressingProperties for a web method invocation by setting the
CLIENT_ADDRESSING_PROPERTIES property of the request context obtained from the port
(BindingProvider). After the invocation the same property on the response context should
be populated with the response AddressingProperties.
The WS code is only detecting WSAddressingProperties if they are installed in the request
context with key CLIENT_ADDRESSING_PROPERTIES_OUTBOUND and is only publishing
WSAddressingProperties in the response context with key
CLIENT_ADDRESSING_PROPERTIES_INBOUND. Although these are the valid keys for use in client
side handlers they are incorrect for use in the client. These values need to be copied
from/to the CLIENT_ADDRESSING_PROPERTIES value when inside the client call before/after
handler processing.
--
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