axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Srinath Perera (JIRA)" <j...@apache.org>
Subject [jira] Resolved: (AXIS2-2118) Wrong action name using WS-Addressing
Date Wed, 13 Jun 2007 16:07:26 GMT

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

Srinath Perera resolved AXIS2-2118.
-----------------------------------

    Resolution: Fixed

This was not a Code gen bug. problem was soap action was set as incoming action at client
side instead of outgoing action. I Placed a check set values differently for client and server
and that seem to fix it.

> 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
>            Priority: Blocker
>         Attachments: extractdata.wsdl
>
>
> 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