How to define wsdl for returning associative arrays of PHP?

in my case the array is as shown below:

$r = array ( array("TO"=> array( "[email protected]", "[email protected]"),
array("CC" = >array("[email protected]", "[email protected]"),
"[email protected]",
"Subject",
"Date",
"Contents of the message"),
array("TO"=> array( "[email protected]", "[email protected]"),
array("CC" = >array("[email protected]", "[email protected]"),
"[email protected]",
"Subject",
"Date",
"Contents of the message"));


in the above example only two array elements are shown but actually it may contain more than two elements.

i will verify the wsdl file by using the java wsimport tool.
 
Back
Top