Webservice problems, soap problems, response problems-please forgive me! Where is the great god? How can I determine whether the request's GetInfo does not provide a response?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
If all my parameters are correct, how can I determine that webservice does not respond? Didn't I return the data I want?
Reply to discussion (solution)
? Others ?? ??
? Others ?? ??
? Others ?? ??
How can I determine whether the request's GetInfo does not provide a response?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
If all my parameters are correct, how can I determine that webservice does not respond? Didn't I return the data I want?
The difference between not responding and not returning data is that if no response is made, the request is not received, or is the result not returned?
Try {$ soap = new SoapClient ("http ://......? WSDL "); $ param = array (); $ xml = $ soap-> GetInfo ($ param);} catch (Exception $ e) {echo $ e-> getMessage (); // if an error occurs, it will arrive here}
Try {$ soap = new SoapClient ("http ://......? WSDL "); $ param = array (); $ xml = $ soap-> GetInfo ($ param);} catch (Exception $ e) {echo $ e-> getMessage (); // if an error occurs, it will arrive here}
Try {$ soap = new SoapClient ("http ://......? WSDL "); $ param = array (); $ xml = $ soap-> GetInfo ($ param);} catch (Exception $ e) {echo $ e-> getMessage (); // if an error occurs, it will arrive here}
How can I determine whether the request's GetInfo does not provide a response?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
If all my parameters are correct, how can I determine that webservice does not respond? Didn't I return the data I want?
The difference between not responding and not returning data is that if no response is made, the request is not received, or is the result not returned?
How can I determine whether the request's GetInfo does not provide a response?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
If all my parameters are correct, how can I determine that webservice does not respond? Didn't I return the data I want?
The difference between not responding and not returning data is that if no response is made, the request is not received, or is the result not returned?
Try catch to see if there is any problem.
Try {$ soap = new SoapClient ("http ://......? WSDL "); $ param = array (); $ xml = $ soap-> GetInfo ($ param);} catch (Exception $ e) {echo $ e-> getMessage (); // if an error occurs, it will arrive here}
Thank you. that's what I did.
How can I determine whether the request's GetInfo does not provide a response?
$soap = new SoapClient(“http://xxxxxxxxxWSDL”);$xml = $soap->GetInfo($param);
If all my parameters are correct, how can I determine that webservice does not respond? Didn't I return the data I want?
The difference between not responding and not returning data is that if no response is made, the request is not received, or is the result not returned?
The request is sent, no results are returned, or an error is reported on the server.
Try {$ soap = new SoapClient ("http ://......? WSDL "); $ param = array (); $ xml = $ soap-> GetInfo ($ param);} catch (Exception $ e) {echo $ e-> getMessage (); // if an error occurs, it will arrive here}
What is the difference between me and you?