ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » REST(JSON) payload validation in ACEv12

Post new topic  Reply to topic
 REST(JSON) payload validation in ACEv12 « View previous topic :: View next topic » 
Author Message
Dinesh2204
PostPosted: Mon Oct 18, 2021 2:26 am    Post subject: REST(JSON) payload validation in ACEv12 Reply with quote

Newbie

Joined: 18 Oct 2021
Posts: 3

On RESTRequestNode, we are trying to validate json payload. In REST Req node properties(response message parsing), have provided Domain as JSON, MessageModel- json schema file(.schema.json) and message as Swagger 2.0 defination.Physical format kept as blank . Getting error in resonse "<Catalog>BIPmsgs</Catalog><Severity>3</Severity><Number>5736</Number><Text>Validation is enabled but no JSON schema file name given</Text>".

Validation is set as "Content and Value"

Any property or configuration needs to be change? If anyone can please suggest.
Back to top
View user's profile Send private message
timber
PostPosted: Mon Oct 18, 2021 2:56 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

https://www.ibm.com/docs/en/app-connect/12.0?topic=domain-json-validation
Back to top
View user's profile Send private message
Dinesh2204
PostPosted: Mon Oct 18, 2021 3:38 am    Post subject: Reply with quote

Newbie

Joined: 18 Oct 2021
Posts: 3

Have seen this before but no example given on json. If you worked on the same plz share steps or any other link.
Back to top
View user's profile Send private message
timber
PostPosted: Mon Oct 18, 2021 4:58 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

You need to deploy your JSON schemas. Have you done that?
Back to top
View user's profile Send private message
Dinesh2204
PostPosted: Mon Oct 18, 2021 8:22 pm    Post subject: Reply with quote

Newbie

Joined: 18 Oct 2021
Posts: 3

Json schema is part of static lib and lib is referred in application. Application is deployed. I can see json schema deployed on integration server as part of lib.
Back to top
View user's profile Send private message
timber
PostPosted: Tue Oct 19, 2021 1:09 am    Post subject: Reply with quote

Grand Master

Joined: 25 Aug 2015
Posts: 1280

Not sure that I can advise you then. I haven't experimented with this feature yet. You could try taking a user trace - sometimes there is additional information about the error in the user trace.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » REST(JSON) payload validation in ACEv12
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.