3 Replies Latest reply: Jul 22, 2013 3:22 AM by 889586 RSS

    IWAB0399E Error in generating Java from WSDL:  java.lang.RuntimeException:

    616615
      Hi,

      I did try to create web service client using eclipse. Imported wsdl to eclipse project and tried to create java client but I am getting following exception :

      IWAB0399E Error in generating Java from WSDL: java.lang.RuntimeException: Unknown element _value
      java.lang.RuntimeException: Unknown element _value
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.getBinaryTypeEncoderName(JavaBeanWriter.java:490)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeSimpleTypeGetter(JavaBeanWriter.java:928)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeAccessMethods(JavaBeanWriter.java:1102)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.writeFileBody(JavaBeanWriter.java:238)
      at org.apache.axis.wsdl.toJava.JavaWriter.generate(JavaWriter.java:127)
      at org.apache.axis.wsdl.toJava.JavaBeanWriter.generate(JavaBeanWriter.java:1405)
      at org.apache.axis.wsdl.toJava.JavaTypeWriter.generate(JavaTypeWriter.java:113)
      at org.apache.axis.wsdl.toJava.JavaGeneratorFactory$Writers.generate(JavaGeneratorFactory.java:421)
      at org.apache.axis.wsdl.gen.Parser.generateTypes(Parser.java:547)
      at org.apache.axis.wsdl.gen.Parser.generate(Parser.java:432)
      at org.apache.axis.wsdl.gen.Parser.access$000(Parser.java:45)
      at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:362)
      at java.lang.Thread.run(Unknown Source)

      This works just fine in SoapUI. Also can access this from other clients.

      You can access the wsdl fine from http://unit7165.oracleads.com:9008/opptyMgmtOpportunities/OpportunityService?wsdl

      Does anybody know why this does not work in Eclipse?

      Thanks.