Jsyed
15 years agoOccasional Contributor
SOAP Client
Hello,
I am trying to create SOAP client so that i can use Yahoo mail API. Can you please advice how can i create that using SOAP UI. Please see the attached example on yahoo API website. Please reply ASAP.
// Construct the URL encoded URL to send requests
$location = "http://mail.yahooapis.com/ws/mail/v1.1/soap?appid=
" . urlencode($appid) . "&WSSID=" . urlencode($wssid);
// Construct the SOAP client
$client = new SoapClient("http://mail.yahooapis.com/ws/mail/v1.1/wsdl",
array("location" => $location));
// Remove the leading "Y=" from the cookie string
$credential = split("=", $cookie);
// Set the "Y" cookie in the SOAP client
$client->__setCookie("Y", $credential[1]);
Thanks
Junaid
I am trying to create SOAP client so that i can use Yahoo mail API. Can you please advice how can i create that using SOAP UI. Please see the attached example on yahoo API website. Please reply ASAP.
// Construct the URL encoded URL to send requests
$location = "http://mail.yahooapis.com/ws/mail/v1.1/soap?appid=
" . urlencode($appid) . "&WSSID=" . urlencode($wssid);
// Construct the SOAP client
$client = new SoapClient("http://mail.yahooapis.com/ws/mail/v1.1/wsdl",
array("location" => $location));
// Remove the leading "Y=" from the cookie string
$credential = split("=", $cookie);
// Set the "Y" cookie in the SOAP client
$client->__setCookie("Y", $credential[1]);
Thanks
Junaid