NetTalk Central

Author Topic: Web Service Failure  (Read 2369 times)

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Web Service Failure
« on: July 07, 2014, 12:17:43 AM »
Hi Bruce,

Attached is the return message to the client out of my Web Service. What I can't make out of is what does the 1.1 200 OK followed by 1.1 404 Not Found mean, Which went OK and which wasn't found when it was actually responding to the client?


Thanks,
Vic
 

[attachment deleted by admin]

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11182
    • View Profile
Re: Web Service Failure
« Reply #1 on: July 08, 2014, 01:13:28 AM »
it would be helpful to see the requests in this log as well.

cheers
Bruce

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: Web Service Failure
« Reply #2 on: July 08, 2014, 05:22:06 PM »
Hi Bruce,

Will the request from the client side be enough or you need the request as it arrives on the server side?

Thanks,
Vic

Bruce

  • Global Moderator
  • Hero Member
  • *****
  • Posts: 11182
    • View Profile
Re: Web Service Failure
« Reply #3 on: July 09, 2014, 01:39:55 AM »
either will do - they should be the same.

cheers
Bruce

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: Web Service Failure
« Reply #4 on: July 09, 2014, 09:10:40 PM »
Hi Bruce,

Found the cause of the Error to an empty XML that was caused by an occasional read failure off a file. This caused xmldata to be empty which resulted to a 404 Not Found Response. 

Thanks,
Vic

de la Rosa

  • Full Member
  • ***
  • Posts: 128
    • View Profile
    • Email
Re: Web Service Failure
« Reply #5 on: July 14, 2014, 04:53:53 PM »
Hi Bruce,

For some reason it appears that when the XML comes out empty, the XML is not wrapped in a SOAP envelope and a *.tmp file is generated instead. It's like it failed to read the settings on "Save TweakSettings" embed point MyXml.SOAPEnvelope = 1.

Vic