[jira] Updated: (AXIS2-2118) Wrong action name using WS-Addressing
[ https://issues.apache.org/jira/browse/AXIS2-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Brecht Yperman updated AXIS2-2118: -- Attachment: extractdata.wsdl This is the wsdl, I didn't generate any code myself, I used the ServiceClient directly. 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-25682308http://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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
[jira] Updated: (AXIS2-2118) Wrong action name using WS-Addressing
[ https://issues.apache.org/jira/browse/AXIS2-2118?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Davanum Srinivas updated AXIS2-2118: Assignee: Amila Chinthaka Suriarachchi 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 Assigned To: 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-25682308http://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: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]