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

require('SoapProxy.php');
require('SoapProxyGenerator.php');

$proxyGenerator = new SoapProxyGenerator($wsdl, $opts);
$proxyGenerator->serviceAlias = 'WeatherService';
$proxyGenerator->typePrefix = 'WeatherParam_';
$proxyGenerator->outputFile = 'output/WeatherService.php';

$proxyGenerator->generateCode();
Return current item: SOAP Proxy