[
http://jira.jboss.com/jira/browse/JBWS-2102?page=comments#action_12410524 ]
Andrew Dinn commented on JBWS-2102:
-----------------------------------
My requirement is to be able both to set headers in the client and detect them in the
SEI.
Specifically, I need to be able to associate pairs of asynchronous (OneWay) messages by
setting the MessageId in the outgoing message and using it to populate the RelatesTo list
in the response message. The SEI which handles the outgoing message retrieves the
MessageId and passes it to a local client. This client subsequently sends either a
response or an error to an SEI on the original client side. This passes the result and the
RelatesTo list back to the original client, allowing the relationship between the two
messages to be established. I cannot pass these values in the message body because the
WSTX specs require them to be passed using WSA headers.
I also need to specify ReplyTo and FaultTo in the outgoing message so that I can correctly
route the returning message/error as appropriate. The ReplyTo in the response message is
required by the spec to be set to address None.
So, to implement this using SOAP handlers I will need an addressing properties datatype
located on the MessageContext in order to communicate the values to the client handler and
to propagate the values form the service handler to the SEI. The handlers will have to
read thsi value and populate WSA soap headers on the client side and read/remove them on
the server side installing them into the addressing properties. In other words I'll
need to fork exactly what you already have in JBossW and make it part of the JBossTS
code.
javax.xml.ws.addressing package not available in JBossWS-Metro
--------------------------------------------------------------
Key: JBWS-2102
URL:
http://jira.jboss.com/jira/browse/JBWS-2102
Project: JBoss Web Services
Issue Type: Feature Request
Security Level: Public(Everyone can see)
Components: jbossws-integration
Affects Versions: jbossws-metro-3.0.1
Reporter: Andrew Dinn
Assigned To: Thomas Diesler
Original Estimate: 4 hours
Remaining Estimate: 4 hours
The AddressingProperties and related API classes in the javax.xml.ws.addressing package
are not available in JBossWS-Metro. These are needed for the Web Services Transactions 1.1
implementation to operate over the Metro stack.
--
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