Hello list, I have a problem with Axis2 Web Service. I call my web service deployed correctly on Axis2 web application, and I call it from a .NET client generated from wsdl.exe Visual Studio tool. The response that I receive from Axis2 is:
<soapenv:Reason xmlns:soapenv="http://www.w3.org/2003/05/soap-envelope"><soapenv:Text xml:lang="en-US">org.apache.axis2.databinding.ADBException: Unexpected subelement processor</soapenv:Text></soapenv:Reason> processor is a item of CreateLicenceRequest message defined in WSDL file as follow--> <?xml version="1.0" encoding="UTF-8" standalone="no"?> <wsdl:definitions xmlns:http="http://schemas.xmlsoap.org/wsdl/http/" xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" xmlns:tns="http://www.grupmicros.com/LicenceManager/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" name="LicenceManager" targetNamespace="http://www.grupmicros.com/LicenceManager/"> <wsdl:message name="CreateLicenceRequest"> <wsdl:part name="mac" type="xsd:string"/> <wsdl:part name="processor" type="xsd:string"/> <wsdl:part name="wind_id" type="xsd:string"/> <wsdl:part name="client" type="xsd:string"/> </wsdl:message> <wsdl:message name="CreateLicenceResponse"> <wsdl:part name="licence" type="xsd:base64Binary"/> </wsdl:message> <wsdl:portType name="LicenceManagerPortType"> <wsdl:operation name="CreateLicence"> <wsdl:input message="tns:CreateLicenceRequest"/> <wsdl:output message="tns:CreateLicenceResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="LicenceManagerHTTPBinding" type="tns:LicenceManagerPortType"> <http:binding verb="POST"/> <wsdl:operation name="CreateLicence"> <http:operation location="/CreateLicence"/> <wsdl:input> <mime:content type="application/x-www-form-urlencoded"/> </wsdl:input> <wsdl:output> <mime:content type="text/xml"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="LicenceManager"> <wsdl:documentation>Web Service for managing GmSoft software licences</wsdl:documentation> <wsdl:port binding="tns:LicenceManagerHTTPBinding" name="LicenceManagerHTTP"> <http:address location="http://www.example.org/"/> </wsdl:port> </wsdl:service> </wsdl:definitions> I call it from .NET client as follow: LicenceManager manager = new LicenceManager(); System.Xml.XmlElement element = manager.CreateLicence("mac", "processor", "finestra", "client"); Thanks for all in advanced. I will appreciate a lot your help. -- View this message in context: http://www.nabble.com/Unexpected-subelement-tp17979173p17979173.html Sent from the Axis - User mailing list archive at Nabble.com. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
