users@jax-ws.java.net

RE: wsimport doesn't support rcp style wsdl?

From: Ryan LeCompte <Ryan.LeCompte_at_pango.com>
Date: Wed, 17 Jan 2007 14:45:25 -0500

Also, there is a stack trace at the end of the errors:
 
Exception in thread "main" java.lang.NullPointerException
        at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBasedBindingSet.java:20
1)
        at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:502)
        at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:211)
        at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompilerImpl.java:69)
        at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBModelBuilder.java:123)
        at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WSDLModeler.java:2148)
        at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildModel(WSDLModeler.java:1
78)
        at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLModeler.java:128)
        at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:150)
        at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
        at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
        at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
        at java.lang.reflect.Method.invoke(Method.java:585)
        at com.sun.tools.ws.Invoker.WsimportMain(Invoker.java:78)
        at com.sun.tools.ws.WsImport.main(WsImport.java:38)
 
Ryan
 

________________________________

From: Ryan LeCompte
Sent: Wed 1/17/2007 2:43 PM
To: users_at_jax-ws.dev.java.net
Subject: wsimport doesn't support rcp style wsdl?


Does wsimport work with rcp/literal WSDL files?
 
I'm getting errors from a WSDL that used to work with wscompile on JWSDP 1.6. The errors are similar to the following:
 
[WARNING] src-resolve: Cannot resolve the name 'SOAP-ENC:Array' to a(n) 'type definition' component.
  line 9 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl#types?schema1
[ERROR] undefined simple or complex type 'SOAP-ENC:Array'
  line 9 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl
[ERROR] undefined attribute 'SOAP-ENC:arrayType'
  line 10 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl
[ERROR] undefined simple or complex type 'SOAP-ENC:Array'
  line 29 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl
[ERROR] undefined attribute 'SOAP-ENC:arrayType'
  line 30 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl
[ERROR] undefined simple or complex type 'SOAP-ENC:Array'
  line 42 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl
[ERROR] undefined attribute 'SOAP-ENC:arrayType'
  line 43 of file:/C:/jaxws-ri/jaxws-ri/bin/Example.wsdl
 
Any ideas?
 
Thanks,
Ryan