| Hi, please find my wsdl below. Also i noticed that the MessageReceiverInOut used in one of the axis2 samples(doclitservice) had some jar files within it's package and was refering to the parse method in that and not to the org.apache.axiom.om.OMElement.Factory.parse(as the one in generated file).I copied that particular jar from the sample and changed the method in my code,then it works.But this is not the right way.pl. let me know how to get the correct files generated from wsdl. wsdl <?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="urn:fibonacci" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="urn:fibonacci" xmlns:intf="urn:fibonacci" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"> <wsdl:types> <schema targetNamespace="urn:fibonacci" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOf_xsd_int"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:int[]"/> </restriction> </complexContent> </complexType> </schema> </wsdl:types> <wsdl:message name="calculateFibonacciRangeResponse"> <wsdl:part name="calculateFibonacciRangeReturn" type="impl:ArrayOf_xsd_int"/> </wsdl:message> <wsdl:message name="calculateFibonacciRequest"> <wsdl:part name="in0" type="xsd:int"/> </wsdl:message> <wsdl:message name="calculateFibonacciRangeRequest"> <wsdl:part name="in0" type="xsd:int"/> <wsdl:part name="in1" type="xsd:int"/> </wsdl:message> <wsdl:message name="calculateFibonacciResponse"> <wsdl:part name="calculateFibonacciReturn" type="xsd:int"/> </wsdl:message> <wsdl:portType name="Fibonacci"> <wsdl:operation name="calculateFibonacci" parameterOrder="in0"> <wsdl:input message="impl:calculateFibonacciRequest" name="calculateFibonacciRequest"/> <wsdl:output message="impl:calculateFibonacciResponse" name="calculateFibonacciResponse"/> </wsdl:operation> <wsdl:operation name="calculateFibonacciRange" parameterOrder="in0 in1"> <wsdl:input message="impl:calculateFibonacciRangeRequest" name="calculateFibonacciRangeRequest"/> <wsdl:output message="impl:calculateFibonacciRangeResponse" name="calculateFibonacciRangeResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="fibonacciSoapBinding" type="impl:Fibonacci"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="calculateFibonacci"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="calculateFibonacciRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:fibonacci" use="encoded"/> </wsdl:input> <wsdl:output name="calculateFibonacciResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:fibonacci" use="encoded"/> </wsdl:output> </wsdl:operation> <wsdl:operation name="calculateFibonacciRange"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="calculateFibonacciRangeRequest"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:fibonacci" use="encoded"/> </wsdl:input> <wsdl:output name="calculateFibonacciRangeResponse"> <wsdlsoap:body encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" namespace="urn:fibonacci" use="encoded"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="FibonacciService"> <wsdl:port binding="impl:fibonacciSoapBinding" name="fibonacci"> <wsdlsoap:address location="http://localhost:8080/axis2/services/fibonacci"/> </wsdl:port> </wsdl:service> </wsdl:definitions> On Jun 14, 2006, at 11:57 PM, Ajith Ranabahu wrote:
|
- Re: [Axis2]wsdl2java error kavithaa Rajavenkateshwaran
- Re: [Axis2]wsdl2java error Anne Thomas Manes
