Author Topic: Foxpro prg Post gets Response. Exe gets No Response (NULL)  (Read 485 times)

alardt

  • Newbie
  • *
  • Posts: 1
  • Karma: +0/-0
    • View Profile
Foxpro prg Post gets Response. Exe gets No Response (NULL)
« on: February 02, 2018, 04:30:58 PM »
Same code in both places.  I get an object back in my response on the stand alone program.  In the executable, I don't get an object back.  It's always NULL

loHTTP.connecttimeout = 40
loHTTP.readtimeout = 40
loHTTP.SetRequestHeader("SoapAction","urn:insertTitle")
loResponse = loHTTP.PostXml(lcURL, lcXML, "utf-8")

loResponse is null in the executable

Chilkat

  • Administrator
  • Full Member
  • *****
  • Posts: 103
  • Karma: +6/-0
    • View Profile
Re: Foxpro prg Post gets Response. Exe gets No Response (NULL)
« Reply #1 on: February 02, 2018, 05:08:50 PM »
1) Any Chilkat method that returns an object will return null if it failed.

2) For any Chilkat method, in any class, when a method returns failure, check the contents of the object's LastErrorText property.  It'll have information about what happened.