Skip to content

Instantly share code, notes, and snippets.

@BarbaraEster
Created January 21, 2019 13:10
Show Gist options
  • Select an option

  • Save BarbaraEster/9d10fea2250ac59d5104f884af244ac2 to your computer and use it in GitHub Desktop.

Select an option

Save BarbaraEster/9d10fea2250ac59d5104f884af244ac2 to your computer and use it in GitHub Desktop.
01-21-2019 @ 10:40:40 - Weight and cubage of the order: Array
(
[weight] => 0,3
[height] => 33
[width] => 16,1
[length] => 16,1
)
01-21-2019 @ 10:40:40 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=16,1&nVlDiametro=0&nVlComprimento=16,1&nVlPeso=0,3&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=109&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:40:50 - WP_Error: cURL error 28: Connection timed out after 10001 milliseconds
01-21-2019 @ 10:54:52 - Weight and cubage of the order: Array
(
[weight] => 0,55
[height] => 33
[width] => 22,8
[length] => 22,8
)
01-21-2019 @ 10:54:52 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=22,8&nVlDiametro=0&nVlComprimento=22,8&nVlPeso=0,55&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=176&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:54:53 - Error accessing the Correios WebServices: Array
(
[headers] => Requests_Utility_CaseInsensitiveDictionary Object
(
[data:protected] => Array
(
)
)
[body] =>
[response] => Array
(
[code] => 504
[message] => Gateway Timeout
)
[cookies] => Array
(
)
[filename] =>
[http_response] => WP_HTTP_Requests_Response Object
(
[response:protected] => Requests_Response Object
(
[body] =>
[raw] => HTTP/1.1 504 Gateway Timeout
Connection: close
[headers] => Requests_Response_Headers Object
(
[data:protected] => Array
(
)
)
[status_code] => 504
[protocol_version] => 1.1
[success] =>
[redirects] => 0
[url] => http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=22,8&nVlDiametro=0&nVlComprimento=22,8&nVlPeso=0,55&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=176&sCdAvisoRecebimento=S&StrRetorno=xml
[history] => Array
(
)
[cookies] => Requests_Cookie_Jar Object
(
[cookies:protected] => Array
(
)
)
)
[filename:protected] =>
[data] =>
[headers] =>
[status] =>
)
)
01-21-2019 @ 10:54:59 - Weight and cubage of the order: Array
(
[weight] => 0,55
[height] => 33
[width] => 22,8
[length] => 22,8
)
01-21-2019 @ 10:54:59 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=22,8&nVlDiametro=0&nVlComprimento=22,8&nVlPeso=0,55&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=176&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:55:08 - Correios WebServices response: SimpleXMLElement Object
(
[cServico] => SimpleXMLElement Object
(
[Codigo] => 04510
[Valor] => 30,08
[PrazoEntrega] => 8
[ValorSemAdicionais] => 21,20
[ValorMaoPropria] => 0,00
[ValorAvisoRecebimento] => 5,75
[ValorValorDeclarado] => 3,13
[EntregaDomiciliar] => S
[EntregaSabado] => N
[Erro] => 0
[MsgErro] => SimpleXMLElement Object
(
)
[obsFim] => SimpleXMLElement Object
(
)
)
)
01-21-2019 @ 10:55:16 - Weight and cubage of the order: Array
(
[weight] => 0,55
[height] => 33
[width] => 22,8
[length] => 22,8
)
01-21-2019 @ 10:55:16 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=22,8&nVlDiametro=0&nVlComprimento=22,8&nVlPeso=0,55&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=176&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:55:22 - Correios WebServices response: SimpleXMLElement Object
(
[cServico] => SimpleXMLElement Object
(
[Codigo] => 04510
[Valor] => 30,08
[PrazoEntrega] => 8
[ValorSemAdicionais] => 21,20
[ValorMaoPropria] => 0,00
[ValorAvisoRecebimento] => 5,75
[ValorValorDeclarado] => 3,13
[EntregaDomiciliar] => S
[EntregaSabado] => N
[Erro] => 0
[MsgErro] => SimpleXMLElement Object
(
)
[obsFim] => SimpleXMLElement Object
(
)
)
)
01-21-2019 @ 10:56:41 - Weight and cubage of the order: Array
(
[weight] => 0,3
[height] => 33
[width] => 16,1
[length] => 16,1
)
01-21-2019 @ 10:56:41 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=16,1&nVlDiametro=0&nVlComprimento=16,1&nVlPeso=0,3&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=109&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:56:59 - Correios WebServices response: SimpleXMLElement Object
(
[cServico] => SimpleXMLElement Object
(
[Codigo] => 04510
[Valor] => 28,74
[PrazoEntrega] => 8
[ValorSemAdicionais] => 21,20
[ValorMaoPropria] => 0,00
[ValorAvisoRecebimento] => 5,75
[ValorValorDeclarado] => 1,79
[EntregaDomiciliar] => S
[EntregaSabado] => N
[Erro] => 0
[MsgErro] => SimpleXMLElement Object
(
)
[obsFim] => SimpleXMLElement Object
(
)
)
)
01-21-2019 @ 10:57:11 - Weight and cubage of the order: Array
(
[weight] => 0,3
[height] => 33
[width] => 16,1
[length] => 16,1
)
01-21-2019 @ 10:57:11 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=16,1&nVlDiametro=0&nVlComprimento=16,1&nVlPeso=0,3&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=109&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:57:21 - WP_Error: cURL error 28: Connection timed out after 10000 milliseconds
01-21-2019 @ 10:58:58 - Weight and cubage of the order: Array
(
[weight] => 0,3
[height] => 33
[width] => 16,1
[length] => 16,1
)
01-21-2019 @ 10:58:58 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=16,1&nVlDiametro=0&nVlComprimento=16,1&nVlPeso=0,3&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=109&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 10:59:08 - WP_Error: cURL error 28: Connection timed out after 10000 milliseconds
01-21-2019 @ 11:01:07 - Weight and cubage of the order: Array
(
[weight] => 0,3
[height] => 33
[width] => 16,1
[length] => 16,1
)
01-21-2019 @ 11:01:07 - Requesting Correios WebServices: http://ws.correios.com.br/calculador/CalcPrecoPrazo.aspx?nCdServico=04510&nCdEmpresa&sDsSenha&sCepDestino=13920000&sCepOrigem=20081250&nVlAltura=33&nVlLargura=16,1&nVlDiametro=0&nVlComprimento=16,1&nVlPeso=0,3&nCdFormato=1&sCdMaoPropria=N&nVlValorDeclarado=109&sCdAvisoRecebimento=S&StrRetorno=xml
01-21-2019 @ 11:01:30 - Correios WebServices response: SimpleXMLElement Object
(
[cServico] => SimpleXMLElement Object
(
[Codigo] => 04510
[Valor] => 28,74
[PrazoEntrega] => 8
[ValorSemAdicionais] => 21,20
[ValorMaoPropria] => 0,00
[ValorAvisoRecebimento] => 5,75
[ValorValorDeclarado] => 1,79
[EntregaDomiciliar] => S
[EntregaSabado] => N
[Erro] => 0
[MsgErro] => SimpleXMLElement Object
(
)
[obsFim] => SimpleXMLElement Object
(
)
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment