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 14:09:35 -0800

This is only RPC/Literal, not RPC/Encoding.

-vivek.

Daniel Kasmeroglu wrote:
> 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
>