Jump to content
Fórum Script Brasil
  • 0

API Correios Rastreamento


josy
 Share

Question

Estou seguindo o manual de implementação para uso do webservice dos Correios, mas afim de teste estou tentando utilizar a função solicitaEtiquetas mas me dá o seguinte erro:

: Array to string conversion in /usr/local/www/apache24/data/intranet.thony.com.br/rastreamento/nusoap-0.9.5/lib/nusoap.php on line 3125

wsdl error: Getting https://apphom.correios.com.br/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl - HTTP ERROR: cURL ERROR: 6: Could not resolve host: apphom.correios.com.br
url: https://apphom.correios.com.br:443/SigepMasterJPA/AtendeClienteService/AtendeCliente?wsdl
content_type: 
http_code: 0
header_size: 0
request_size: 0
filetime: -1
ssl_verify_result: 0
redirect_count: 0
total_time: 3.635628
namelookup_time: 0
connect_time: 0
pretransfer_time: 0
size_upload: 0
size_download: 0
speed_download: 0
speed_upload: 0
download_content_length: -1
upload_content_length: -1
starttransfer_time: 0
redirect_time: 0
redirect_url: 
primary_ip: 
certinfo: Array
primary_port: 0
local_ip: 
local_port: 0

Warning: Invalid argument supplied for foreach() in/usr/local/www/apache24/data/intranet.thony.com.br/rastreamento/index.php on line 181

Fault

Array
(
    [faultcode] => soap:Client
    [faultstring] => Unmarshalling Error: For input string: "PAC" 
)
Array
(
    [faultcode] => soap:Client
    [faultstring] => Unmarshalling Error: For input string: "PAC" 
}

Alguém pode me dar um auxílio no uso desta API??

 

 

 

Link to comment
Share on other sites

2 answers to this question

Recommended Posts

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Answer this question...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

 Share



  • Forum Statistics

    • Total Topics
      149.9k
    • Total Posts
      646.8k
×
×
  • Create New...