[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

RE: Call to HTTP_URL_P ended in error



Sorry Scott, file SoapRequestB.txt was the soap response, I have attached the correct soap request SoapequestBB.txt, the one that does not cause the crash.

Naresh 

Naresh Mistry | TM Architect | Nulogx Inc. | 5090 Explorer Dr, Suite 203, Mississauga, ON L4W 4T9 | T: 905-486-1162 x 238 | F: 905-267-3164 | C: 416-820-5231
www.nulogx.com | Transportation Management Solutions | www.cgfi.ca | Canadian General Freight Index - Register Today



-----Original Message-----
From: Naresh Mistry 
Sent: Friday, May 11, 2012 6:56 PM
To: HTTPAPI and FTPAPI Projects
Subject: RE: Call to HTTP_URL_P ended in error

Hi Scott,
         I have attached soap request SoapRequestA.txt file that causes the crash, along with the dump. The crash happens when I send an invalid country code 'US', however the soap response does send back an error code '28'. I have also attached the soap request SoapRequestB.txt file that does not cause the crash, this is when I send a valid country code 'USA'. I hope this helps you to debug the issue. Let me know if you want any further information.

Naresh     

Naresh Mistry | TM Architect | Nulogx Inc. | 5090 Explorer Dr, Suite 203, Mississauga, ON L4W 4T9 | T: 905-486-1162 x 238 | F: 905-267-3164 | C: 416-820-5231 www.nulogx.com | Transportation Management Solutions | www.cgfi.ca | Canadian General Freight Index - Register Today


-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Scott Klement
Sent: Friday, May 11, 2012 5:18 PM
To: HTTPAPI and FTPAPI Projects
Subject: Re: Call to HTTP_URL_P ended in error

Hi Naresh,

This is a strange problem... I haven't seen it before.

How can I reproduce it, so I can debug it further?


On 5/9/2012 2:05 PM, Naresh Mistry wrote:
>            I am trying to monitor for error messages from the soap
>     response, i.e. if an element had the wrong value sent an error code
>     would be returned. When I check the dump the error code is returned but
>     I get the following error when calling  http_url_post_xml:
>
>     Length or start position is out of range for the string operation.
>
>     The call to HTTP_URL_P ended in error (C G D F).
>
>     I have attached the dump. I would be grateful if someone could look
>     into this.
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------
<?xml version="1.0"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:web="http://webservices.smc.com"; xmlns:web1="http://web.ltl.smc.com";>
  <soapenv:Header>
    <web:AuthenticationToken>
      <web:licenseKey>T38SI7AWZg98</web:licenseKey>
      <web:password>IYKL34K3</web:password>
      <web:username>naresh.mistry@xxxxxxxxxx</web:username>
    </web:AuthenticationToken>
  </soapenv:Header>
  <soapenv:Body>
    <web:LTLRateShipment>
      <web:LTLRateShipmentRequest>
        <web1:LTL_Surcharge> </web1:LTL_Surcharge>
        <web1:TL_Surcharge> </web1:TL_Surcharge>
        <web1:destinationCity> </web1:destinationCity>
        <web1:destinationCountry>USA</web1:destinationCountry>
        <web1:destinationPostalCode>40111       </web1:destinationPostalCode>
        <web1:destinationCity> </web1:destinationCity>
        <web1:details>
          <web1:LTLRequestDetail>
            <web1:nmfcClass> 65 </web1:nmfcClass>
            <web1:weight>    498.0000</web1:weight>
          </web1:LTLRequestDetail>
        </web1:details>
        <web1:discountApplication>c</web1:discountApplication>
        <web1:mcDiscount>60</web1:mcDiscount>
        <web1:orgDestToGateWayPointFlag> </web1:orgDestToGateWayPointFlag>
        <web1:originCity> </web1:originCity>
        <web1:originCountry>USA</web1:originCountry>
        <web1:originPostalCode>30344       </web1:originPostalCode>
        <web1:originState> </web1:originState>
        <web1:rateAdjustmentFactor>1.0</web1:rateAdjustmentFactor>
        <web1:shipmentDateCCYYMMDD>20110110</web1:shipmentDateCCYYMMDD>
        <web1:shipmentID> </web1:shipmentID>
        <web1:stopAlternationWeight> </web1:stopAlternationWeight>
        <web1:surchargeApplication> </web1:surchargeApplication>
        <web1:tariffName>DEMOLTLA  </web1:tariffName>
        <web1:useDiscounts> </web1:useDiscounts>
        <web1:useSingleShipmentCharges> </web1:useSingleShipmentCharges>
        <web1:userMinimumChargeFloor> </web1:userMinimumChargeFloor>
        <web1:weightBreak_Discount_1> </web1:weightBreak_Discount_1>
        <web1:weightBreak_Discount_10> </web1:weightBreak_Discount_10>
        <web1:weightBreak_Discount_11> </web1:weightBreak_Discount_11>
        <web1:weightBreak_Discount_2> </web1:weightBreak_Discount_2>
        <web1:weightBreak_Discount_3> </web1:weightBreak_Discount_3>
        <web1:weightBreak_Discount_4> </web1:weightBreak_Discount_4>
        <web1:weightBreak_Discount_5> </web1:weightBreak_Discount_5>
        <web1:weightBreak_Discount_6> </web1:weightBreak_Discount_6>
        <web1:weightBreak_Discount_7> </web1:weightBreak_Discount_7>
        <web1:weightBreak_Discount_8> </web1:weightBreak_Discount_8>
        <web1:weightBreak_Discount_9> </web1:weightBreak_Discount_9>
      </web:LTLRateShipmentRequest>
    </web:LTLRateShipment>
  </soapenv:Body>
</soapenv:Envelope>
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------