Dev people,
    would it be possible to get WSDL2Java to generate toString() functions 
for user defined types in a web service: E.g:

public class UserDefinedType {
    public int IntValue;
    public String StringValue;
}

Would it be possible to get WSDL2Java to generate a toString() function for 
this type?

E.g:

/**
* return StringValue
*/
public String toString() {
    return StringValue;
}

I'm not sure of the best way of getting WSDL2Java to do this. Perhaps a new 
option -toString UserDefinedType,StringValue.

Perhaps this is just a bad idea generally or the is a better/easier way to 
achieve this.

I'd be interested on your thoughts on the matter.

Regards,

TS

_________________________________________________________________
Send and receive Hotmail on your mobile device: http://mobile.msn.com

Reply via email to