The client running in Glassfish is httpsoap binding component, which seems to be dispatch based.
wsdl snippet:
[...]
<wsdl:portType name="OBS">
[...]
<wsdl:operation name="enableFeature" >
<wsdl:input message="intf:enableFeatureRequest" name="enableFeatureRequest" />
<wsdl:output message="intf:enableFeatureResponse" name="enableFeatureResponse" />
<wsdl:fault message="intf:ServiceException" name="ServiceException"/>
</wsdl:operation>
[...]
</wsdl:portType>
<wsdl:binding name="OBSSoapBinding" type="intf:OBS">
[...]
<wsdl:operation name="enableFeature" >
<wsdlsoap:operation soapAction="enableFeature" />
<wsdl:input name="enableFeatureRequest" >
<wsdlsoap:body use="literal"/>
</wsdl:input>
<wsdl:output name="enableFeatureResponse">
<wsdlsoap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="ServiceException">
<wsdlsoap:fault name="ServiceException" use="literal"/>
</wsdl:fault>
</wsdl:operation>
[...]
</wsdl:binding>
<wsdl:service name="OBSService">
<wsdl:port binding="intf:OBSSoapBinding" name="OBS">
<wsdlsoap:address location="
http://localhost:1347/OBSWeb/services/OBS"/>
<wsp:PolicyReference URI="#HttpBasicAuthBinding"/>
</wsdl:port>
</wsdl:service>
[...]
I'm not setting SOAPAction in the request context, but httpsoap binding component might do that. And com.sun.xml.ws.addressing.WsaTubeHelper would then just copy it. I'm checking that possibility right now.
Thanks
[Message sent by forum member 'vzhilyaev' (vzhilyaev)]
http://forums.java.net/jive/thread.jspa?messageID=320263