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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  How do I return enumeration list of a variable when validation error occurs?

    Posted 03/22/10 04:43 AM

    Hi,

    Im using the built in validation for input/output parameters in webMethods and I set some input parameters to have enumerated values.
    I would like to return the enumerated values for a parameter that fails as part of my error handler during validation.
    Is there any built-in functions or any codes that I might need to add in my current flow service.

    Thanks :slight_smile:


    #webMethods
    #Integration-Server-and-ESB
    #Flow-and-Java-services


  • 2.  RE: How do I return enumeration list of a variable when validation error occurs?

    Posted 03/22/10 09:46 AM

    More details are as follows:

    I’m only getting below error message when validation fails at run time,

    [ISC.0049.9005] Input validation for service ‘service namespace’ failed: ‘/inputParameter DT-002 [ISC.0082.9460] No matching enumeration value’

    Does anyone knows how to see or retrieve or return also the enumerated values that was set to that particular failing parameter automatically at run time?

    Thanks a lot :slight_smile:


    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB


  • 3.  RE: How do I return enumeration list of a variable when validation error occurs?

    Posted 07/19/10 06:35 AM

    Hi…

    I am facing the same problem … did u figure out any solution for ur problem…

    Please let me know …

    Error :

    [ISS.0098.9007] Data does not conform to the Publishable Document Type news.canonicals.advertising:Advertising_V2 errors: INVALID
    List of errors:
    [0] pathName=/canonical/doc:document/eai:header/eai:source/eai:systemName errorCode=DT-002 errorMessage=[ISC.0082.9460] No matching enumeration value

    Let me know how to solve this…

    Thanks in adavance

    Regards,
    Bhanu.


    #Integration-Server-and-ESB
    #Flow-and-Java-services
    #webMethods


  • 4.  RE: How do I return enumeration list of a variable when validation error occurs?

    Posted 07/20/10 07:00 PM

    you cant catch error, while validate input/output activated and the service called as the top level service.

    better approach is by:

    1. 1st create document type for the current input service
    2. set the input service use that doc type
    3. on the first statement of the service, called the WmPublic/pub.schema:validate

    #webMethods
    #Flow-and-Java-services
    #Integration-Server-and-ESB