[
https://jira.jboss.org/jira/browse/JBWS-2106?page=com.atlassian.jira.plug...
]
Andrew Dinn commented on JBWS-2106:
-----------------------------------
I have bypassed this problem by creating an abstraction layer in the XTS code which hides
all uses of the AddressingProperties class and its close relatives. Alternative
implementations for Native and CXF are included (it comprises only 5 classes in all).
See:
http://anonsvn.jboss.org/repos/labs/labs/jbosstm/trunk/XTS/WS-C/dev/src11...
and
http://anonsvn.jboss.org/repos/labs/labs/jbosstm/trunk/XTS/WS-C/dev/src11...
A consequence of adopting this abstraction layer is that the XTS code is now dual
source/binary. This complicates the build, deploy and test processes. It would be easier
if this compatibility library was deployed by JBossWS. This would also provide a starting
point for other JBossWS clients who wish to have a portable API for WSA.
Perhaps you could look at the code and
i) see if it could be extended with any missing capabilities or revised and cleaned up
ii) advise on the feasibility of transferring it from TS to WS.
I have not yet commented the API of MAP and its related classes so the way it works may
not be entirely clear. Amongst the trickier details the following are especially
noteworthy.
I dealt with the RelatesTo problem by limiting the API to only allow one relationship to
be managed.
There is some trickery required when attempting to install the outbound
AddressingProperties for a port derived from a W3CEndpointReference. In Native the
AddressingProperties are pre-installed by the getPort call with To defined and with the
ReferenceProperty elements stashed as a property of the AddressingContext. In CXF you get
a port which has no AddressingProperties object on the request context. The
To/ReferenceProperty values seem to have been stashed away somewhere else so they still
get used. So, when you add other WSA properties the routine which fetches the outbound
map creates an AddressingProperties object on the fly at first access.
javax.xml.ws.addressing package not available in JBossWS-CXF
-------------------------------------------------------------
Key: JBWS-2106
URL:
https://jira.jboss.org/jira/browse/JBWS-2106
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jbossws-cxf
Affects Versions: jbossws-cxf-3.0.1
Reporter: Andrew Dinn
Assignee: Alessio Soldano
The AddressingProperties and related API classes in the javax.xml.ws.addressing package
are not available in JBossWS-CXF. These are needed for the Web Services Transactions 1.1
implementation to operate over the CXF stack.
--
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators:
https://jira.jboss.org/jira/secure/Administrators.jspa
-
For more information on JIRA, see:
http://www.atlassian.com/software/jira