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]