I try to call a servise using nusoap. Service originally is written in Java and requires a java object as an input. How should I construct the input to make php accept it? At the moment service doesn't understand following approaches (thinks input is null):
$obj = (object) array('param1_name' => 'value1', 'param2_name' => 'value2', ..);
$obj = (object) array('value1', value2,...);
$obj = (object) array('String_1' => 'value1', 'Long_1' => value2, ...);
I've tried the following approach as well:
http://www.php.net/manual/en/book.soap.php#83409
Thanks in advance