Answer the question
In order to leave comments, you need to log in
How to make a wsdl request in php?
here is the result for var_dump($client->__getFunctions());
array(2) {
[0]=> string(53) "GetPinInfoResponse GetPinInfo(GetPinInfo $parameters)"
[1]=> string(71) "GetPinsInfoArrayResponse GetPinsInfoArray(GetPinsInfoArray $parameters)"
}
array(10) {
[0]=> string(59) "struct PinInfo {
string Code;
string Name;
string Pin;
}"
[1]=> string(43) "struct ArrayOfPinInfo {
PinInfo PinInfo;
}"
[2]=> string(40) "struct ArrayOfstring {
string string;
}"
[3]=> string(34) "struct GetPinInfo {
string pin;
}"
[4]=> string(56) "struct GetPinInfoResponse {
PinInfo GetPinInfoResult;
}"
[5]=> string(48) "struct GetPinsInfoArray {
ArrayOfstring pins;
}"
[6]=> string(75) "struct GetPinsInfoArrayResponse {
ArrayOfPinInfo GetPinsInfoArrayResult;
}"
[7]=> string(8) "int char"
[8]=> string(17) "duration duration"
[9]=> string(11) "string guid"
}
ini_set('soap.wsdl_cache_enabled', '0');
ini_set('soap.wsdl_cache_ttl', '0');
try {
$client = new SoapClient("http://10.10.10.142:8009/PinInfoService?wsdl", array('trace' => true));
// var_dump($client->__getFunctions());
// var_dump($client->__getTypes());
$params = '****************';
$request = $client->GetPinInfo($params);
$itog = $request->GetPinInfoResponse;
}
catch (SoapFault $exception)
{
echo $exception->getMessage();
}
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question