HI,

I am using jdk1.6.0_11, axis2-1.4.1.i am new to webservices. i want to
create the java code from the wsdl. i am using
"https://webservices.netsuite.com/wsdl/v2008_1_0/netsuite.wsdl";. when i run
usimg the below command,
wsdl2java -uri https://webservices.netsuite.com/wsdl/v2008_1_0/netsuite.wsdl 
it is showing the following error.
please tell me if where i was going wrong.
and how to reslove this???.
Exception in thread "main" java.lang.NoSuchMethodError:
javax.wsdl.Operation.getExtensionAttributes()Ljava/util/Map;
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateOperations(WSDL11ToAxisServiceBuilder.java:1295)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populatePortType(WSDL11ToAxisServiceBuilder.java:592)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateEndpoints(WSDL11ToAxisServiceBuilder.java:469)
        at
org.apache.axis2.description.WSDL11ToAxisServiceBuilder.populateService(WSDL11ToAxisServiceBuilder.java:363)
        at
org.apache.axis2.description.WSDL11ToAllAxisServicesBuilder.populateAllServices(WSDL11ToAllAxisServicesBuilder.java:107)
        at
org.apache.axis2.wsdl.codegen.CodeGenerationEngine.<init>(CodeGenerationEngine.java:147)
        at org.apache.axis2.wsdl.WSDL2Code.main(WSDL2Code.java:35)
        at org.apache.axis2.wsdl.WSDL2Java.main(WSDL2Java.java:24)

With Regards
-- 
View this message in context: 
http://www.nabble.com/generating-java-code-from-an-existing-wsdl-file-tp21070498p21070498.html
Sent from the Axis - User mailing list archive at Nabble.com.

Reply via email to