Location: PHPKode > scripts > SOAP Proxy > example_weather_proxy_call.php
<?php
include('src_config.php');

require('SoapProxy.php');
require('output/WeatherService.php');

//create service instance 
$service = new WeatherService($wsdl, $opts);

//create and setup parameter for call
$param = new WeatherParam_GetWeather();
$param->City = 'New York';

//run ws method
$result = $service->GetWeather($param);

var_dump($result);
Return current item: SOAP Proxy