Hello, I am getting following error while I try to generate java classes from old (Axis 1.4) wsdl.
log4j:WARN No appenders could be found for logger (org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder). log4j:WARN Please initialize the log4j system properly. java.lang.NoSuchMethodError: javax.xml.namespace.QName.<init>(Ljava/lang/String;Ljava/lang/String;Ljava/lang/String;)V at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.createSchemaForPorttype(WSDL11ToAxisServiceBuilder.java:1586) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.generateWrapperSchema(WSDL11ToAxisServiceBuilder.java:1431) at org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:255) at org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:109) at org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:141) at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35) at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24) at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method) at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39) at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25) at java.lang.reflect.Method.invoke(Method.java:324) at com.intellij.rt.execution.application.AppMain.main(AppMain.java:90) Exception in thread "main" Please find attached wsdl for which I am trying to generate java classes. Chinmoy
<?xml version="1.0" encoding="UTF-8"?> <wsdl:definitions targetNamespace="http://localhost:8080/services/listFunctions" xmlns="http://schemas.xmlsoap.org/wsdl/" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://localhost:8080/services/listFunctions" xmlns:intf="http://localhost:8080/services/listFunctions" 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 created by Apache Axis version: 1.4 Built on Apr 22, 2006 (06:55:48 PDT)--> <wsdl:types> <schema targetNamespace="http://localhost:8080/services/listFunctions" xmlns="http://www.w3.org/2001/XMLSchema"> <import namespace="http://schemas.xmlsoap.org/soap/encoding/"/> <complexType name="ArrayOf_xsd_anyType"> <complexContent> <restriction base="soapenc:Array"> <attribute ref="soapenc:arrayType" wsdl:arrayType="xsd:anyType[]"/> </restriction> </complexContent> </complexType> </schema> </wsdl:types> <wsdl:message name="listFunctionsRequest"> <wsdl:part name="authToken" type="soapenc:string"/> <wsdl:part name="reload" type="xsd:boolean"/> </wsdl:message> <wsdl:message name="AuthenticationException"> <wsdl:part name="fault" type="xsd:anyType"/> </wsdl:message> <wsdl:message name="listFunctionsResponse"> <wsdl:part name="listFunctionsReturn" type="impl:ArrayOf_xsd_anyType"/> </wsdl:message> <wsdl:portType name="ListFunctionsService"> <wsdl:operation name="listFunctions" parameterOrder="authToken reload"> <wsdl:input message="impl:listFunctionsRequest" name="listFunctionsRequest"/> <wsdl:output message="impl:listFunctionsResponse" name="listFunctionsResponse"/> </wsdl:operation> </wsdl:portType> <wsdl:binding name="listFunctionsSoapBinding" type="impl:ListFunctionsService"> <wsdlsoap:binding style="rpc" transport="http://schemas.xmlsoap.org/soap/http"/> <wsdl:operation name="listFunctions"> <wsdlsoap:operation soapAction=""/> <wsdl:input name="listFunctionsRequest"> </wsdl:input> <wsdl:output name="listFunctionsResponse"> <wsdlsoap:body namespace="http://localhost:8080/services/listFunctions"/> </wsdl:output> </wsdl:operation> </wsdl:binding> <wsdl:service name="ListFunctionsServiceService"> <wsdl:port binding="impl:listFunctionsSoapBinding" name="listFunctions"> <wsdlsoap:address location="http://localhost:8080/services/listFunctions"/> </wsdl:port> </wsdl:service> </wsdl:definitions>
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
