in reply to Expecting data from SOAP::Data

For the general case a quick and easy solution to find what you are getting as the parameters to the SOAP server method is by adding use Data::Dumper; to your module and then change the method to be:

sub function1 { return Dumper(@_); }
If you you have added +trace =>'all' to the use SOAP::Lite in the client then you will see exactly what it is that the method is getting.

/J\