hello! i have a function in my C# code that returns a string array.
and when i test my function in WCF Test Client i get
Name Value Type
(return) length=4 System.String[]
[0] "DE" System.String
[1] "DK" System.String
[2] "NO" System.String
[3] "SE" System.String
code if i do var_dump on the function
object(stdClass)[2]
public 'LandsKodComboBoxResult' =>
object(stdClass)[3]
public 'string' =>
array (size=4)
0 => string 'DE' (length=2)
1 => string 'DK' (length=2)
2 => string 'NO' (length=2)
3 => string 'SE' (length=2)
My code so far
<?php
$client = new SoapClient("http://localhost:8731/phpwcf/?wsdl");
var_dump($client->MyFunction());
$array = $client->MyFunction();
echo $array[2]
?>
*
so how do i create a php string = this return array?
thank you
Dendei.