Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save shyammohankanojia/48cd272a505b5988f0fdd90b231e963d to your computer and use it in GitHub Desktop.
Save shyammohankanojia/48cd272a505b5988f0fdd90b231e963d to your computer and use it in GitHub Desktop.
Diffs for his001 for cartwl
Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="MOL20170713063231_0623872" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEF50" dateTime="2017-09-27T23:00:00"></Pickup>
    <Return locationCode="KEF50" dateTime="2017-10-08T23:00:00"></Return>
    <Class>IFAR</Class>
    <CorpRateID>CTR-NET001</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Rate/RateID]
Tugboat: (string) "eb183103-af13-4cbb-b355-47cf665f025c:IFAR"
WebXML:  (string) "17070615430271IFAR"

Tugboat Response
===============================================================================================
Status Code:  200
<Response regardingReferenceNumber="COMPARETEST-20170713_093804-tugboat" webxg_id="eb183103-af13-4cbb-b355-47cf665f025c" version="2.2500" xmlns="http://www.thermeon.com/webXG/xml/webxml/">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>eb183103-af13-4cbb-b355-47cf665f025c:IFAR</RateID>
      <Class>IFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>836.00</Estimate>
      <RateOnlyEstimate>836.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_093804-webXML" version="2.2500" webxg_id="f8f55f58-67ae-11e7-8318-b0f5f6da1c0c">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>17070615430271IFAR</RateID>
      <Class>IFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>836.00</Estimate>
      <RateOnlyEstimate>836.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

2017/07/13 15:08:04 Reading request file 2017-07-13T05:32:32.102Z-zCnBx57_S2qBp5n6O-IgNQ.xml
2017/07/13 15:08:04 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/13 15:08:04 Making request to webXML...
2017/07/13 15:08:04 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
2017/07/13 15:08:05 Could not find rates in response
2017/07/13 15:08:05 Got response from tugboat
2017/07/13 15:08:06 Could not find rates in response
2017/07/13 15:08:06 Got response from webXML


Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="CAR20170713071644_0692297" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEF50" dateTime="2017-08-08T00:05:00"></Pickup>
    <Return locationCode="KEF50" dateTime="10000-01-01T00:00:00"></Return>
    <CorpRateID>CTR-NET002</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Messages/Message/Text]
Tugboat: (string) "INVALID RETURN DATE                                         (1344)"
WebXML:  (string) "INVALID RETURN DATE"

Tugboat Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_100717-tugboat" version="2.2500" webxg_id="0e011ffa-67b3-11e7-9298-d21b2701cf07">
  <ResRates success="false">
    <Messages>
      <Message number="1344" type="Error">
        <Text>INVALID RETURN DATE                                         (1344)</Text>
      </Message>
    </Messages>
    <Count>0</Count>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_100717-webXML" version="2.2500" webxg_id="0e0143fe-67b3-11e7-8192-221c2701cf07">
  <ResRates success="false">
    <Messages>
      <Message number="1344" type="Error">
        <Text>INVALID RETURN DATE                                         (1344)</Text>
      </Message>
    </Messages>
    <Count>0</Count>
  </ResRates>
</Response>

2017/07/13 15:37:17 Reading request file 2017-07-13T06:16:45.014Z-NY2rV4gfQpigcoPsBTcYlQ.xml
2017/07/13 15:37:17 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/13 15:37:17 Making request to webXML...
2017/07/13 15:37:17 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
2017/07/13 15:37:19 Could not find rates in response
2017/07/13 15:37:19 Got response from webXML
2017/07/13 15:37:20 Could not find rates in response
2017/07/13 15:37:20 Got response from tugboat


Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="RUT20170713071941_0641196" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEF50" dateTime="2017-07-17T07:30:00"></Pickup>
    <Return locationCode="KEF50" dateTime="2017-07-27T15:00:00"></Return>
    <Class>CWMN</Class>
    <CorpRateID>CTR-NET001</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Rate/RateID]
Tugboat: (string) "767d2667-3859-4830-955a-149b55fcfaa4:CWMN"
WebXML:  (string) "17070710522645CWMN"

Tugboat Response
===============================================================================================
Status Code:  200
<Response regardingReferenceNumber="COMPARETEST-20170713_100957-tugboat" webxg_id="767d2667-3859-4830-955a-149b55fcfaa4" version="2.2500" xmlns="http://www.thermeon.com/webXG/xml/webxml/">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>767d2667-3859-4830-955a-149b55fcfaa4:CWMN</RateID>
      <Class>CWMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>1221.00</Estimate>
      <RateOnlyEstimate>1221.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_100957-webXML" version="2.2500" webxg_id="6d2617ec-67b3-11e7-a579-f53905bd794c">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>17070710522645CWMN</RateID>
      <Class>CWMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>1221.00</Estimate>
      <RateOnlyEstimate>1221.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

2017/07/13 15:39:57 Reading request file 2017-07-13T06:19:42.418Z-3kUzAMpOTlmi-427OzhzmQ.xml
2017/07/13 15:39:57 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/13 15:39:57 Making request to webXML...
2017/07/13 15:39:57 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
2017/07/13 15:39:58 Could not find rates in response
2017/07/13 15:39:58 Got response from tugboat
2017/07/13 15:39:59 Could not find rates in response
2017/07/13 15:39:59 Got response from webXML


Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="RUB20170713063740_0637838" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEF50" dateTime="2017-09-27T23:00:00"></Pickup>
    <Return locationCode="KEF50" dateTime="2017-10-08T23:00:00"></Return>
    <Class>IFAR</Class>
    <CorpRateID>CTR-NET001</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Rate/RateID]
Tugboat: (string) "eb8fd37e-5a47-4b69-a95b-bbea2efe09a7:IFAR"
WebXML:  (string) "17070615430271IFAR"

Tugboat Response
===============================================================================================
Status Code:  200
<Response regardingReferenceNumber="COMPARETEST-20170713_094037-tugboat" webxg_id="eb8fd37e-5a47-4b69-a95b-bbea2efe09a7" version="2.2500" xmlns="http://www.thermeon.com/webXG/xml/webxml/">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>eb8fd37e-5a47-4b69-a95b-bbea2efe09a7:IFAR</RateID>
      <Class>IFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>836.00</Estimate>
      <RateOnlyEstimate>836.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_094037-webXML" version="2.2500" webxg_id="548ad7b2-67af-11e7-bc61-b30c05bd794c">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>17070615430271IFAR</RateID>
      <Class>IFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>836.00</Estimate>
      <RateOnlyEstimate>836.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

2017/07/13 15:10:37 Reading request file 2017-07-13T05:37:40.229Z-JcnRaO0lTKu36pvk1_uxiQ.xml
2017/07/13 15:10:37 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/13 15:10:37 Making request to webXML...
2017/07/13 15:10:37 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
2017/07/13 15:10:37 Could not find rates in response
2017/07/13 15:10:37 Got response from tugboat
2017/07/13 15:10:40 Could not find rates in response
2017/07/13 15:10:40 Got response from webXML

Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="MOL20170713074151_0013046" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEF50" dateTime="2017-07-24T23:00:00"></Pickup>
    <Return locationCode="KEF50" dateTime="2017-07-28T13:00:00"></Return>
    <Class>EDMN</Class>
    <CorpRateID>CTR-NET001</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Rate/RateID]
Tugboat: (string) "fcf78e6e-8246-43b5-8eaa-3efe26e2e8aa:EDMN"
WebXML:  (string) "17070710522645EDMN"

Tugboat Response
===============================================================================================
Status Code:  200
<Response regardingReferenceNumber="COMPARETEST-20170713_102915-tugboat" webxg_id="fcf78e6e-8246-43b5-8eaa-3efe26e2e8aa" version="2.2500" xmlns="http://www.thermeon.com/webXG/xml/webxml/">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>fcf78e6e-8246-43b5-8eaa-3efe26e2e8aa:EDMN</RateID>
      <Class>EDMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>260.00</Estimate>
      <RateOnlyEstimate>260.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_102915-webXML" version="2.2500" webxg_id="1f2ec784-67b6-11e7-bf31-68ab174848dc">
  <ResRates success="true">
    <Count>1</Count>
    <Rate>
      <RateID>17070710522645EDMN</RateID>
      <Class>EDMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>260.00</Estimate>
      <RateOnlyEstimate>260.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

2017/07/13 15:59:15 Reading request file 2017-07-13T06:41:52.216Z-sW7cObX7TaO2kdRjf773Zw.xml
2017/07/13 15:59:15 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/13 15:59:15 Making request to webXML...
2017/07/13 15:59:15 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
2017/07/13 15:59:15 Could not find rates in response
2017/07/13 15:59:15 Got response from tugboat
2017/07/13 15:59:17 Could not find rates in response
2017/07/13 15:59:17 Got response from webXML

Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="NIO20170713080753_0027929" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEF50" dateTime="2017-07-29T14:40:00"></Pickup>
    <Return locationCode="KEF50" dateTime="2017-08-05T14:40:00"></Return>
    <CorpRateID>CTR-NET002</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Rate/[0]/Estimate]
Tugboat: (string) "637.00"
WebXML:  (string) "644.00"

[/Response/ResRates/Rate/[0]/RateOnlyEstimate]
Tugboat: (string) "637.00"
WebXML:  (string) "644.00"

Tugboat Response
===============================================================================================
Status Code:  200
<Response regardingReferenceNumber="COMPARETEST-20170713_105522-tugboat" webxg_id="897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071" version="2.2500" xmlns="http://www.thermeon.com/webXG/xml/webxml/">
  <ResRates success="true">
    <Count>9</Count>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:CDAN</RateID>
      <Class>CDAN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>637.00</Estimate>
      <RateOnlyEstimate>637.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:MBMN</RateID>
      <Class>MBMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>385.00</Estimate>
      <RateOnlyEstimate>385.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:EDMN</RateID>
      <Class>EDMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>399.00</Estimate>
      <RateOnlyEstimate>399.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:CDMN</RateID>
      <Class>CDMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>532.00</Estimate>
      <RateOnlyEstimate>532.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:CWMN</RateID>
      <Class>CWMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>777.00</Estimate>
      <RateOnlyEstimate>777.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:IWMN</RateID>
      <Class>IWMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>903.00</Estimate>
      <RateOnlyEstimate>903.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:IFAR</RateID>
      <Class>IFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>896.00</Estimate>
      <RateOnlyEstimate>896.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:FFAR</RateID>
      <Class>FFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>2156.00</Estimate>
      <RateOnlyEstimate>2156.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:LVAN</RateID>
      <Class>LVAN</Class>
      <Availability>UnAvailable</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>0.00</Estimate>
      <RateOnlyEstimate>0.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170713_105522-webXML" version="2.2500" webxg_id="c5fad9ce-67b9-11e7-8817-7a6c05bd794c">
  <ResRates success="true">
    <Count>9</Count>
    <Rate>
      <RateID>17071310552375MBMN</RateID>
      <Class>MBMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>385.00</Estimate>
      <RateOnlyEstimate>385.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375EDMN</RateID>
      <Class>EDMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>399.00</Estimate>
      <RateOnlyEstimate>399.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375CDMN</RateID>
      <Class>CDMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>532.00</Estimate>
      <RateOnlyEstimate>532.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375CDAN</RateID>
      <Class>CDAN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>644.00</Estimate>
      <RateOnlyEstimate>644.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375CWMN</RateID>
      <Class>CWMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>777.00</Estimate>
      <RateOnlyEstimate>777.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375IWMN</RateID>
      <Class>IWMN</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>903.00</Estimate>
      <RateOnlyEstimate>903.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>230000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375IFAR</RateID>
      <Class>IFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>896.00</Estimate>
      <RateOnlyEstimate>896.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375FFAR</RateID>
      <Class>FFAR</Class>
      <Availability>Available</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>2156.00</Estimate>
      <RateOnlyEstimate>2156.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
    <Rate>
      <RateID>17071310552375LVAN</RateID>
      <Class>LVAN</Class>
      <Availability>UnAvailable</Availability>
      <CurrencyCode>EUR</CurrencyCode>
      <Estimate>0.00</Estimate>
      <RateOnlyEstimate>0.00</RateOnlyEstimate>
      <DropCharge responsibility="renter">0.00</DropCharge>
      <Distance>
        <Included>unlimited</Included>
      </Distance>
      <Liability>380000</Liability>
      <PrePaid>false</PrePaid>
    </Rate>
  </ResRates>
</Response>

2017/07/13 16:25:22 Reading request file 2017-07-13T07:07:53.459Z-IzcEQcUNSlCpux55VBGVEg.xml
2017/07/13 16:25:22 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/13 16:25:22 Making request to webXML...
2017/07/13 16:25:22 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:CDAN
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:MBMN
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:EDMN
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:CDMN
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:CWMN
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:IWMN
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:IFAR
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:FFAR
897fe2fc-7388-4b6e-a0ae-a2e3eb9e4071:LVAN
2017/07/13 16:25:24 Got response from tugboat
17071310552375MBMN
17071310552375EDMN
17071310552375CDMN
17071310552375CDAN
17071310552375CWMN
17071310552375IWMN
17071310552375IFAR
17071310552375FFAR
17071310552375LVAN
2017/07/13 16:25:26 Got response from webXML

Request
===============================================================================================
<Request xmlns="http://www.thermeon.com/webXG/xml/webxml/" referenceNumber="YTT20170714090938_0937367" version="2.2500">
  <ResRates>
    <Pickup locationCode="KEX50" dateTime="2018-05-20T10:00:00"></Pickup>
    <Return locationCode="KEX50" dateTime="2018-06-02T10:00:00"></Return>
    <CorpRateID>CAR-FF001</CorpRateID>
    <EstimateType>3</EstimateType>
  </ResRates>
</Request>

Differences
===============================================================================================
[/Response/ResRates/Messages/Message/[0]/Text]
Tugboat: (string) "CONTRACT RECORD NOT FOUND FOR CORP ID                        (615)"
WebXML:  (string) "CONTRACT RECORD NOT FOUND FOR CORP ID"

[/Response/ResRates/Messages/Message/[1]/Text]
Tugboat: (string) "INVALID PICK-UP LOCATION                                    (1343)"
WebXML:  (string) "INVALID PICK-UP LOCATION"

[/Response/ResRates/Messages/Message/[2]/Text]
Tugboat: (string) "INVALID RETURN LOCATION                                     (1346)"
WebXML:  (string) "INVALID RETURN LOCATION"

[/Response/ResRates/Messages/Message/[3]/Text]
Tugboat: (string) "RETURN LOCATION IS MISSING                                  (1358)"
WebXML:  (string) "RETURN LOCATION IS MISSING"

Tugboat Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170714_081354-tugboat" version="2.2500" webxg_id="5d31bbc0-686c-11e7-a0b0-a2c7566634a3">
  <ResRates success="false">
    <Messages>
      <Message number="615" type="Error">
        <Text>CONTRACT RECORD NOT FOUND FOR CORP ID                        (615)</Text>
      </Message>
      <Message number="1343" type="Error">
        <Text>INVALID PICK-UP LOCATION                                    (1343)</Text>
      </Message>
      <Message number="1346" type="Error">
        <Text>INVALID RETURN LOCATION                                     (1346)</Text>
      </Message>
      <Message number="1358" type="Error">
        <Text>RETURN LOCATION IS MISSING                                  (1358)</Text>
      </Message>
    </Messages>
    <Count>0</Count>
  </ResRates>
</Response>

webXML Response
===============================================================================================
Status Code:  200
<Response xmlns="http://www.thermeon.com/webXG/xml/webxml/" regardingReferenceNumber="COMPARETEST-20170714_081354-webXML" version="2.2500" webxg_id="5dd361f0-686c-11e7-be7e-77635acd59cc">
  <ResRates success="false">
    <Messages>
      <Message number="615" type="Error">
        <Text>CONTRACT RECORD NOT FOUND FOR CORP ID                        (615)</Text>
      </Message>
      <Message number="1343" type="Error">
        <Text>INVALID PICK-UP LOCATION                                    (1343)</Text>
      </Message>
      <Message number="1346" type="Error">
        <Text>INVALID RETURN LOCATION                                     (1346)</Text>
      </Message>
      <Message number="1358" type="Error">
        <Text>RETURN LOCATION IS MISSING                                  (1358)</Text>
      </Message>
    </Messages>
    <Count>0</Count>
  </ResRates>
</Response>

2017/07/14 13:43:54 Reading request file 2017-07-14T08:09:39.003Z-wD8XK2UdQCue0Dc0pizGHQ.xml
2017/07/14 13:43:54 Error creating pasture. Haystack will not be checked. Error: 2 error(s) occurred:

* Cassandra cluster addresses is missing
* Cassandra keyspace is missing
2017/07/14 13:43:54 Making request to webXML...
2017/07/14 13:43:54 Making request to tugboat...
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
[]�[32mstring�[0m{
  �[31m�[1m"�[0m�[31mBasic Y2FydHdsOiRpRzZEYTIq�[0m�[31m�[1m"�[0m,
}
2017/07/14 13:43:55 Got response from tugboat
2017/07/14 13:43:56 Got response from webXML

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment