You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by "Amila Chinthaka Suriarachchi (JIRA)" <ji...@apache.org> on 2007/06/11 21:09:26 UTC

[jira] Commented: (AXIS2-2118) Wrong action name using WS-Addressing

    [ https://issues.apache.org/jira/browse/AXIS2-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel#action_12503564 ] 

Amila Chinthaka Suriarachchi commented on AXIS2-2118:
-----------------------------------------------------

can you please attach the wsdl and the options you used to generate the code if you
generating the code.



> 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
>            Assignee: Amila Chinthaka Suriarachchi
>
> 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