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

RE: Web Service



500 errors are generated for any number of reasons and often are rather generic. So much reading between the lines is needed.

This looks like a problem on the web server side for a couple of reasons. One, you got back html style xml. That is usually not coming from a web service but from the web server behind the web service. Normally, one would expect to get back xml style error (<error>500</error>. It could but probably not. Two, it is saying to check the log file on the server to see what is wrong.

Other possibilities. This could be generated because of an invalid URL for the web service. It could be generated because of  invalid XML.

Is this a simple "GET" type web service and you can use a browser to invoke this web service? Does it work there? Is there a test on the web server you can run to make sure the service is active?

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of Mauricio Diaz-Lapham
Sent: Wednesday, April 17, 2013 8:55 AM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Web Service

Hi all,

Please ignore my last message I found in the code where the Debug log file is. But I do have another problem.

I am trying to consume a web service that gets the client ID. I got a 500 Internal Server Error. Here is the log

<body>
  <!-- This file lives in public/500.html -->
  <div class="dialog">
    <h1>We're sorry, but something went wrong.</h1>
    <p>We've been notified about this issue and we'll take a look at it shortly.
    <p><small>(If you're the administrator of this website, then please read
    the log file "<%=h RAILS_ENV %>.log"
    to find out what went wrong.)</small></p>
  </div>
</body>
</html>

Does this mean the error is on the web site or on how I am building the XML?

Thanks,

Mauricio


[cid:image001.jpg@01CE3B49.2C81F990]
iSeries Software Engineer
563 468 4806
mdiazlapham@xxxxxxxxxxx

-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------