1 Reply Latest reply on Mar 15, 2007 4:21 PM by Oskar Carlstedt

    wsconsume -- unable to resolve type definition

    tperrigo Newbie

      I'm trying to use wsconsume to generate a client for a (.NET) web service, but I'm getting the following error:


      [exec] warning: src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type definition' component.
      [exec] line ? of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined simple or complex type 'soapenc:Array'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined attribute 'soapenc:arrayType'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined simple or complex type 'soapenc:Array'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined attribute 'soapenc:arrayType'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined simple or complex type 'soapenc:Array'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined attribute 'soapenc:arrayType'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined simple or complex type 'soapenc:Array'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] error: undefined attribute 'soapenc:arrayType'
      [exec] line 0 of http://oma-svr-miler1c/MultiMiler/RandWS_01/MileMaker.asmx?WSDL#types?schema1
      [exec] org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
      [exec] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:213)
      [exec] at org.jboss.com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
      [exec] at org.jboss.com.sun.tools.ws.processor.Processor.runModeler(Processor.java:82)
      [exec] at org.jboss.com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:543)
      [exec] at org.jboss.com.sun.tools.ws.util.ToolBase.run(ToolBase.java:57)
      [exec] at org.jboss.ws.tools.jaxws.impl.WSContractConsumerImpl$1.run(WSContractConsumerImpl.java:163)
      [exec] at org.jboss.ws.tools.jaxws.impl.WSContractConsumerImpl.consume(WSContractConsumerImpl.java:166)
      [exec] at org.jboss.ws.tools.jaxws.command.wsconsume.importServices(wsconsume.java:194)
      [exec] at org.jboss.ws.tools.jaxws.command.wsconsume.main(wsconsume.java:77)
      [exec] Caused by: org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
      [exec] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:128)
      [exec] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2207)
      [exec] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:224)
      [exec] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:181)
      [exec] ... 8 more
      [exec] Caused by: org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
      [exec] at com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:130)
      [exec] at com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:131)
      [exec] at com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java:90)
      [exec] at com.sun.xml.xsom.impl.parser.DelayedRef.run(DelayedRef.java:65)
      [exec] at com.sun.xml.xsom.impl.parser.ParserContext.getResult(ParserContext.java:94)
      [exec] at com.sun.xml.xsom.parser.XSOMParser.getResult(XSOMParser.java:190)
      [exec] at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:487)
      [exec] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:203)
      [exec] at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:67)
      [exec] at org.jboss.com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:126)
      [exec] ... 11 more
      [exec] error: org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'


      I'm really quite clueless as to what this means, or how to resolve it. I'm using JBossWS 1.2.0.SP1 and JBoss 4.2.0.CR1. Any help would be very much appreciated!

      Thanks,
      Tim