tinyerp_ruby 0.4.4 → 0.4.6

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. checksums.yaml +5 -13
  2. data/README.md +1 -1
  3. data/lib/tinyerp_ruby/poster.rb +6 -2
  4. data/lib/tinyerp_ruby/version.rb +1 -1
  5. data/spec/support/vcr/TinyerpRuby_Poster/_call/output_a_hash.yml +12 -11
  6. data/spec/support/vcr/TinyerpRuby_Poster/_call/output_keys_as_symbols.yml +12 -11
  7. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_contato_service_as_a_valid_service.yml +15 -16
  8. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_contato_xml_as_a_valid_service.yml +39 -67
  9. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_grupo_tag_service_as_a_valid_service.yml +34 -65
  10. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_grupo_tag_xml_as_a_valid_service.yml +39 -67
  11. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_produto_service_as_a_valid_service.yml +13 -16
  12. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_produto_xml_as_a_valid_service.yml +65 -37
  13. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_tag_service_as_a_valid_service.yml +34 -65
  14. data/spec/support/vcr/TinyerpRuby_Service/accepts/_alterar_tag_xml_as_a_valid_service.yml +8 -8
  15. data/spec/support/vcr/TinyerpRuby_Service/accepts/_gerar_ordem_produca_pedido_service_as_a_valid_service.yml +8 -8
  16. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contato_service_as_a_valid_service.yml +13 -16
  17. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contato_xml_as_a_valid_service.yml +8 -8
  18. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contrato_service_as_a_valid_service.yml +15 -16
  19. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_contrato_xml_as_a_valid_service.yml +10 -10
  20. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_grupo_tag_service_as_a_valid_service.yml +13 -16
  21. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_grupo_tag_xml_as_a_valid_service.yml +65 -37
  22. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_fiscal_service_as_a_valid_service.yml +16 -16
  23. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_fiscal_xml_as_a_valid_service.yml +10 -10
  24. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_servico_service_as_a_valid_service.yml +17 -16
  25. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_nota_servico_xml_as_a_valid_service.yml +37 -65
  26. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_pedido_service_as_a_valid_service.yml +15 -16
  27. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_pedido_xml_as_a_valid_service.yml +8 -8
  28. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_produto_service_as_a_valid_service.yml +15 -16
  29. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_produto_xml_as_a_valid_service.yml +8 -8
  30. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_tag_service_as_a_valid_service.yml +34 -65
  31. data/spec/support/vcr/TinyerpRuby_Service/accepts/_incluir_tag_xml_as_a_valid_service.yml +37 -65
  32. data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_estoque_service_as_a_valid_service.yml +8 -8
  33. data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_estoque_xml_as_a_valid_service.yml +19 -19
  34. data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_produtos_service_as_a_valid_service.yml +36 -66
  35. data/spec/support/vcr/TinyerpRuby_Service/accepts/_lista_atualizacoes_produtos_xml_as_a_valid_service.yml +19 -18
  36. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contato_service_as_a_valid_service.yml +36 -64
  37. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contato_xml_as_a_valid_service.yml +35 -65
  38. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contrato_service_as_a_valid_service.yml +35 -64
  39. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_contrato_xml_as_a_valid_service.yml +8 -8
  40. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estoque_produto_service_as_a_valid_service.yml +35 -66
  41. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estoque_produto_xml_as_a_valid_service.yml +8 -8
  42. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estrutura_produto_service_as_a_valid_service.yml +35 -66
  43. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_estrutura_produto_xml_as_a_valid_service.yml +8 -8
  44. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_fiscal_service_as_a_valid_service.yml +35 -65
  45. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_fiscal_xml_as_a_valid_service.yml +8 -8
  46. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_servico_service_as_a_valid_service.yml +36 -64
  47. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_nota_servico_xml_as_a_valid_service.yml +8 -8
  48. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_pedido_service_as_a_valid_service.yml +36 -64
  49. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_pedido_xml_as_a_valid_service.yml +18 -17
  50. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_produto_service_as_a_valid_service.yml +36 -64
  51. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_produto_xml_as_a_valid_service.yml +17 -18
  52. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_tags_produto_service_as_a_valid_service.yml +35 -66
  53. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_tags_produto_xml_as_a_valid_service.yml +18 -17
  54. data/spec/support/vcr/TinyerpRuby_Service/accepts/_obter_xml_nota_fiscal_as_a_valid_service.yml +15 -16
  55. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contatos_service_as_a_valid_service.yml +37 -66
  56. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contatos_xml_as_a_valid_service.yml +36 -65
  57. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contratos_service_as_a_valid_service.yml +17 -19
  58. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_contratos_xml_as_a_valid_service.yml +8 -8
  59. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_grupos_tag_service_as_a_valid_service.yml +35 -64
  60. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_grupos_tag_xml_as_a_valid_service.yml +17 -18
  61. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_fiscais_service_as_a_valid_service.yml +18 -19
  62. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_fiscais_xml_as_a_valid_service.yml +8 -8
  63. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_servico_service_as_a_valid_service.yml +8 -8
  64. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_notas_servico_xml_as_a_valid_service.yml +8 -8
  65. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_pedidos_service_as_a_valid_service.yml +19 -17
  66. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_pedidos_xml_as_a_valid_service.yml +8 -8
  67. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_produtos_service_as_a_valid_service.yml +35 -66
  68. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_produtos_xml_as_a_valid_service.yml +8 -8
  69. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_tag_service_as_a_valid_service.yml +17 -18
  70. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_tag_xml_as_a_valid_service.yml +20 -19
  71. data/spec/support/vcr/TinyerpRuby_Service/accepts/_pesquisar_vendedores_service_as_a_valid_service.yml +35 -66
  72. data/spec/tinyerp_ruby/service_spec.rb +5 -4
  73. metadata +14 -16
  74. data/spec/support/vcr/TinyerpRuby_Service/accepts/poster_post.yml +0 -1582
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Content-Type:
22
22
  - text/xml; charset=ISO-8859-1
23
23
  Date:
24
- - Tue, 08 Apr 2014 12:57:53 GMT
24
+ - Tue, 08 Apr 2014 13:45:55 GMT
25
25
  Expires:
26
26
  - Thu, 19 Nov 1981 08:52:00 GMT
27
27
  Pragma:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Server:
30
30
  - Apache/2.2.25 (Amazon)
31
31
  Set-Cookie:
32
- - PHPSESSID=hhq9i4lofgkci90kd2tkpags5a8f5np1; path=/
32
+ - PHPSESSID=8l3q0jrlas67aei82qqce6llfusj9u9k; path=/
33
33
  X-Powered-By:
34
34
  - PHP/5.3.27
35
35
  Transfer-Encoding:
@@ -1494,7 +1494,7 @@ http_interactions:
1494
1494
  aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
1495
1495
  b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
1496
1496
  http_version:
1497
- recorded_at: Tue, 08 Apr 2014 12:57:53 GMT
1497
+ recorded_at: Tue, 08 Apr 2014 13:45:55 GMT
1498
1498
  - request:
1499
1499
  method: post
1500
1500
  uri: http://www.tiny.com.br/api2.php
@@ -1502,14 +1502,14 @@ http_interactions:
1502
1502
  encoding: US-ASCII
1503
1503
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1504
1504
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
1505
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:alterarTagService><token><APIKEY></token><formato>json</formato></tns:alterarTagService></env:Body></env:Envelope>
1505
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:alterarTagService><token><APIKEY></token><foo>&quot;bar&quot;</foo><formato>json</formato></tns:alterarTagService></env:Body></env:Envelope>
1506
1506
  headers:
1507
1507
  Soapaction:
1508
1508
  - ! '"urn:tinywsdl#alterarTagService"'
1509
1509
  Content-Type:
1510
1510
  - text/xml;charset=UTF-8
1511
1511
  Content-Length:
1512
- - '391'
1512
+ - '417'
1513
1513
  Accept:
1514
1514
  - ! '*/*'
1515
1515
  User-Agent:
@@ -1517,67 +1517,36 @@ http_interactions:
1517
1517
  response:
1518
1518
  status:
1519
1519
  code: 200
1520
- message: !binary |-
1521
- T0s=
1520
+ message: OK
1522
1521
  headers:
1523
- !binary "Q2FjaGUtQ29udHJvbA==":
1524
- - !binary |-
1525
- bm8tc3RvcmUsIG5vLWNhY2hlLCBtdXN0LXJldmFsaWRhdGUsIHBvc3QtY2hl
1526
- Y2s9MCwgcHJlLWNoZWNrPTA=
1527
- !binary "Q29udGVudC1UeXBl":
1528
- - !binary |-
1529
- dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
1530
- !binary "RGF0ZQ==":
1531
- - !binary |-
1532
- VHVlLCAwOCBBcHIgMjAxNCAxMjo1Nzo1MyBHTVQ=
1533
- !binary "RXhwaXJlcw==":
1534
- - !binary |-
1535
- VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
1536
- !binary "UHJhZ21h":
1537
- - !binary |-
1538
- bm8tY2FjaGU=
1539
- !binary "U2VydmVy":
1540
- - !binary |-
1541
- QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
1542
- !binary "U2V0LUNvb2tpZQ==":
1543
- - !binary |-
1544
- UEhQU0VTU0lEPTloc3MxcGhkZmNkMWZwdWo0dTFsa2twdXRjbmViMmpqOyBw
1545
- YXRoPS8=
1546
- !binary "WC1Qb3dlcmVkLUJ5":
1547
- - !binary |-
1548
- UEhQLzUuMy4yNw==
1549
- !binary "WC1Tb2FwLVNlcnZlcg==":
1550
- - !binary |-
1551
- TnVTT0FQLzAuOS41ICgxLjEp
1552
- !binary "Q29udGVudC1MZW5ndGg=":
1553
- - !binary |-
1554
- ODkw
1555
- !binary "Q29ubmVjdGlvbg==":
1556
- - !binary |-
1557
- a2VlcC1hbGl2ZQ==
1522
+ Cache-Control:
1523
+ - no-store, no-cache, must-revalidate, post-check=0, pre-check=0
1524
+ Content-Type:
1525
+ - text/xml; charset=UTF-8
1526
+ Date:
1527
+ - Tue, 08 Apr 2014 13:45:55 GMT
1528
+ Expires:
1529
+ - Thu, 19 Nov 1981 08:52:00 GMT
1530
+ Pragma:
1531
+ - no-cache
1532
+ Server:
1533
+ - Apache/2.2.25 (Amazon)
1534
+ Set-Cookie:
1535
+ - PHPSESSID=2iciqekos83amepl6h1r90uj86ut4nq8; path=/
1536
+ X-Powered-By:
1537
+ - PHP/5.3.27
1538
+ X-Soap-Server:
1539
+ - NuSOAP/0.9.5 (1.1)
1540
+ Content-Length:
1541
+ - '648'
1542
+ Connection:
1543
+ - keep-alive
1558
1544
  body:
1559
- encoding: ASCII-8BIT
1560
- string: !binary |-
1561
- PD94bWwgdmVyc2lvbj0iMS4wIiBlbmNvZGluZz0iVVRGLTgiPz48U09BUC1F
1562
- TlY6RW52ZWxvcGUgU09BUC1FTlY6ZW5jb2RpbmdTdHlsZT0iaHR0cDovL3Nj
1563
- aGVtYXMueG1sc29hcC5vcmcvc29hcC9lbmNvZGluZy8iIHhtbG5zOlNPQVAt
1564
- RU5WPSJodHRwOi8vc2NoZW1hcy54bWxzb2FwLm9yZy9zb2FwL2VudmVsb3Bl
1565
- LyIgeG1sbnM6eHNkPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
1566
- YSIgeG1sbnM6eHNpPSJodHRwOi8vd3d3LnczLm9yZy8yMDAxL1hNTFNjaGVt
1567
- YS1pbnN0YW5jZSIgeG1sbnM6U09BUC1FTkM9Imh0dHA6Ly9zY2hlbWFzLnht
1568
- bHNvYXAub3JnL3NvYXAvZW5jb2RpbmcvIj48U09BUC1FTlY6Qm9keT48bnMx
1569
- OmFsdGVyYXJUYWdTZXJ2aWNlUmVzcG9uc2UgeG1sbnM6bnMxPSJ1cm46dGlu
1570
- eXdzZGwiPjxyZXR1cm4geHNpOnR5cGU9InhzZDpzdHJpbmciPiZsdDs/eG1s
1571
- IHZlcnNpb249JnF1b3Q7MS4wJnF1b3Q7IGVuY29kaW5nPSZxdW90O1VURi04
1572
- JnF1b3Q7PyZndDsmbHQ7cmV0b3JubyZndDsmbHQ7c3RhdHVzX3Byb2Nlc3Nh
1573
- bWVudG8mZ3Q7MSZsdDsvc3RhdHVzX3Byb2Nlc3NhbWVudG8mZ3Q7Jmx0O3N0
1574
- YXR1cyZndDtFcnJvJmx0Oy9zdGF0dXMmZ3Q7Jmx0O2NvZGlnb19lcnJvJmd0
1575
- OzYmbHQ7L2NvZGlnb19lcnJvJmd0OyZsdDtlcnJvcyZndDsmbHQ7ZXJybyZn
1576
- dDtBUEkgQmxvcXVlYWRhIC0gRXhjZWRpZG8gbyBuw7ptZXJvIGRlIGFjZXNz
1577
- b3MgYSBBUEksIGFndWFyZGUgYWxndW5zIG1pbnV0b3MgZSB0ZW50ZSBub3Zh
1578
- bWVudGUmbHQ7L2Vycm8mZ3Q7Jmx0Oy9lcnJvcyZndDsmbHQ7L3JldG9ybm8m
1579
- Z3Q7PC9yZXR1cm4+PC9uczE6YWx0ZXJhclRhZ1NlcnZpY2VSZXNwb25zZT48
1580
- L1NPQVAtRU5WOkJvZHk+PC9TT0FQLUVOVjpFbnZlbG9wZT4=
1545
+ encoding: US-ASCII
1546
+ string: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
1547
+ xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1548
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:alterarTagServiceResponse
1549
+ xmlns:ns1="urn:tinywsdl"><return xsi:type="xsd:string">{&quot;retorno&quot;:{&quot;status_processamento&quot;:&quot;3&quot;,&quot;status&quot;:&quot;OK&quot;,&quot;registros&quot;:[]}}</return></ns1:alterarTagServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
1581
1550
  http_version:
1582
- recorded_at: Tue, 08 Apr 2014 12:57:54 GMT
1551
+ recorded_at: Tue, 08 Apr 2014 13:45:56 GMT
1583
1552
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Content-Type:
22
22
  - text/xml; charset=ISO-8859-1
23
23
  Date:
24
- - Tue, 08 Apr 2014 12:58:02 GMT
24
+ - Tue, 08 Apr 2014 13:45:58 GMT
25
25
  Expires:
26
26
  - Thu, 19 Nov 1981 08:52:00 GMT
27
27
  Pragma:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Server:
30
30
  - Apache/2.2.25 (Amazon)
31
31
  Set-Cookie:
32
- - PHPSESSID=t75jgi8l7hj4qpvc88sv14a3lon2qh91; path=/
32
+ - PHPSESSID=abvmml1brjs75jev45tmrbii28koothv; path=/
33
33
  X-Powered-By:
34
34
  - PHP/5.3.27
35
35
  Transfer-Encoding:
@@ -1494,7 +1494,7 @@ http_interactions:
1494
1494
  aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
1495
1495
  b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
1496
1496
  http_version:
1497
- recorded_at: Tue, 08 Apr 2014 12:58:02 GMT
1497
+ recorded_at: Tue, 08 Apr 2014 13:45:58 GMT
1498
1498
  - request:
1499
1499
  method: post
1500
1500
  uri: http://www.tiny.com.br/api2.php
@@ -1502,14 +1502,14 @@ http_interactions:
1502
1502
  encoding: US-ASCII
1503
1503
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1504
1504
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
1505
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:alterarTagXML><token><APIKEY></token><formato>json</formato></tns:alterarTagXML></env:Body></env:Envelope>
1505
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:alterarTagXML><token><APIKEY></token><foo>&quot;bar&quot;</foo><formato>json</formato></tns:alterarTagXML></env:Body></env:Envelope>
1506
1506
  headers:
1507
1507
  Soapaction:
1508
1508
  - ! '"urn:tinywsdl#alterarTagXML"'
1509
1509
  Content-Type:
1510
1510
  - text/xml;charset=UTF-8
1511
1511
  Content-Length:
1512
- - '383'
1512
+ - '409'
1513
1513
  Accept:
1514
1514
  - ! '*/*'
1515
1515
  User-Agent:
@@ -1524,7 +1524,7 @@ http_interactions:
1524
1524
  Content-Type:
1525
1525
  - text/xml; charset=UTF-8
1526
1526
  Date:
1527
- - Tue, 08 Apr 2014 12:58:02 GMT
1527
+ - Tue, 08 Apr 2014 13:45:58 GMT
1528
1528
  Expires:
1529
1529
  - Thu, 19 Nov 1981 08:52:00 GMT
1530
1530
  Pragma:
@@ -1532,7 +1532,7 @@ http_interactions:
1532
1532
  Server:
1533
1533
  - Apache/2.2.25 (Amazon)
1534
1534
  Set-Cookie:
1535
- - PHPSESSID=1qu7kg49gacuopckmrvta3dbacud5ki5; path=/
1535
+ - PHPSESSID=iib7bng7b39u1d4sv577c50nhp9un6jf; path=/
1536
1536
  X-Powered-By:
1537
1537
  - PHP/5.3.27
1538
1538
  X-Soap-Server:
@@ -1551,5 +1551,5 @@ http_interactions:
1551
1551
  XML mal formado, mensagem:\tStart tag expected, &apos;&amp;lt;&apos; not found\n\tStart
1552
1552
  tag expected, &apos;&amp;lt;&apos; not found\n&lt;/erro&gt;&lt;/erros&gt;&lt;/retorno&gt;</return></ns1:alterarTagXMLResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
1553
1553
  http_version:
1554
- recorded_at: Tue, 08 Apr 2014 12:58:02 GMT
1554
+ recorded_at: Tue, 08 Apr 2014 13:45:58 GMT
1555
1555
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Content-Type:
22
22
  - text/xml; charset=ISO-8859-1
23
23
  Date:
24
- - Tue, 08 Apr 2014 12:57:57 GMT
24
+ - Tue, 08 Apr 2014 13:46:17 GMT
25
25
  Expires:
26
26
  - Thu, 19 Nov 1981 08:52:00 GMT
27
27
  Pragma:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Server:
30
30
  - Apache/2.2.25 (Amazon)
31
31
  Set-Cookie:
32
- - PHPSESSID=1c33beiuq8j91na4s3j97lsg7khulrfb; path=/
32
+ - PHPSESSID=d32rh4rnsu6842arcn9otgqllol21qmu; path=/
33
33
  X-Powered-By:
34
34
  - PHP/5.3.27
35
35
  Transfer-Encoding:
@@ -1494,7 +1494,7 @@ http_interactions:
1494
1494
  aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
1495
1495
  b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
1496
1496
  http_version:
1497
- recorded_at: Tue, 08 Apr 2014 12:57:57 GMT
1497
+ recorded_at: Tue, 08 Apr 2014 13:46:18 GMT
1498
1498
  - request:
1499
1499
  method: post
1500
1500
  uri: http://www.tiny.com.br/api2.php
@@ -1502,14 +1502,14 @@ http_interactions:
1502
1502
  encoding: US-ASCII
1503
1503
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1504
1504
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
1505
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:gerarOrdemProducaPedidoService><token><APIKEY></token><formato>json</formato></tns:gerarOrdemProducaPedidoService></env:Body></env:Envelope>
1505
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:gerarOrdemProducaPedidoService><token><APIKEY></token><foo>&quot;bar&quot;</foo><formato>json</formato></tns:gerarOrdemProducaPedidoService></env:Body></env:Envelope>
1506
1506
  headers:
1507
1507
  Soapaction:
1508
1508
  - ! '"urn:tinywsdl#gerarOrdemProducaPedidoService"'
1509
1509
  Content-Type:
1510
1510
  - text/xml;charset=UTF-8
1511
1511
  Content-Length:
1512
- - '417'
1512
+ - '443'
1513
1513
  Accept:
1514
1514
  - ! '*/*'
1515
1515
  User-Agent:
@@ -1529,7 +1529,7 @@ http_interactions:
1529
1529
  dGV4dC94bWw7IGNoYXJzZXQ9VVRGLTg=
1530
1530
  !binary "RGF0ZQ==":
1531
1531
  - !binary |-
1532
- VHVlLCAwOCBBcHIgMjAxNCAxMjo1Nzo1NyBHTVQ=
1532
+ VHVlLCAwOCBBcHIgMjAxNCAxMzo0NjoxOCBHTVQ=
1533
1533
  !binary "RXhwaXJlcw==":
1534
1534
  - !binary |-
1535
1535
  VGh1LCAxOSBOb3YgMTk4MSAwODo1MjowMCBHTVQ=
@@ -1541,7 +1541,7 @@ http_interactions:
1541
1541
  QXBhY2hlLzIuMi4yNSAoQW1hem9uKQ==
1542
1542
  !binary "U2V0LUNvb2tpZQ==":
1543
1543
  - !binary |-
1544
- UEhQU0VTU0lEPXVzaXVkb2MxdWtsNmg0MWFkYWdpMjBoYXBtbm50NmduOyBw
1544
+ UEhQU0VTU0lEPW42c21ndms1Y2FpYWtoaGpkb3NqYjRxczVoNGY5dmNwOyBw
1545
1545
  YXRoPS8=
1546
1546
  !binary "WC1Qb3dlcmVkLUJ5":
1547
1547
  - !binary |-
@@ -1580,5 +1580,5 @@ http_interactions:
1580
1580
  dWNhUGVkaWRvU2VydmljZVJlc3BvbnNlPjwvU09BUC1FTlY6Qm9keT48L1NP
1581
1581
  QVAtRU5WOkVudmVsb3BlPg==
1582
1582
  http_version:
1583
- recorded_at: Tue, 08 Apr 2014 12:57:57 GMT
1583
+ recorded_at: Tue, 08 Apr 2014 13:46:18 GMT
1584
1584
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Content-Type:
22
22
  - text/xml; charset=ISO-8859-1
23
23
  Date:
24
- - Tue, 08 Apr 2014 12:58:00 GMT
24
+ - Tue, 08 Apr 2014 13:45:50 GMT
25
25
  Expires:
26
26
  - Thu, 19 Nov 1981 08:52:00 GMT
27
27
  Pragma:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Server:
30
30
  - Apache/2.2.25 (Amazon)
31
31
  Set-Cookie:
32
- - PHPSESSID=osr7iomve028ocnsvbq7duutoks2969k; path=/
32
+ - PHPSESSID=r1safmuqj5nk2qvp3g8re4flu46m8v6v; path=/
33
33
  X-Powered-By:
34
34
  - PHP/5.3.27
35
35
  Transfer-Encoding:
@@ -1494,7 +1494,7 @@ http_interactions:
1494
1494
  aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
1495
1495
  b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
1496
1496
  http_version:
1497
- recorded_at: Tue, 08 Apr 2014 12:58:00 GMT
1497
+ recorded_at: Tue, 08 Apr 2014 13:45:50 GMT
1498
1498
  - request:
1499
1499
  method: post
1500
1500
  uri: http://www.tiny.com.br/api2.php
@@ -1502,14 +1502,14 @@ http_interactions:
1502
1502
  encoding: US-ASCII
1503
1503
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1504
1504
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
1505
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:incluirContatoService><token><APIKEY></token><formato>json</formato></tns:incluirContatoService></env:Body></env:Envelope>
1505
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:incluirContatoService><token><APIKEY></token><foo>&quot;bar&quot;</foo><formato>json</formato></tns:incluirContatoService></env:Body></env:Envelope>
1506
1506
  headers:
1507
1507
  Soapaction:
1508
1508
  - ! '"urn:tinywsdl#incluirContatoService"'
1509
1509
  Content-Type:
1510
1510
  - text/xml;charset=UTF-8
1511
1511
  Content-Length:
1512
- - '399'
1512
+ - '425'
1513
1513
  Accept:
1514
1514
  - ! '*/*'
1515
1515
  User-Agent:
@@ -1524,7 +1524,7 @@ http_interactions:
1524
1524
  Content-Type:
1525
1525
  - text/xml; charset=UTF-8
1526
1526
  Date:
1527
- - Tue, 08 Apr 2014 12:58:00 GMT
1527
+ - Tue, 08 Apr 2014 13:45:50 GMT
1528
1528
  Expires:
1529
1529
  - Thu, 19 Nov 1981 08:52:00 GMT
1530
1530
  Pragma:
@@ -1532,24 +1532,21 @@ http_interactions:
1532
1532
  Server:
1533
1533
  - Apache/2.2.25 (Amazon)
1534
1534
  Set-Cookie:
1535
- - PHPSESSID=2vjtfg7i3pqtovn0rma6o9spuath25l0; path=/
1535
+ - PHPSESSID=5umnhhm3eq4v7sfvsjmiklog7j1cfa19; path=/
1536
1536
  X-Powered-By:
1537
1537
  - PHP/5.3.27
1538
1538
  X-Soap-Server:
1539
1539
  - NuSOAP/0.9.5 (1.1)
1540
1540
  Content-Length:
1541
- - '940'
1541
+ - '656'
1542
1542
  Connection:
1543
1543
  - keep-alive
1544
1544
  body:
1545
1545
  encoding: US-ASCII
1546
- string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"
1547
- xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
1548
- xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><ns1:incluirContatoServiceResponse
1549
- xmlns:ns1=\"urn:tinywsdl\"><return xsi:type=\"xsd:string\">&lt;?xml version=&quot;1.0&quot;
1550
- encoding=&quot;UTF-8&quot;?&gt;&lt;retorno&gt;&lt;status_processamento&gt;1&lt;/status_processamento&gt;&lt;status&gt;Erro&lt;/status&gt;&lt;codigo_erro&gt;3&lt;/codigo_erro&gt;&lt;erros&gt;&lt;erro&gt;ERRO
1551
- XML mal formado, mensagem:\tStart tag expected, &apos;&amp;lt;&apos; not found\n\tStart
1552
- tag expected, &apos;&amp;lt;&apos; not found\n&lt;/erro&gt;&lt;/erros&gt;&lt;/retorno&gt;</return></ns1:incluirContatoServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
1546
+ string: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
1547
+ xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1548
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:incluirContatoServiceResponse
1549
+ xmlns:ns1="urn:tinywsdl"><return xsi:type="xsd:string">{&quot;retorno&quot;:{&quot;status_processamento&quot;:&quot;3&quot;,&quot;status&quot;:&quot;OK&quot;,&quot;registros&quot;:[]}}</return></ns1:incluirContatoServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
1553
1550
  http_version:
1554
- recorded_at: Tue, 08 Apr 2014 12:58:00 GMT
1551
+ recorded_at: Tue, 08 Apr 2014 13:45:50 GMT
1555
1552
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Content-Type:
22
22
  - text/xml; charset=ISO-8859-1
23
23
  Date:
24
- - Tue, 08 Apr 2014 12:58:00 GMT
24
+ - Tue, 08 Apr 2014 13:46:02 GMT
25
25
  Expires:
26
26
  - Thu, 19 Nov 1981 08:52:00 GMT
27
27
  Pragma:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Server:
30
30
  - Apache/2.2.25 (Amazon)
31
31
  Set-Cookie:
32
- - PHPSESSID=n2c1gtkfgoa2s47a3o452h3ravu4hvtk; path=/
32
+ - PHPSESSID=3q7hu1em3949qci2cmsh71kb7f94sj4f; path=/
33
33
  X-Powered-By:
34
34
  - PHP/5.3.27
35
35
  Transfer-Encoding:
@@ -1494,7 +1494,7 @@ http_interactions:
1494
1494
  aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
1495
1495
  b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
1496
1496
  http_version:
1497
- recorded_at: Tue, 08 Apr 2014 12:58:00 GMT
1497
+ recorded_at: Tue, 08 Apr 2014 13:46:02 GMT
1498
1498
  - request:
1499
1499
  method: post
1500
1500
  uri: http://www.tiny.com.br/api2.php
@@ -1502,14 +1502,14 @@ http_interactions:
1502
1502
  encoding: US-ASCII
1503
1503
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1504
1504
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
1505
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:incluirContatoXML><token><APIKEY></token><formato>json</formato></tns:incluirContatoXML></env:Body></env:Envelope>
1505
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:incluirContatoXML><token><APIKEY></token><foo>&quot;bar&quot;</foo><formato>json</formato></tns:incluirContatoXML></env:Body></env:Envelope>
1506
1506
  headers:
1507
1507
  Soapaction:
1508
1508
  - ! '"urn:tinywsdl#incluirContatoXML"'
1509
1509
  Content-Type:
1510
1510
  - text/xml;charset=UTF-8
1511
1511
  Content-Length:
1512
- - '391'
1512
+ - '417'
1513
1513
  Accept:
1514
1514
  - ! '*/*'
1515
1515
  User-Agent:
@@ -1524,7 +1524,7 @@ http_interactions:
1524
1524
  Content-Type:
1525
1525
  - text/xml; charset=UTF-8
1526
1526
  Date:
1527
- - Tue, 08 Apr 2014 12:58:00 GMT
1527
+ - Tue, 08 Apr 2014 13:46:02 GMT
1528
1528
  Expires:
1529
1529
  - Thu, 19 Nov 1981 08:52:00 GMT
1530
1530
  Pragma:
@@ -1532,7 +1532,7 @@ http_interactions:
1532
1532
  Server:
1533
1533
  - Apache/2.2.25 (Amazon)
1534
1534
  Set-Cookie:
1535
- - PHPSESSID=hpck2suv3bebvil6ceo8vsqsj9pjnhvb; path=/
1535
+ - PHPSESSID=0dm9i3rnev6ciu63he0no1v155gmme25; path=/
1536
1536
  X-Powered-By:
1537
1537
  - PHP/5.3.27
1538
1538
  X-Soap-Server:
@@ -1551,5 +1551,5 @@ http_interactions:
1551
1551
  XML mal formado, mensagem:\tStart tag expected, &apos;&amp;lt;&apos; not found\n\tStart
1552
1552
  tag expected, &apos;&amp;lt;&apos; not found\n&lt;/erro&gt;&lt;/erros&gt;&lt;/retorno&gt;</return></ns1:incluirContatoXMLResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
1553
1553
  http_version:
1554
- recorded_at: Tue, 08 Apr 2014 12:58:00 GMT
1554
+ recorded_at: Tue, 08 Apr 2014 13:46:02 GMT
1555
1555
  recorded_with: VCR 2.9.0
@@ -21,7 +21,7 @@ http_interactions:
21
21
  Content-Type:
22
22
  - text/xml; charset=ISO-8859-1
23
23
  Date:
24
- - Tue, 08 Apr 2014 12:58:01 GMT
24
+ - Tue, 08 Apr 2014 13:45:59 GMT
25
25
  Expires:
26
26
  - Thu, 19 Nov 1981 08:52:00 GMT
27
27
  Pragma:
@@ -29,7 +29,7 @@ http_interactions:
29
29
  Server:
30
30
  - Apache/2.2.25 (Amazon)
31
31
  Set-Cookie:
32
- - PHPSESSID=csg3oiobvic9ngs4kd9c7u2gisq256o9; path=/
32
+ - PHPSESSID=o3mfk9d0952e5pil5ubdqhimdjrn84nr; path=/
33
33
  X-Powered-By:
34
34
  - PHP/5.3.27
35
35
  Transfer-Encoding:
@@ -1494,7 +1494,7 @@ http_interactions:
1494
1494
  aW9uPSJodHRwOi8vd3d3LnRpbnkuY29tLmJyL2FwaTIucGhwIi8+CiAgPC9w
1495
1495
  b3J0Pgo8L3NlcnZpY2U+CjwvZGVmaW5pdGlvbnM+
1496
1496
  http_version:
1497
- recorded_at: Tue, 08 Apr 2014 12:58:01 GMT
1497
+ recorded_at: Tue, 08 Apr 2014 13:45:59 GMT
1498
1498
  - request:
1499
1499
  method: post
1500
1500
  uri: http://www.tiny.com.br/api2.php
@@ -1502,14 +1502,14 @@ http_interactions:
1502
1502
  encoding: US-ASCII
1503
1503
  string: <?xml version="1.0" encoding="UTF-8"?><env:Envelope xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1504
1504
  xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:tns="urn:tinywsdl"
1505
- xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:incluirContratoService><token><APIKEY></token><formato>json</formato></tns:incluirContratoService></env:Body></env:Envelope>
1505
+ xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"><env:Body><tns:incluirContratoService><token><APIKEY></token><foo>&quot;bar&quot;</foo><formato>json</formato></tns:incluirContratoService></env:Body></env:Envelope>
1506
1506
  headers:
1507
1507
  Soapaction:
1508
1508
  - ! '"urn:tinywsdl#incluirContratoService"'
1509
1509
  Content-Type:
1510
1510
  - text/xml;charset=UTF-8
1511
1511
  Content-Length:
1512
- - '401'
1512
+ - '427'
1513
1513
  Accept:
1514
1514
  - ! '*/*'
1515
1515
  User-Agent:
@@ -1524,7 +1524,7 @@ http_interactions:
1524
1524
  Content-Type:
1525
1525
  - text/xml; charset=UTF-8
1526
1526
  Date:
1527
- - Tue, 08 Apr 2014 12:58:01 GMT
1527
+ - Tue, 08 Apr 2014 13:45:59 GMT
1528
1528
  Expires:
1529
1529
  - Thu, 19 Nov 1981 08:52:00 GMT
1530
1530
  Pragma:
@@ -1532,24 +1532,23 @@ http_interactions:
1532
1532
  Server:
1533
1533
  - Apache/2.2.25 (Amazon)
1534
1534
  Set-Cookie:
1535
- - PHPSESSID=64a2fj62f053dvs8l9mgfr9emli563r1; path=/
1535
+ - PHPSESSID=evor22a51fnc8ueias04hthaso8a1cb9; path=/
1536
1536
  X-Powered-By:
1537
1537
  - PHP/5.3.27
1538
1538
  X-Soap-Server:
1539
1539
  - NuSOAP/0.9.5 (1.1)
1540
1540
  Content-Length:
1541
- - '942'
1541
+ - '808'
1542
1542
  Connection:
1543
1543
  - keep-alive
1544
1544
  body:
1545
1545
  encoding: US-ASCII
1546
- string: ! "<?xml version=\"1.0\" encoding=\"UTF-8\"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle=\"http://schemas.xmlsoap.org/soap/encoding/\"
1547
- xmlns:SOAP-ENV=\"http://schemas.xmlsoap.org/soap/envelope/\" xmlns:xsd=\"http://www.w3.org/2001/XMLSchema\"
1548
- xmlns:xsi=\"http://www.w3.org/2001/XMLSchema-instance\" xmlns:SOAP-ENC=\"http://schemas.xmlsoap.org/soap/encoding/\"><SOAP-ENV:Body><ns1:incluirContratoServiceResponse
1549
- xmlns:ns1=\"urn:tinywsdl\"><return xsi:type=\"xsd:string\">&lt;?xml version=&quot;1.0&quot;
1550
- encoding=&quot;UTF-8&quot;?&gt;&lt;retorno&gt;&lt;status_processamento&gt;1&lt;/status_processamento&gt;&lt;status&gt;Erro&lt;/status&gt;&lt;codigo_erro&gt;3&lt;/codigo_erro&gt;&lt;erros&gt;&lt;erro&gt;ERRO
1551
- XML mal formado, mensagem:\tStart tag expected, &apos;&amp;lt;&apos; not found\n\tStart
1552
- tag expected, &apos;&amp;lt;&apos; not found\n&lt;/erro&gt;&lt;/erros&gt;&lt;/retorno&gt;</return></ns1:incluirContratoServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>"
1546
+ string: <?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope SOAP-ENV:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
1547
+ xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema"
1548
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/"><SOAP-ENV:Body><ns1:incluirContratoServiceResponse
1549
+ xmlns:ns1="urn:tinywsdl"><return xsi:type="xsd:string">{&quot;retorno&quot;:{&quot;status_processamento&quot;:1,&quot;status&quot;:&quot;Erro&quot;,&quot;codigo_erro&quot;:&quot;6&quot;,&quot;erros&quot;:{&quot;erro&quot;:&quot;API
1550
+ Bloqueada - Excedido o n\u00famero de acessos a API, aguarde alguns minutos
1551
+ e tente novamente&quot;}}}</return></ns1:incluirContratoServiceResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>
1553
1552
  http_version:
1554
- recorded_at: Tue, 08 Apr 2014 12:58:02 GMT
1553
+ recorded_at: Tue, 08 Apr 2014 13:45:59 GMT
1555
1554
  recorded_with: VCR 2.9.0