Status: Waiting for escrow

Site para vendas de passagens aéreas

Project details:
Budget: Open
Published: 2 years ago
Deadline: 1 day
Bids: 3
Interested freelancers: 4

Skills required: IT & Programming PHP XML SOAP

Description:
Preciso basicamente autenticar um xml o logon para cia aérea Gol, segue abaixo o que seria este código, porém o que temos não funciona. Segue também a documentação e o xml de autenticação da sessão.
Att
José Roberto
<?php
$params = array();
$params['trace'] = 1;
$params['exceptions'] = true;
$params['encoding'] = 'UTF-8';
$params['use'] = SOAP_ENCODED;
$params['cache_wsdl'] = WSDL_CACHE_NONE;
$params['features'] = SOAP_SINGLE_ELEMENT_ARRAYS;
$client = new SoapClient("schemas.navitaire.com.ClientServices.SessionManager.SessionManagerClient.wsdl", $params );
$params = new StdClass;
$params->AgencyCode = 'BWSGOL';
$params->logonRequest->DomainCode = 'ww2';
$params->logonRequest->AgentName = 'BWSGOL';
$params->logonRequest->Password = '999999';
$params->logonRequest->LocationCode = 1;
$params->logonRequest->RoleCode = 1;
$params->logonRequest->TerminalInfo = 1;
$resp = $client->Logon($params);
print_r($resp);
?>

Create your own project

Are you looking for a freelancer to work on a similar project? Create your own project and you'll receive proposals from the best freelancers.

Create a similar project

Client:

José R. S.
(Rating 0.00 out of 5)
Location: Brasil
To find out more about this client, login to Workana.
Loading...