PHP Classes

File: WsdlToPhpStruct.php

Recommend this page to a friend!
  Classes of WsdlToPhp   WSDL To PHP   WsdlToPhpStruct.php  
File: WsdlToPhpStruct.php
Role: Class source
Content type: text/plain
Description: Class source
Class: WSDL To PHP
Generate classes to send SOAP requests from a WSDL
Author: By
Last change: [UPDATE] PSR-2 standards for generator files and generated files
[UPDATE] enhancements and refactoring

Closes https://github.com/mikaelcom/WsdlToPhp/issues/25.

Simplification of the instantiation of Service objects in the
generated sample file by removing the SoapClient options parameter. By
default, the cache_wsdl is disabled, the wsdl_url is set with the WSDL
url used to generate the package and trace is set with true. The
VALUE_WSDL_URL constant has been added to the generated WsdlClass
defined with the WSDL url used to generate the package.

Remove trailing ?> in generator files/classes.

Add WsdlToPhpGenerator::getWsdl($_index) method to get any WSDL at any
position.

Enhance generated sample file with explanation about the optional
parameter allowing to override the SoapClient Options. Remove the $wsdl
parareter previously used to instantiate each Service object.

Avoid Struct object to reset SoapClient when it is instantiated when
calling the parent constructor.
[UPDATE] several updates based on Github updated files
[UPDATE] code review and enhancements

Override WsdlToPhpModel::getOwner() method in inherited classes when it makes sense so the caller knows the exact return type

Enhanced attribute type definition by avoiding that the attribute type is the type of the class it belongs to
[UPDATE] global php doc harmonisation and minor improvement
Date: 9 years ago
Size: 25,225 bytes

You need to be a registered user and login to get this file.

Login Immediately with your account on: