You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by Adrián Cuartero <ad...@yahoo.es> on 2008/04/01 11:39:12 UTC

Re: how to generate a simple skeleton with wsdl2java

Thank you Mauro, with your help and this tutorial i've solved the problem

http://pzf.fremantle.org/2007/05/handlign.html



----- Mensaje original ----
De: Mauro Molinari <ma...@cardinis.com>
Para: axis-user@ws.apache.org
Enviado: lunes, 31 de marzo, 2008 14:06:17
Asunto: Re: how to generate a simple skeleton with wsdl2java

Adrián Cuartero ha scritto:
> Hi all
> 
> I developed a service throw java2wsdl whose interface was like this
> 
>   public int[] getDeviceIdentifier(String model)throws MyException{
> 
> Due to the problem between custom exceptions and java2wsdl i had to 
> re-write the wsdl file and use wsdl2java to write the service and now 
> the interface is like this.
> 
>     public GetDeviceIdentifierResponse getDeviceIdentifier(
>             GetDeviceIdentifier getDeviceIdentifier)
>             throws MyException{
> 
> I prefer the other interface because is easiest to view the params and 
> to make the documentation but i don't know what can i do to use the old 
> one instead of the last one with this pojos.
> 
> Thanks for the help.
> 
> Adrián

Hi Adrián,
try to specify the "unwrap parameters" option to WSDL2Java. Given your 
WSDL (at which I had a quick look), it should translate to public int[] 
getDeviceIdentifier(String).

Cheers.

-- 
Mauro Molinari
Software Developer
mauro.molinari@cardinis.com

---------------------------------------------------------------------
To unsubscribe, e-mail: axis-user-unsubscribe@ws.apache.org
For additional commands, e-mail: axis-user-help@ws.apache.org







      ______________________________________________ 
Enviado desde Correo Yahoo!
Disfruta de una bandeja de entrada más inteligente. http://es.docs.yahoo.com/mail/overview/index.html