Where exactly is that specified? I'm using wsimport to go from a WSDL --> Java code.
Ryan
________________________________
From: Daniel Kasmeroglu [mailto:Daniel.Kasmeroglu_at_Kasisoft.net]
Sent: Wed 1/17/2007 5:03 PM
To: users_at_jax-ws.dev.java.net
Subject: Re: wsimport doesn't support rcp style wsdl?
Yes, it is working. There's an annotation you need to use:
@SOAPBinding (style=SOAPBinding.Style.RPC)
Ciao
Kasimir
Ryan LeCompte schrieb:
> 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
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscribe_at_jax-ws.dev.java.net
For additional commands, e-mail: users-help_at_jax-ws.dev.java.net