Hi,
I'm using WSS4J 1.1.0 plus Axis 1.2.1 to invoke a .Net Web Service. Security on the server side is implemented by Microsoft's Web Services Enhancements package (WSE 2.0 SP3), using the declarative model.
WSS4J generates addressing elements (like MessageID, To, Action, etc.) from namespace "http://schemas.xmlsoap.org/ws/2004/08/addressing", but WSE2 expects it to belong to namespace "
http://schemas.xmlsoap.org/ws/2004/03/addressing" (notice the subtle difference in the month portion).
I've been searching the Web for a way to solve this, but so far I haven't discovered how. What puzzles me is that I see many WSS4J SOAP samples with the "...2004/03..." namespace.
Below is an excerpt of my client-config.wsdd file, where I explicitly use the "...2004/03..." during handler configuration, but without any effect:
<handler type="java:org.apache.axis.message.addressing.handler.AddressingHandler">
<parameter name="referencePropertyNames"
value="{Element}{ http://schemas.xmlsoap.org/ws/2004/03/addressing}MessageID;{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyTo;{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}To"
/>
</handler>
<parameter name="referencePropertyNames"
value="{Element}{ http://schemas.xmlsoap.org/ws/2004/03/addressing}MessageID;{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}ReplyTo;{Element}{http://schemas.xmlsoap.org/ws/2004/03/addressing}To"
/>
</handler>
Thanks in advance,
Nuno Guerreiro
