Hi All,
I am trying to build a client from an existing WSDL and am running into these errors..
I am wondering if this has to do with the fact that the existing wsdl is rpc/encoding....
if so, how do i modify this wsdl (have no access to the actual endpoint) so that the
wsconsume will work?
C:\Documents and Settings\troy.sellers\Desktop\jbossws-native-bin-dist\deploy\bi
n>wsconsume.bat -k customer.wsdl
parsing WSDL...
[WARNING] src-resolve: Cannot resolve the name 'soapenc:Array' to a(n) 'type
def
inition' component.
line 108 of file:/C:/Documents%20and%20Settings/troy.sellers/Desktop/jbossws-n
ative-bin-dist/deploy/bin/customer.wsdl#types?schema2
[ERROR] undefined simple or complex type 'soapenc:Array'
line 108 of file:/C:/Documents%20and%20Settings/troy.sellers/Desktop/jbossws-n
ative-bin-dist/deploy/bin/customer.wsdl
[ERROR] undefined attribute 'soapenc:arrayType'
line 109 of file:/C:/Documents%20and%20Settings/troy.sellers/Desktop/jbossws-n
ative-bin-dist/deploy/bin/customer.wsdl
[ERROR] undefined simple or complex type 'soapenc:Array'
line 115 of file:/C:/Documents%20and%20Settings/troy.sellers/Desktop/jbossws-n
ative-bin-dist/deploy/bin/customer.wsdl
[ERROR] undefined attribute 'soapenc:arrayType'
line 116 of file:/C:/Documents%20and%20Settings/troy.sellers/Desktop/jbossws-n
ative-bin-dist/deploy/bin/customer.wsdl
Failed to invoke WsImport
java.lang.NullPointerException
at com.sun.tools.xjc.reader.internalizer.SCDBasedBindingSet.apply(SCDBas
edBindingSet.java:237)
at com.sun.tools.xjc.ModelLoader.createXSOM(ModelLoader.java:518)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompiler
Impl.java:232)
at com.sun.tools.xjc.api.impl.s2j.SchemaCompilerImpl.bind(SchemaCompiler
Impl.java:85)
at com.sun.tools.ws.processor.modeler.wsdl.JAXBModelBuilder.bind(JAXBMod
elBuilder.java:120)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildJAXBModel(WS
DLModeler.java:2173)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.internalBuildMode
l(WSDLModeler.java:173)
at com.sun.tools.ws.processor.modeler.wsdl.WSDLModeler.buildModel(WSDLMo
deler.java:119)
at com.sun.tools.ws.wscompile.WsimportTool.run(WsimportTool.java:148)
at org.jboss.ws.tools.jaxws.impl.SunRIConsumerImpl.consume(SunRIConsumer
Impl.java:187)
at org.jboss.wsf.spi.tools.cmd.WSConsume.importServices(Unknown Source)
at org.jboss.wsf.spi.tools.cmd.WSConsume.main(Unknown Source)
Hope someone can help with this one?
Cheers,
Troy
View the original post :
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4192920#...
Reply to the post :
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&a...