× 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.



Sorry, forgot to paste the link:

http://www-01.ibm.com/support/docview.wss?uid=nas8N1021918&myns=ibmi&mynp=OCSSTS2D&mynp=OCSSC5L9&mynp=OCSSC52E&mynp=OCSWG60&mync=E&cm_sp=ibmi-_-OCSSTS2D-OCSSC5L9-OCSSC52E-OCSWG60-_-E


-----Original Message-----
From: Dan Lanza [mailto:DLanza@xxxxxxxxxxxxxxx]
Sent: Wednesday, March 22, 2017 12:21 PM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] UnrecognizedPropertyException with REST service on IWS Integrated Web Services

Arco, I'm just curious; Does your system have these PTFs applied for these CVEs?

We applied them yesterday and have been getting odd (but different) behavior regarding REST services ever since. Basically every call to the API spits back a 400 bad request. I haven't gotten around to removing the PTFs to confirm if they are the cause, but since your having somewhat related issues I figured I'd ask.

-----Original Message-----
From: Arco Simonse [mailto:arco400@xxxxxxxxx]
Sent: Wednesday, March 22, 2017 11:48 AM
To: Web Enabling the IBM i (AS/400 and iSeries) <web400@xxxxxxxxxxxx>
Subject: Re: [WEB400] UnrecognizedPropertyException with REST service on IWS Integrated Web Services

Thanks Tim, I'll do so.

Best regards,
-Arco

2017-03-22 16:34 GMT+01:00 Tim Rowe <timmr@xxxxxxxxxx>:

I would recommend opening a PMR on this.

Tim

Tim Rowe, timmr@xxxxxxxxxx
Business Architect Application Development & Systems Management for
IBM i
IBM i Development Lab, Rochester, MN
(507) 253-6191 (Tie) 553-6191

http://www-03.ibm.com/systems/power/software/i/are/index.html



----- Original message -----
From: Arco Simonse <arco400@xxxxxxxxx>
Sent by: "WEB400" <web400-bounces@xxxxxxxxxxxx>
To: "Web Enabling the AS400 / iSeries" <web400@xxxxxxxxxxxx>
Cc:
Subject: [WEB400] UnrecognizedPropertyException with REST service
on IWS
Integrated Web Services
Date: Wed, Mar 22, 2017 9:49 AM

Hi,

I'm getting weird results while running tests with REST service on IWS
Integrated Web Services, version 2.6 running on V7R3.
The webservice returns with the message below when I do a POST or PUT
method action.

Error 500: javax.servlet.ServletException:
org.codehaus.jackson.map.exc.UnrecognizedPropertyException:
Unrecognized
field "Quantity_Ordered" (Class
iseries.wsbeans.gradings03.GradingHdrRec_t), not marked as
ignorable at
[Source: com.ibm.ws.webcontainer.srt.SRTInputStream@536e153c; line:
2,
column: 23] (through reference chain:
iseries.wsbeans.gradings03.GradingHdrRec_t["Quantity_Ordered"])

There are also two GET methods which works fine.
The strange thing is, that when I remove the two GET methods from the
application, the POST and PUT methods do work.

Anybody experienced this kind of behavior?

Thanks in advance,

Regards,
-Arco





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.