SOAP--Client
[ class tree: SOAP--Client ] [ index: SOAP--Client ] [ all elements ]

Class: SOAP_WSDL

Source Location: /SOAP-0.8.1/WSDL.php

Class Overview

PEAR
   |
   --SOAP_Base_Object
      |
      --SOAP_Base
         |
         --SOAP_WSDL

SOAP_WSDL this class parses wsdl files, and can be used by SOAP::Client to properly register soap values for services


Author(s):

Version:

  • $Id: WSDL.php,v 1.51.2.4 2004/08/22 20:39:31 arnaud Exp $

Variables

Methods


Inherited Variables

Inherited Methods


Class Details

[line 47]
SOAP_WSDL this class parses wsdl files, and can be used by SOAP::Client to properly register soap values for services

originaly based on SOAPx4 by Dietrich Ayala http://dietrich.ganx4.com/soapx4

TODO: add wsdl caching refactor namespace handling ($namespace/$ns) implement IDL type syntax declaration so we can generate WSDL

  • Author: Shane Caraveo <shane@php.net> Conversion to PEAR and updates
  • Author: Dietrich Ayala <dietrich@ganx4.com> Original Author
  • Version: $Id: WSDL.php,v 1.51.2.4 2004/08/22 20:39:31 arnaud Exp $
  • Access: public


[ Top ]


Class Variables

$bindings = array()

[line 58]


Type:   mixed


[ Top ]

$cacheMaxAge =  null

[line 85]

Cache max lifetime (in seconds)

Type:   int


[ Top ]

$cacheUse =  null

[line 78]

Use WSDL cache

Type:   boolean


[ Top ]

$complexTypes = array()

[line 54]


Type:   mixed


[ Top ]

$definition = array()

[line 50]


Type:   mixed


[ Top ]

$elements = array()

[line 55]


Type:   mixed


[ Top ]

$imports = array()

[line 59]


Type:   mixed


[ Top ]

$messages = array()

[line 56]


Type:   mixed


[ Top ]

$namespaces = array()

[line 51]


Type:   mixed


[ Top ]

$ns = array()

[line 52]


Type:   mixed


[ Top ]

$portTypes = array()

[line 57]


Type:   mixed


[ Top ]

$proxy =  null

[line 69]

Proxy parameters

Type:   array


[ Top ]

$service =  ''

[line 61]


Type:   mixed


[ Top ]

$services = array()

[line 60]


Type:   mixed


[ Top ]

$tns =  null

[line 49]


Type:   mixed


[ Top ]

$trace =  0

[line 71]


Type:   mixed


[ Top ]

$uri =  ''

[line 62]


Type:   mixed


[ Top ]

$xsd =  SOAP_XML_SCHEMA_VERSION

[line 53]


Type:   mixed


[ Top ]



Method Detail

SOAP_WSDL (Constructor)   [line 96]

SOAP_WSDL SOAP_WSDL( [string $wsdl_uri = false], [array $proxy = array()], [boolean $cacheUse = WSDL_CACHE_USE], [int $cacheMaxAge = WSDL_CACHE_MAX_AGE])

SOAP_WSDL constructor
  • Access: public

Parameters:

string   $wsdl_uri   —  endpoint_uri (URL to WSDL file)
array   $proxy   —  contains options for HTTP_Request class (see HTTP/Request.php)
boolean   $cacheUse   —  use WSDL caching
int   $cacheMaxAge   —  cache max lifetime (in seconds)

[ Top ]

addNamespace   [line 354]

void addNamespace( $namespace)


Parameters:

   $namespace   — 

[ Top ]

generateAllProxies   [line 581]

void generateAllProxies( )


[ Top ]

generateProxyCode   [line 435]

void generateProxyCode( [ $port = ''], [ $classname = ''])

generateProxyCode

generates stub code from the wsdl that can be saved to a file, or eval'd into existence


Parameters:

   $port   — 
   $classname   — 

[ Top ]

getComplexTypeChildType   [line 645]

void getComplexTypeChildType( $ns, $name, $child_ns, $child_name)


Parameters:

   $ns   — 
   $name   — 
   $child_ns   — 
   $child_name   — 

[ Top ]

getComplexTypeNameForElement   [line 636]

void getComplexTypeNameForElement( $name, $namespace)


Parameters:

   $name   — 
   $namespace   — 

[ Top ]

getDataHandler   [line 288]

string getDataHandler( string $datatype, string $namespace)

getDataHandler

Given a datatype, what function handles the processing? this is used for doc/literal requests where we receive a datatype, and we need to pass it to a method in out server class

  • Return: methodname
  • Access: public

Parameters:

string   $datatype   —  datatype
string   $namespace   —  namespace

[ Top ]

getEndpoint   [line 156]

void getEndpoint( $portName)


Parameters:

   $portName   — 

[ Top ]

getNamespace   [line 332]

void getNamespace( $portName, $operation)


Parameters:

   $portName   — 
   $operation   — 

[ Top ]

getNamespaceAttributeName   [line 342]

void getNamespaceAttributeName( $namespace)


Parameters:

   $namespace   — 

[ Top ]

getOperationData   [line 198]

void getOperationData( $portName, $operation)


Parameters:

   $portName   — 
   $operation   — 

[ Top ]

getPortName   [line 178]

void getPortName( $operation, [ $service = null])


Parameters:

   $operation   — 
   $service   — 

[ Top ]

getProxy   [line 591]

void &getProxy( [ $port = ''], [ $name = ''])


Parameters:

   $port   — 
   $name   — 

[ Top ]

getSchemaType   [line 656]

void getSchemaType( $type, $name, $type_namespace)


Parameters:

   $type   — 
   $name   — 
   $type_namespace   — 

[ Top ]

getSoapAction   [line 323]

void getSoapAction( $portName, $operation)


Parameters:

   $portName   — 
   $operation   — 

[ Top ]

matchMethod   [line 264]

void matchMethod( &$operation)


Parameters:

   &$operation   — 

[ Top ]

parse   [line 120]

void parse( $wsdl_uri, [ $proxy = array()])

  • Deprecated: use parseURL instead

Parameters:

   $wsdl_uri   — 
   $proxy   — 

[ Top ]

parseObject   [line 147]

void parseObject( &$wsdl_obj, $targetNamespace, string $service_name, [string $service_desc = ''], mixed $wsdl_obj)

Fill the WSDL array tree with data from one or more PHP class objects

Parameters:

mixed   $wsdl_obj   —  An object or array of objects to add to the internal WSDL tree
string   $service_name   —  Name of the WSDL <service>
string   $service_desc   —  Optional description of the WSDL <service>
   &$wsdl_obj   — 
   $targetNamespace   — 

[ Top ]

parseURL   [line 131]

void parseURL( string $wsdl_uri, [array $proxy = array()])

Fill the WSDL array tree with data from a WSDL file

Parameters:

string   $wsdl_uri   — 
array   $proxy   —  proxi related parameters

[ Top ]

set_service   [line 111]

void set_service( $service)


Parameters:

   $service   — 

[ Top ]


Documentation generated on Mon, 11 Mar 2019 13:59:48 -0400 by phpDocumentor 1.4.4. PEAR Logo Copyright © PHP Group 2004.