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

RE: Call to HTTP_URL_P ended in error



   Sorry, here is the dump.


   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

   [1]www.nulogx.com | Transportation Management Solutions |
   [2]www.cgfi.ca | Canadian General Freight Index - Register Today



   From: Naresh Mistry
   Sent: Wednesday, May 09, 2012 3:04 PM
   To: HTTPAPI and FTPAPI Projects
   Subject: Call to HTTP_URL_P ended in error



   All,

          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.


   thanks

   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

   [3]www.nulogx.com | Transportation Management Solutions |
   [4]www.cgfi.ca | Canadian General Freight Index - Register Today

References

   1. http://www.nulogx.com/
   2. http://www.cgfi.ca/
   3. http://www.nulogx.com/
   4. http://www.cgfi.ca/
HTTPAPI Ver 1.23 released 2008-04-24
OS/400 Ver V6R1M0

New iconv() objects set, PostRem=819. PostLoc=0. ProtRem=819. ProtLoc=0
http_persist_open(): entered
http_long_ParseURL(): entered
DNS resolver retrans: 2
DNS resolver retry  : 2
DNS resolver options: x'00000136'
DNS default domain: corp.nulogx.com
DNS server found: 10.1.2.10
DNS server found: 10.100.1.9
http_persist_post(): entered
http_long_ParseURL(): entered
do_post(): entered
POST /AdminManager/services/RateWareXL HTTP/1.1
Host: demo.smc3.com
User-Agent: http-api/1.23
Content-Type: text/xml
Expect: 100-continue
Content-Length: 2444


recvresp(): entered
HTTP/1.1 100 Continue


SetError() #13: HTTP/1.1 100 Continue
senddoc(): entered
<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>US</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>US</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>
recvresp(): entered
HTTP/1.1 200 OK
Date: Wed, 09 May 2012 18:50:38 GMT
Content-Type: text/xml;charset=UTF-8
Transfer-Encoding: chunked


SetError() #13: HTTP/1.1 200 OK
recvdoc parms: chunked 0
header_load_cookies() entered
recvchunk(): entered
get_chunk_size(): entered
101e

chunk size = 4126
get_chunk_size returned 4126
calling comm_blockread
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd="http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";><soap:Body><ns1:LTLRateShipmentResponse xmlns:ns1="http://webservices.smc.com";><ns1:LTLRateShipmentResponse><LHGrossCharge xmlns="http://web.ltl.smc.com";>0</LHGrossCharge><LTL_Surcharge xmlns="http://web.ltl.smc.com";></LTL_Surcharge><RBNO xmlns="http://web.ltl.smc.com";></RBNO><TL_Surcharge xmlns="http://web.ltl.smc.com";></TL_Surcharge><absoluteMCFloor xmlns="http://web.ltl.smc.com";>0</absoluteMCFloor><actualWgt xmlns="http://web.ltl.smc.com";>0</actualWgt><billedWgt xmlns="http://web.ltl.smc.com";>0</billedWgt><deficitCharge xmlns="http://web.ltl.smc.com";>0</deficitCharge><deficitRate xmlns="http://web.ltl.smc.com";>0</deficitRate><deficitWeight xmlns="http://web.ltl.smc.com";>0</deficitWeight><destinationCity xmlns="http://web.ltl.smc.com";></destinationCity><destinationCountry xmlns="http://web.ltl.smc.com";>US</destinationCountry><destinationPostalCode xmlns="http://web.ltl.smc.com";>40111</destinationPostalCode><destinationState xmlns="http://web.ltl.smc.com";></destinationState><details xmlns="http://web.ltl.smc.com";><LTLResponseDetail><charge></charge><error>0</error><nmfcClass>65</nmfcClass><rate></rate><weight>498.0000</weight></LTLResponseDetail></details><discountAmount xmlns="http://web.ltl.smc.com";>0</discountAmount><discountApplication xmlns="http://web.ltl.smc.com";>C</discountApplication><discountPctUsed xmlns="http://web.ltl.smc.com";>0</discountPctUsed><effectiveDate xmlns="http://web.ltl.smc.com";></effectiveDate><errorCode xmlns="http://web.ltl.smc.com";>28</errorCode><mcDiscount xmlns="http://web.ltl.smc.com";>60</mcDiscount><minimumCharge xmlns="http://web.ltl.smc.com";>0</minimumCharge><orgDestToGateWayPointFlag xmlns="http://web.ltl.smc.com";></orgDestToGateWayPointFlag><originCity xmlns="http://web.ltl.smc.com";></originCity><originCountry xmlns="http://web.ltl.smc.com";>US</originCountry><originPostalCode xmlns="http://web.ltl.smc.com";>30344</originPostalCode><originState xmlns="http://web.ltl.smc.com";></originState><rateAdjustmentFactor xmlns="http://web.ltl.smc.com";>1.0</rateAdjustmentFactor><rateApplication xmlns="http://web.ltl.smc.com";></rateApplication><shipmentDateCCYYMMDD xmlns="http://web.ltl.smc.com";>20110110</shipmentDateCCYYMMDD><shipmentID xmlns="http://web.ltl.smc.com";></shipmentID><stopAlternationWeight xmlns="http://web.ltl.smc.com";></stopAlternationWeight><suffix xmlns="http://web.ltl.smc.com";></suffix><surchargeAmount xmlns="http://web.ltl.smc.com";>0</surchargeAmount><surchargeApplication xmlns="http://web.ltl.smc.com";>N</surchargeApplication><surchargePercentUsed xmlns="http://web.ltl.smc.com";>0</surchargePercentUsed><tariffName xmlns="http://web.ltl.smc.com";>DEMOLTLA</tariffName><tblno xmlns="http://web.ltl.smc.com";></tblno><totalCharge xmlns="http://web.ltl.smc.com";>0</totalCharge><useDiscounts xmlns="http://web.ltl.smc.com";>Y</useDiscounts><useSingleShipmentCharges xmlns="http://web.ltl.smc.com";>N</useSingleShipmentCharges><userMinimumChargeFloor xmlns="http://web.ltl.smc.com";></userMinimumChargeFloor><weightBreak_Discount_1 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_1><weightBreak_Discount_10 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_10><weightBreak_Discount_11 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_11><weightBreak_Discount_2 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_2><weightBreak_Discount_3 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_3><weightBreak_Discount_4 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_4><weightBreak_Discount_5 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_5><weightBreak_Discount_6 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_6><weightBreak_Discount_7 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_7><weightBreak_Discount_8 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_8><weightBreak_Discount_9 xmlns="http://web.ltl.smc.com";></weightBreak_Discount_9></ns1:LTLRateShipmentResponse></ns1:LTLRateShipmentResponse></soap:Body></soap:Envelope>
comm_blockread returned 4126
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------