Hi,
I have a jaxws Provider configured to do WS-Addressing and the defaults seem to 
work fine.  However, if I try to override some of the WS-Addressing headers in 
the MessageContext, it gets ignored.  I've tried the following :

AddressingProperties wsaServer = new AddressingPropertiesImpl();
AttributedURIType aut = new AttributedURIType();
aut.setValue("urn:get:some");
wsaServer.setAction(aut);
messageContext.put(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND, 
wsaServer);

But the Action header sent in the response is the default from the WSDL, not my 
override value.  Am I doing something wrong or this never worked?  I've tried 
doing:
messageContext.get(JAXWSAConstants.SERVER_ADDRESSING_PROPERTIES_OUTBOUND)

But that returns null, so I've been using the put instead.  I tried overriding 
the messageId as well, but that didn't work either.

Thanks,
Jesse

Reply via email to