<?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);
|