myEchoServiceClient
"myEchoService"
,"myEchoServiceResponse" => "myEchoServiceResponse"
);
// create client in WSDL mode
$client = new WSClient(array (
"wsdl" =>"/path/to/myEchoService_v1_0.wsdl",
"to" => "https://rklh.wuhu.net/axis/services/myEchoService",
"CACert" => "/path/to/ca.cert",
"classmap" => $class_map)
);
// get proxy object reference form client
$proxy = $client->getProxy();
// create input object and set values
$input = new myEchoService();
//TODO: fill in the class fields of $input to match your business logic
$input->strMessage = $myInput;
// call the operation
$response = $proxy->myEchoService($input);
//TODO: Implement business logic to consume $response, which is of type myEchoServiceResponse
echo "", $myInput, " -> ", $response->result, "
";
} else {
echo "no Input
";
}
?>