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 <[EMAIL PROTECTED]> Para: [email protected] 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 [EMAIL PROTECTED] --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED] ______________________________________________ Enviado desde Correo Yahoo! Disfruta de una bandeja de entrada más inteligente. http://es.docs.yahoo.com/mail/overview/index.html
