Author |
Message
|
Dinesh2204 |
Posted: Mon Oct 18, 2021 2:26 am Post subject: REST(JSON) payload validation in ACEv12 |
|
|
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 "
Code: |
<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 |
|
 |
timber |
Posted: Mon Oct 18, 2021 2:56 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
|
Back to top |
|
 |
Dinesh2204 |
Posted: Mon Oct 18, 2021 3:38 am Post subject: |
|
|
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 |
|
 |
timber |
Posted: Mon Oct 18, 2021 4:58 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
You need to deploy your JSON schemas. Have you done that? |
|
Back to top |
|
 |
Dinesh2204 |
Posted: Mon Oct 18, 2021 8:22 pm Post subject: |
|
|
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 |
|
 |
timber |
Posted: Tue Oct 19, 2021 1:09 am Post subject: |
|
|
 Grand Master
Joined: 25 Aug 2015 Posts: 1292
|
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 |
|
 |
asafwat |
Posted: Sun Apr 28, 2024 4:00 am Post subject: |
|
|
Newbie
Joined: 28 Apr 2024 Posts: 1
|
Any progress on this issue? I'm facing the same issue on ACE 12. |
|
Back to top |
|
 |
|