You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Andreas Bobek <an...@uni-rostock.de> on 2006/04/03 15:52:19 UTC

[Axis2-0.95] SOAPAction header vs. wsa:Action

Hi,

I always have difficulties to understand the different binding possibilities
of wsa:Action header, wsa:Action inside a WSDL and/to SOAPAction header...

Inside my test client I set wsa:Action through client options. The envelope
is serialized correctly (there is a corresponding wsa:Action header) and the
message is sent via HTTP/SOAP1.2. No SOAPAction header is set. I found it
out at service side by debugging
HTTPTransportUtils.processHTTPPostRequest(). Further the wsa:Action property
is set to the SOAPActionHeader value in the same method:

msgContext.setWSAAction(soapActionHeader);
msgContext.setSoapAction(soapActionHeader);

To get the WSAAction value I have to browse the envelope element manually.
Had not the problem in the last release 0.94.

Regards, Andreas Bobek.