WS-RX: Anonymous client that offers a sequenceId should not be rejected (sequenceId should
be disregarded instead)
------------------------------------------------------------------------------------------------------------------
Key: JBWS-2430
URL:
https://jira.jboss.org/jira/browse/JBWS-2430
Project: JBoss Web Services
Issue Type: Bug
Security Level: Public (Everyone can see)
Components: ws-reliable
Affects Versions: jbossws-native-3.0.4
Environment: JBoss 4.2.2.GA; WS-RX 2007/08
Reporter: Jean-Christophe Durand
Hi,
I had a big fight when I tried to get JBossWS work with WSF/PHP (using WS-RX). Everything
was working fine when using the Java client but for no evident reason, it was failing when
I used WSF as client.
After hours and hours of investigation, I figured out that it was at conversation
initiation that the process was failing. The reason is that the client is registering
under the "http://www.w3.org/2005/08/addressing/anonymous" address and is
proposing a sequence Id under the CreateSequence node:
<wsrm:CreateSequence>
<wsrm:AcksTo>
<wsa:Address
xmlns:wsa='http://www.w3.org/2005/08/addressing'>http://www.w3...
</wsrm:AcksTo>
<wsrm:Offer>
<wsrm:Identifier
xmlns:wsrm='http://docs.oasis-open.org/ws-rx/wsrm/200702'>5754...
<wsrm:Endpoint
xmlns:wsrm='http://docs.oasis-open.org/ws-rx/wsrm/200702'/>
</wsrm:Offer>
</wsrm:CreateSequence>
From what I read in Oasis specification, a server should not accept
the proposed identifier of an anonymous client but I do not see that it MUST reject any
client that provides such a combination.
What I would suggest is that rather than
rejecting the conversation, the server should only disregard the Offer/Identifier value
and behave as if no sequence id had been provided.
I tried to find out where to do this in JBossWS with no luck.
--
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