With NB 5.5 Dev Build 20060926
+ create New Web Application
+ Right click on "Web Pages" , choose New> Add WebService from WSDL
+ Choose the attached GoogleSearch.wsdl and click finish (with other inputs like
packagename,..)
Get this:
init:
wsimport-init:
Created dir: C:\Documents and
Settings\Lucy\WebApplication14\build\generated\wsimport\service
Created dir: C:\Documents and
Settings\Lucy\WebApplication14\build\web\WEB-INF\classes
wsimport-service-check-WS:
wsimport-service-WS:
command line: wsimport -d "C:\Documents and
Settings\Lucy\WebApplication14\build\web\WEB-INF\classes" -extension -keep -s
"C:\Documents and
Settings\Lucy\WebApplication14\build\generated\wsimport\service" -catalog
"C:\Documents and Settings\Lucy\WebApplication14\catalog.xml" -verbose
"C:\Documents and
Settings\Lucy\WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl"
warning: src-resolve.4.2: Error resolving component 'soapenc:Array'. It was
detected that 'soapenc:Array' is in namespace
'http://schemas.xmlsoap.org/soap/encoding/', but components from this namespace
are not referenceable from schema document
'file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1'.
If this is the incorrect namespace, perhaps the prefix of 'soapenc:Array' needs
to be changed. If this is the correct namespace, then an appropriate 'import'
tag should be added to
'file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1'.
line ? of
file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1
error: undefined simple or complex type 'soapenc:Array'
line 0 of
file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1
error: undefined attribute 'soapenc:arrayType'
line 0 of
file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1
error: undefined simple or complex type 'soapenc:Array'
line 0 of
file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1
error: undefined attribute 'soapenc:arrayType'
line 0 of
file:/C:/Documents%20and%20Settings/Lucy/WebApplication14/src/conf/xml-resources/web-services/WS/wsdl/GoogleSearch.wsdl#types?schema1
org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
at
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:212)
at com.sun.tools.ws.processor.config.ModelInfo.buildModel(ModelInfo.java:87)
at com.sun.tools.ws.processor.Processor.runModeler(Processor.java:81)
at com.sun.tools.ws.wscompile.CompileTool.run(CompileTool.java:543)
at com.sun.tools.ws.util.ToolBase.run(ToolBase.java:56)
at com.sun.tools.ws.ant.WsImport.execute(WsImport.java:419)
at org.apache.tools.ant.UnknownElement.execute(UnknownElement.java:275)
at org.apache.tools.ant.Task.perform(Task.java:364)
at org.apache.tools.ant.Target.execute(Target.java:341)
at org.apache.tools.ant.Target.performTasks(Target.java:369)
at org.apache.tools.ant.Project.executeSortedTargets(Project.java:1216)
at org.apache.tools.ant.Project.executeTarget(Project.java:1185)
at
org.apache.tools.ant.helper.DefaultExecutor.executeTargets(DefaultExecutor.java:40)
at org.apache.tools.ant.Project.executeTargets(Project.java:1068)
at
org.apache.tools.ant.module.bridge.impl.BridgeImpl.run(BridgeImpl.java:240)
at
org.apache.tools.ant.module.run.TargetExecutor.run(TargetExecutor.java:293)
at org.netbeans.core.execution.RunClassThread.run(RunClassThread.java:131)
Caused by: org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
at
com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:128)
at
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2206)
at
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:223)
at
com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:180)
... 16 more
Caused by: org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
at
com.sun.xml.xsom.impl.parser.ParserContext$1.reportError(ParserContext.java:130)
at
com.sun.xml.xsom.impl.parser.NGCCRuntimeEx.reportError(NGCCRuntimeEx.java:117)
at com.sun.xml.xsom.impl.parser.DelayedRef.resolve(DelayedRef.java:90)
at com.sun.xml.xsom.impl.parser.DelayedRef.run(DelayedRef.java:65)
at
com.sun.xml.xsom.impl.parser.ParserContext.getResult(ParserContext.java:94)
at com.sun.xml.xsom.parser.XSOMParser.getResult(XSOMParser.java:190)
at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:487)
at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:203)
at
com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:67)
at
com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:126)
... 19 more
error: org.xml.sax.SAXParseException: undefined attribute 'soapenc:arrayType'
BUILD SUCCESSFUL (total time: 1 second)