The attached wsdl causes the following error when run through wscompile.
As far as I can see, all namespace prefixes are properly declared. Any
suggestions?
modeler error: undeclared namespace prefix: ""
at
com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:276)
at
com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
at
com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
CAUSE:
undeclared namespace prefix: ""
at
com.sun.xml.rpc.wsdl.framework.ParserContext.translateQualifiedName(ParserContext.java:101)
at
com.sun.xml.rpc.wsdl.parser.WSDLParser.parsePort(WSDLParser.java:1143)
at
com.sun.xml.rpc.wsdl.parser.WSDLParser.parseService(WSDLParser.java:1114)
at
com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:459)
at
com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:380)
at
com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitionsNoImport(WSDLParser.java:335)
at
com.sun.xml.rpc.wsdl.parser.WSDLParser.parseDefinitions(WSDLParser.java:225)
at com.sun.xml.rpc.wsdl.parser.WSDLParser.parse(WSDLParser.java:214)
at
com.sun.xml.rpc.processor.modeler.wsdl.WSDLModelerBase.buildModel(WSDLModelerBase.java:200)
at
com.sun.xml.rpc.processor.config.ModelInfo.buildModel(ModelInfo.java:88)
at com.sun.xml.rpc.processor.Processor.runModeler(Processor.java:63)
at
com.sun.xml.rpc.tools.wscompile.CompileTool.run(CompileTool.java:714)
at com.sun.xml.rpc.util.ToolBase.run(ToolBase.java:43)
at com.sun.xml.rpc.tools.wscompile.Main.main(Main.java:22)
error: modeler error: undeclared namespace prefix: ""
--
Brian Leonard
NetBeans Evangelist
408.404.6884 x68134 (Internal)
<http://www.netbeans.org/community/articles/javaone/2005/nb-day.html>