× The internal search function is temporarily non-functional. The current search engine is no longer viable and we are researching alternatives.
As a stop gap measure, we are using Google's custom search engine service.
If you know of an easy to use, open source, search engine ... please contact support@midrange.com.



As I said before, it may be worth contacting IBM for an RFE. I find it odd
IBM would limit like that with a product they're expecting people to use.


On Thu, Jul 25, 2019 at 1:55 PM Suren K <suren7437@xxxxxxxxx> wrote:

Yes Scott. I am using IWS. This is limitation in IWS it seems. I will send
the httpsstatus code in output string by setting the httpStatus code as
always 200 and also will request the client the ignore the httpstatus code
and instead use the code in the response string.

Regards,
Surender K

On Thu, Jul 25, 2019 at 1:25 PM Scott Klement <rpg400-l@xxxxxxxxxxxxxxxx>
wrote:

The RFCs have always allowed you to return a payload with non-2xx status
codes.

If you write your own web service with Apache, et al, you can do this as
well.

It sounds like Suren is having this problem with IWS, so I was hoping to
see a response from Nadir about it. Good chance that this is a
limitation in IWS, but he's the expert.


On 7/25/2019 11:12 AM, B Stone wrote:
Remember HTTP status codes are for the state of the HTTP
communications,
not what happened in the background (ie, the data they sent was
invalid)

I have seen payloads returned with 4xx 5xx codes before though. Not
sure
what the RFC is on that offhand. But if IBM is returning no payload, I
would venture to guess that is the correct method as most other
protocols
IBM is VERY adherent to the RFCs... almost to a fault sometimes. :)


Bradley V. Stone
www.bvstools.com
MAILTOOL Benefit #13 <https://www.bvstools.com/mailtool.html>: The
ability
to use an IFS stream file as the body of the email (either text or
html).


--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com

--
This is the RPG programming on IBM i (RPG400-L) mailing list
To post a message email: RPG400-L@xxxxxxxxxxxxxxxxxx
To subscribe, unsubscribe, or change list options,
visit: https://lists.midrange.com/mailman/listinfo/rpg400-l
or email: RPG400-L-request@xxxxxxxxxxxxxxxxxx
Before posting, please take a moment to review the archives
at https://archive.midrange.com/rpg400-l.

Please contact support@xxxxxxxxxxxx for any subscription related
questions.

Help support midrange.com by shopping at amazon.com with our affiliate
link: https://amazon.midrange.com


As an Amazon Associate we earn from qualifying purchases.

This thread ...

Follow-Ups:
Replies:

Follow On AppleNews
Return to Archive home page | Return to MIDRANGE.COM home page

This mailing list archive is Copyright 1997-2024 by midrange.com and David Gibbs as a compilation work. Use of the archive is restricted to research of a business or technical nature. Any other uses are prohibited. Full details are available on our policy page. If you have questions about this, please contact [javascript protected email address].

Operating expenses for this site are earned using the Amazon Associate program and Google Adsense.