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

Web Service



Thanks Mike.

-----Original Message-----
From: ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx [mailto:ftpapi-bounces@xxxxxxxxxxxxxxxxxxxxxx] On Behalf Of ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx
Sent: Wednesday, April 17, 2013 12:00 PM
To: ftpapi@xxxxxxxxxxxxxxxxxxxxxx
Subject: Ftpapi Digest, Vol 78, Issue 30

Send Ftpapi mailing list submissions to
	ftpapi@xxxxxxxxxxxxxxxxxxxxxx

To subscribe or unsubscribe via the World Wide Web, visit
	http://scottklement.com/mailman/listinfo/ftpapi
or, via email, send a message with subject or body 'help' to
	ftpapi-request@xxxxxxxxxxxxxxxxxxxxxx

You can reach the person managing the list at
	ftpapi-owner@xxxxxxxxxxxxxxxxxxxxxx

When replying, please edit your Subject line so it is more specific than "Re: Contents of Ftpapi digest..."


Today's Topics:

   1. Web Service (Mauricio Diaz-Lapham)
   2. RE: Web Service (Mike Krebs)


----------------------------------------------------------------------

Message: 1
Date: Wed, 17 Apr 2013 08:54:30 -0500
From: Mauricio Diaz-Lapham <MDiaz-Lapham@xxxxxxxxxxx>
To: "ftpapi@xxxxxxxxxxxxxxxxxxxxxx" <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: Web Service
Message-ID:
	<C57EB3C22F3F2F448117320F4CD46C9236431C2011@xxxxxxxxxxxxxxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

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

-------------- next part --------------
   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



   Description: cid:image001.jpg@01CDBD01.7D305970

   iSeries Software Engineer

   563 468 4806

   mdiazlapham@xxxxxxxxxxx
-------------- next part --------------
A non-text attachment was scrubbed...
Name: image001.jpg
Type: image/jpeg
Size: 2650 bytes
Desc: image001.jpg
URL: <http://scottklement.com/pipermail/ftpapi/attachments/20130417/82ba319b/attachment.jpg>

------------------------------

Message: 2
Date: Wed, 17 Apr 2013 10:49:40 -0500
From: Mike Krebs <mkrebs@xxxxxxxxxxxxxxxxxx>
To: HTTPAPI and FTPAPI Projects <ftpapi@xxxxxxxxxxxxxxxxxxxxxx>
Subject: RE: Web Service
Message-ID: <3DF08BA25872B644A1421B9F085B18299F48A8907A@xxxxxxxxxxxx>
Content-Type: text/plain; charset="us-ascii"

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 digest.  To unsubscribe, go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------


End of Ftpapi Digest, Vol 78, Issue 30
**************************************
-----------------------------------------------------------------------
This is the FTPAPI mailing list.  To unsubscribe, please go to:
http://www.scottklement.com/mailman/listinfo/ftpapi
-----------------------------------------------------------------------