bir girdi olarak NuSOAP (php) + java nesne

0 Cevap java

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, ...);

Ben de şu yaklaşımı denedim:

http://www.php.net/manual/en/book.soap.php#83409

0 Cevap