dev@jax-ws.java.net

Disabling Action validation on the receiving side

From: Arun Gupta <Arun.Gupta_at_Sun.COM>
Date: Mon, 23 Oct 2006 14:26:23 -0700

In JAX-WS 2.1 RI, WsaServerTube matches the Action received in the
Message with that expected on the operation invoked. The operation is
identified using the payload QName. If the two Actions do not match,
then ActionNotSupportedException is thrown which is then mapped to [1]
and returned to the client.

For an Action-based dispatch to work, exactly same payload may be sent
with different Actions. If the RI continue validating received Action
with that expected, then only one Action will be valid Action-based
dispatch will not work.

To fix this, I propose that we remove Action validation from the RI.
This is an optional fault anyway.

Does anybody see a compatibility issue with this ?

[1] http://www.w3.org/TR/2006/REC-ws-addr-soap-20060509/#actionfault

Thanks,
-Arun
-- 
Web Technologies and Standards
Sun Microsystems, Inc.
Blog: http://blogs.sun.com/arungupta