Package DE_EPAGES::Envialia::API::SOAP::RemoteEnvialia
Functions
HTTPSOAPTransport
a Transport agent configured for Envialia communication
Syntax |
HTTPSOAPTransport( $service_url, $verify_hostname ); |
Input |
|
Return |
|
UserAgent
a user agent configured for Envialia communication
Syntax |
UserAgent( $verify_hostname ); |
Input |
|
Return |
|
buildTrackingLink
It generates the correct tracking URL path from Envialia provided information (tracking URL format is returned by Envialia Web services )
Syntax |
$self->buildTrackingLink($answer->{'parameters'}->{'strGuidOut'}, $pickupDate); |
Input |
|
Return |
|
cleanEnvialiaRequest
It checks $Envialia_request hash items and assigns blanck string values to undefined items. This is necessary because Envialia web service calls fail if undefined values are found.
Syntax |
$self->cleanEnvialiaRequest($Envialia_request); |
Input |
|
Return |
|
reportError
It checks if Envialia web service answer was correct or not by returning a boolean value. Also, it logs appropriate information about the success or failure to the communications.log (if the reporting is activated).
Syntax |
$self->reportError($answer, $trace); |
Input |
|
Return |
|
serviceCall
Entry point for calling Envialia web services
Syntax |
($answer, $trace) = $self->serviceCall( $service_method, $WSDL_Path_File, $request_parameters ); |
Input |
|
Return |
|