How PHP calls WSDL
PHP how to invoke WSDL, what kind of class, who can give a detailed code? Thank you
------Solution--------------------
Depends on your needs.
------Solution--------------------
$WSDL = "HTTP://192.168.1.2/JAXWS/SERVICES/TEST?WSDL";
$client = new SoapClient ($WSDL);
$param = Array (' arg0 ' = ' arg0 ', ' arg1 ' = ' arg1 ');
$ret = $client->getuserinfobyid ($param);
if ($ret->return) {print_r ($ret->return);}
else{echo ' no user ';}
The specific soapclient needs the SOAP support of PHP, see the Phpinfo with soap in the words can be,
------Solution--------------------
WSDL is the interface specification for the user
As long as you call the method and the parameters are correct, there is no WSDL is the same
------Solution--------------------
References: That's
what I call it, but it's still an error.
What's wrong with the report?