IBM webMethods Hybrid Integration

IBM webMethods Hybrid Integration

Join this online group to communicate across IBM product users and experts by sharing advice and best practices with peers and staying up to date regarding product enhancements.

 View Only
  • 1.  JSON Validator

    Posted Thu September 15, 2016 07:22 AM

    Hello Team

    Could you please help me in understand the below:- ( i am using webMethods 9.6)

    1. is it possible to consume a JSON schema in webMethods to validate the run time JSON string,
    2. If yes, which service we need to use for this. hope its not pub.schema.validate

    Kind Regards
    Sasa


    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: JSON Validator

    Posted Thu September 15, 2016 07:58 AM

    Currently we don’t have any service (OTTB) for JSON validation. However you can make use of pub.schema:validate, create an IS document from JSON file and use pub.schema:validate to pass the IData to validate it.

    Moreover there are public JSON services (pub.json:*) in WmPublic you can make use of them and build own custom logic to validate JSON.

    You can raise a Feature Request in SoftwareAG Brainstorm in Empower to request for JSON validation service. Share the request number I can add my vote.


    #Integration-Server-and-ESB
    #webMethods


  • 3.  RE: JSON Validator

    Posted Thu September 15, 2016 11:23 AM

    It’s pub.schema:validate.


    #Integration-Server-and-ESB
    #webMethods


  • 4.  RE: JSON Validator

    Posted Thu September 15, 2016 03:09 PM

    We have implemented this for a customer. You can easily write java service with the below libraries from the below.


    #Integration-Server-and-ESB
    #webMethods


  • 5.  RE: JSON Validator

    Posted Fri May 05, 2017 06:13 AM

    Hi Team,

    Could you please suggest me How to create JSON Schema in webMethods(Like we create Schema for Flatfile and XML).
    How to validate JSON using the service “pub.schema:validate” , But what are the values should I give in the field “conformsTo” and “SchemaDomain” field.

    Appreciate your inputs.

    Regards,
    Laxman


    #Integration-Server-and-ESB
    #webMethods


  • 6.  RE: JSON Validator

    Posted Thu October 26, 2017 04:17 AM

    FYI, pub.json:validate service is now available in wM 10.1 release.


    #Integration-Server-and-ESB
    #webMethods


  • 7.  RE: JSON Validator

    Posted Mon May 27, 2019 08:04 AM

    pub.json:validate is deprecated - Replaced by pub.json.schema:validate, available from 10.4 and up.


    #Integration-Server-and-ESB
    #webMethods