Neuron ESB User Network

The Service Bus for the Connected Business

Hi everyone,

with the increasing number of API that support JSON is not uncommon that we are exposing REST endpoint to support PUT/POST operation to create or update resources.

The preferred support format is almost every time JSON.

Neuron is extending its support to handle REST and JSON and the swagger integration is really cool.

I was wandering whether there was in the pipeline or whether someone have ever tried to integrate the JSON.NET schema as a Neuron process / workflow step.

It would allow to rely on the schema defined within the swagger file to validate the message, without maintaining a duplicate (swagger and xsd).

I would like to hear your thoughts on this! or if you have any suggestion on how to achieve the same I would be more thank welcome to hear it

Fabrizio

Tags: JSON, REST, validation

Views: 322

Reply to This

Replies to This Discussion

Hi Joe,

I have tried to follow the suggestion of using the Newtonsoft.IsValid method within a C# step but I cannot save the code as the method is obsolte

"'Newtonsoft.Json.Schema.JsonSchema' is obsolete: 'JSON Schema validation has been moved to its own package. See http://www.newtonsoft.com/jsonschema for more details.' (58,24)".

I will try using the standalone library.

Thank you

Fabrizio

I'd also be interested in suggestions on this as well. Though I have a REST client that I can serialize as XML as well as JSON, it would be nice if I can use JSON and validate against a JSON Schema.

-thanks.

RSS

Neuron ESB Product Support Forums and Communities

Latest Activity

Anupama Nair posted a discussion

Marketo Adapter Invalid Token

Hi,We are using the Marketo adapter to push account updates to Marketo. It works well for some time then starts failing with Invalid Token unless restarted. Is there a configuration that can be done so it can auto refresh the token when required?Thanks!See More
Nov 6, 2023
Sayantini Basak posted a discussion

Maximum payload size(REST API) for requests interfacing to NeuronESB

I am new to Neuron ESB and in our current scenario,We need to process batch transactions comprising of ~1000 records and send them to Neuron ESB for further processing. I would like to understand what is the maximum size of payload that can be transferred using REST interface to Neuron ESB.See More
Jul 22, 2022
Profile IconRobert E Dunie and Sayantini Basak joined Neuron ESB User Network
Apr 28, 2022
Profile IconDayanand, Frederic C, Steffen Greve-Oksfeldt and 1 more joined Neuron ESB User Network
Mar 16, 2022
Profile IconCam Vong and Mitja Luznar joined Neuron ESB User Network
Jan 27, 2022
Profile IconWill Hitzges, Chad Parsons, michael larsen and 4 more joined Neuron ESB User Network
Jun 11, 2021
Anupama Nair posted a discussion

ODBC stored proc polling with temporary tables

We have set up an ODBC adapter to poll a stored proc.We found that if the stored proc has a temporary table defined the rows returned are always 0.Any idea why this would be and what we can do to get around it?See More
Dec 14, 2020
Prasanth Kharade is now a member of Neuron ESB User Network
Dec 30, 2019

Badge

Loading…

© 2024   Created by Neuron Admin.   Powered by

Badges  |  Report an Issue  |  Terms of Service