users@jax-ws.java.net

Re: wsimport doesn't support rcp style wsdl?

From: Vivek Pandey <Vivek.Pandey_at_Sun.COM>
Date: Wed, 17 Jan 2007 12:02:18 -0800

Yes it does support rpc/literal style but not rpc/encoded. From the
stack trace it looks like you have SOAP-ENC:Array thats a soap encoded
data type.

So check your wsdl if you have included the schema that defines this type.

-vivek.

Ryan LeCompte wrote:
> 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