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.  Error related to pub.json:jsonStringToDocument

    Posted 07/08/20 05:03 AM

    I’m new to webMethods and request some hep on the below error. I’m receiving this error message for a payload which gives successful result in the next run. The payload is entirely same with no change at all. But not sure why suddenly this error pops up, though the interface works correctly all the other times.

    Error: org.codehaus.jackson.JsonParseException: Unexpected character (‘E’ (code 69)): expected a valid value (number, String, array, object, ‘true’, ‘false’ or ‘null’) at [Source: java.io.ByteArrayInputStream@435c3790; line: 1, column: 2]

    Error Occured in " GE_PredixRealTrackPMO_Opportunity_Services " package for service " GE_PredixRealTrackPMO_Opportunity_Services.Services:processPWOpportunity " >> pub.json:jsonStringToDocument


    #webMethods
    #Integration-Server-and-ESB


  • 2.  RE: Error related to pub.json:jsonStringToDocument

    Posted 07/08/20 10:41 AM

    Welcome to community Archana.

    From the error point of view, looks like a data issue that is having invalid data during first time when the service is converting it to document. Try to debug and compare the values in the string that is being passed to service pub.json:jsonStringToDocument in both scenarios. Might be that should give the difference in inputs.


    #webMethods
    #Integration-Server-and-ESB


  • 3.  RE: Error related to pub.json:jsonStringToDocument

    Posted 07/10/20 06:15 AM

    Sure Firoz! I will try that. Thanks you the quick response.


    #Integration-Server-and-ESB
    #webMethods