ePages 7.27.0 - DE_EPAGES/DHLIntraship/API/SOAP/BuildWSDL11Client.pm

Package DE_EPAGES::DHLIntraship::API::SOAP::BuildWSDL11Client

encapsulate the generation of the extended WSDL11 Client

Example
my $WSDL11Client = DE_EPAGES::DHLIntraship::API::SOAP::BuildWSDL11Client->new($self->{'ShippmentDD'})
                    ->withTransportLayer($TransportLayer)
                    ->withPortName('SOAP11Portname');

Functions

new
withPortName
withTransportLayer
withWSDLFile
withXSDFiles

new

constructor

Syntax
new( $OperationName );
Input
$OperationName (String)
name of SOAP operation
Return
$CompiledClient (DE_EPAGES::DHLIntraship::API::SOAP::BuildWSDL11Client)
self

withPortName

set the port name

Syntax
withPortName( );

withTransportLayer

set the TransportLayer

Syntax
withTransportLayer( TransportLayer );
Input
$TransportLayer (HTTP::Response)
TransportHook Object
Return
$self (object)
self for call chaining

withWSDLFile

stores the path to the wsdl file into the self object

Syntax
withWSDLFile( $WSDLPath );
Input
$WSDLPath (string)
path to the wsdl file
Return
$self (object)
self for call chaining

withXSDFiles

stores the path to the xsd files into the self object

Syntax
withXSDFiles( $aXSDFiles );
Input
$aXSDFiles (refarray)
path to the xsd files
Return
$self (object)
self for call chaining