Friends,
I have a problem when I request the creation of labels in SIGEP-WEB. I'm using php-sigep.
Running the php-sigep example is 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 file "examples / helper-create-pre-list.php" 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] = > Post reply: The requested tags could not be retrieved. [result: protected] = > [soapFault: protected] = > [_failIfAtributeNotExists: protected] = > 1 )
Can anyone help me with this?