Array
(
[CreateShipment] => Array
(
[Input] => Array
(
[AuthenticationID] => b444a91a-8232-4f39-8d04-d0f313d9cd89
[PickupData] => Array
(
[ClientData] => Array
(
[ClientId] => 100029517
[ContractId] => 300321269
[RequestedBy] => TROTINET
[ContactName] => xxxxxx
[Phone] => xxxxx
)
[ClientRef] => ENC 226
[Date] => 2022-09-07
[TotalObjects] => 1
[TotalWeight] => 100
[BiggerObjectLenght] => 100
[BiggerObjectHeight] => 100
[BiggerObjectWidth] => 100
[Observation] =>
[PickupAddress] => Array
(
[CP4] => 4475
[CP3] => 135
[Phone] => 914931936
[Address] => xxxxxx
[Name] => yyyyyyyyy
[Country] => PT
)
[ShipmentList] =>
[TransportDocument] => 0
[SelectedDestination] => Array
(
[0] => PT
)
)
)
)
)
array(10) {
[0]=>
string(62) "MarcarRecolhaResponse MarcarRecolha(MarcarRecolha $parameters)"
[1]=>
string(71) "PesquisaRecolhasResponse PesquisaRecolhas(PesquisaRecolhas $parameters)"
[2]=>
string(53) "GetRecolhaResponse GetRecolha(GetRecolha $parameters)"
[3]=>
string(77) "GetProdutosRecolhaResponse GetProdutosRecolha(GetProdutosRecolha $parameters)"
[4]=>
string(74) "GetEstadosRecolhaResponse GetEstadosRecolha(GetEstadosRecolha $parameters)"
[5]=>
string(74) "GetAreaInfluenciaResponse GetAreaInfluencia(GetAreaInfluencia $parameters)"
[6]=>
string(65) "GetZonaTaxacaoResponse GetZonaTaxacao(GetZonaTaxacao $parameters)"
[7]=>
string(65) "NewOfferPickUpResponse NewOfferPickUp(NewOfferPickUp $parameters)"
[8]=>
string(95) "NewOfferPickUpByPreAvisoResponse NewOfferPickUpByPreAviso(NewOfferPickUpByPreAviso $parameters)"
[9]=>
string(65) "CompletePickUpResponse CompletePickUp(CompletePickUp $parameters)"
}
object(SoapClient)#1 (3) {
["trace"]=>
int(1)
["_soap_version"]=>
int(1)
["sdl"]=>
resource(15) of type (Unknown)
}
Fatal error: Uncaught SoapFault exception: [a:InternalServiceFault] Object reference not set to an instance of an object. in /home/wwwtroti/developer/colegiosdev/external_api/ctt/ctt_integra_teste.php:220
Stack trace:
#0 /home/wwwtroti/developer/colegiosdev/external_api/ctt/ctt_integra_teste.php(220): SoapClient->__call('NewOfferPickUp', Array)
#1 /home/wwwtroti/developer/colegiosdev/external_api/ctt/ctt_integra_teste.php(220): SoapClient->NewOfferPickUp(Array)
#2 {main}
thrown in /home/wwwtroti/developer/colegiosdev/external_api/ctt/ctt_integra_teste.php on line 220