axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Brecht Yperman (JIRA)" <j...@apache.org>
Subject [jira] Created: (AXIS2-2118) Wrong action name using WS-Addressing
Date Tue, 06 Feb 2007 12:57:05 GMT
Wrong action name using WS-Addressing
-------------------------------------

                 Key: AXIS2-2118
                 URL: https://issues.apache.org/jira/browse/AXIS2-2118
             Project: Axis 2.0 (Axis2)
          Issue Type: Bug
          Components: client-api
    Affects Versions: 1.1
            Reporter: Brecht Yperman


I'm trying to communicate to a .NET/WSE2.0 webservice.

I use the ServiceClient with the following constructor:
ServiceClient client = new ServiceClient(ConfigurationContext cc, Definition serviceDefinition,
QName serviceName, String port);

The problem we have now seems to be something with addressing. I already changed the namespace
using the ServiceClient options:
f_client.getOptions().setProperty(AddressingConstants.WS_ADDRESSING_VERS
ION, Submission.WSA_NAMESPACE);

The problem that remains is that the action doesn't seem to be correct.
The wsdl mentions:
<wsdl:binding name="Data_x0020_ExtractSoap"
type="tns:Data_x0020_ExtractSoap">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http"
style="document"/>
	<wsdl:operation name="GetUnsentProductData"> <soap:operation
soapAction="http://www.i-label.net/Partners/WebServices/DataFeed/2005/11
/GetUnsentProductData" style="document"/>
	<wsdl:input>
<soap:body use="literal"/>
</wsdl:input>
	<wsdl:output>
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
</wsdl:binding>

So the action should be
http://www.i-label.net/Partners/WebServices/DataFeed/2005/11/GetUnsentPr
oductData

However the sent SOAP contains the following part:
<wsa:Action
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssec
urity-utility-1.0.xsd"
wsu:Id="Id-25682308">http://www.i-label.net/Partners/WebServices/DataFee
d/2005/11/Data_x0020_ExtractSoap/GetUnsentProductDataRequest</wsa:Action
>

Somehow it seems to insert the name of the Binding in the action.

Is there a way to change this behaviour?


-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.


---------------------------------------------------------------------
To unsubscribe, e-mail: axis-dev-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-dev-help@ws.apache.org


Mime
View raw message