Login   Register  
PHP Classes
elePHPant
Icontem

File: example_weather_proxy_generator.php

Recommend this page to a friend!
Stumble It! Stumble It! Bookmark in del.icio.us Bookmark in del.icio.us
  Classes of Przemek Berezowski  >  SOAP Proxy  >  example_weather_proxy_generator.php  >  Download  
File: example_weather_proxy_generator.php
Role: Example script
Content type: text/plain
Description: Example how to run code generating
Class: SOAP Proxy
Generate code to access SOAP services from an WSDL
Author: By
Last change:
Date: 2011-02-09 14:01
Size: 343 bytes
 

Contents

Class file image Download
<?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();