2 Replies Latest reply on Dec 29, 2011 4:40 AM by Emily Brand

    [ERROR] undefined simple or complex type 'soapenc:Array'

    liang wei Newbie

      wsconsume  http://211.151.140.5/circauto/webservice/InsuranceWebService?wsdl -o d: -k

       

      parsing WSDL...


      [WARNING] src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component.
        line 796 of http://211.151.140.5/circauto/webservice/InsuranceWebService?wsdl#types?schema2

       

      [ERROR] undefined attribute 'soapenc:arrayType'
        line 1119 of http://211.151.140.5/circauto/webservice/InsuranceWebService?wsdl

      Failed to invoke WsImport
      java.lang.NullPointerException
              at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBasedBindingSet.java:2
      7)
              at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:518)
              at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:232)
              at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:85)
              at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:120)
              at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2173

              at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:
      73)
              at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:119)
              at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:148)
              at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumerImpl.java:199)
              at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(WSConsume.java:223)
              at org.jboss.wsf.spi.tools.cmd.WSConsume.main(WSConsume.java:81)