Simple SOAP Call : Web Services

Basic Soap call example for any web services

try
{
$client=new SoapClient('wsdl url');
$result = $client->Anyfunction($username, $password, $param, $Profile);
}
catch(Exception $e)
{
echo $e;

}

Make Sure your SERVER have enabled SOAP library.

Hope This is helpful :)

Show Buttons
Hide Buttons