GoLang SoapClient::__getTypes

request it (47)
GoLang replacement for PHP's SoapClient::__getTypes [edit | history]

Do you know a GoLang replacement for PHP's SoapClient::__getTypes? Write it!

PHP SoapClient::__getTypes

PHP original manual for SoapClient::__getTypes [ show | php.net ]


(PHP 5, PHP 7)

SoapClient::__getTypesReturns a list of SOAP types


public array SoapClient::__getTypes ( void )

Returns an array of types described in the WSDL for the Web service.


This function only works in WSDL mode.


This function has no parameters.

Return Values

The array of SOAP types, detailing all structures and types.


Example #1 SoapClient::__getTypes() example

= new SoapClient('http://soap.amazon.com/schemas3/AmazonWebServices.wsdl');

The above example will output:

array(88) {
  string(30) "ProductLine ProductLineArray[]"
  string(85) "struct ProductLine {
 string Mode;
 string RelevanceRank;
 ProductInfo ProductInfo;
  string(105) "struct ProductInfo {
 string TotalResults;
 string TotalPages;
 string ListName;
 DetailsArray Details;
  string(32) "ShortSummary ShortSummaryArray[]"
  string(121) "struct GetTransactionDetailsRequest {
 string tag;
 string devtag;
 string key;
 OrderIdArray OrderIds;
 string locale;
  string(75) "struct GetTransactionDetailsResponse {
 ShortSummaryArray ShortSummaries;

See Also