0
Friends,
I have a problem when I request the creation of labels in SIGEP-WEB. I am using php-Sigep.
Running the php-Sigep example all OK. In this case the example sends the tag number already. In my application I need to request this number from the post office.
In the "examples/helper-create-pre-list.php" file I include the line:
$params = new \PhpSigep\Model\SolicitaEtiquetas();
$params->setQtdEtiquetas(1);
$params->setServicoDePostagem(\PhpSigep\Model\ServicoDePostagem::SERVICE_PAC_41068);
$params->setAccessData(new \PhpSigep\Model\AccessDataHomologacao());
$etiqueta = \PhpSigep\Services\SoapClient\Real::solicitaEtiquetas($params);
In response to this request I have:
Phpsigep Services Result Object ( [isSoapFault:protected] => 1 [errorcode:protected] => 0 [errorMsg:protected] => Postal Response: Unable to retrieve requested tags. [result:protected] => [soapFault:protected] => [_failIfAtributeNotExist:protected] => 1 )
Can someone help me with that?
@Szag-Ot can give me a light? :)
– Leandro Carneiro
@Stavarengo can give me a light? :)
– Leandro Carneiro