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.  Schema Error

    Posted 03/07/07 10:13 AM

    Hi All

    I am having a flat file when i run that file against schema i am getting the following Error

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1

    Can Anyone Help me out why this error occuring


    Thanks
    Kumar


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


  • 2.  RE: Schema Error

    Posted 03/07/07 12:13 PM

    Are you using ‘getIndex’ anywhere? This error usually means you’re searching a string for ‘xyz’ and it doesn’t find ‘xyz’.

    Hope this helps.


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


  • 3.  RE: Schema Error

    Posted 03/07/07 12:28 PM

    Hi gill

    No i am not using any getIndex sometimes its processing with some flatfiles. In services when i am using this schema i am not getting any problem I am not knowing whats the exact reason for this error.


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


  • 4.  RE: Schema Error

    Posted 03/07/07 12:40 PM

    Can you step through the service and find out which flow is causing the error?


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


  • 5.  RE: Schema Error

    Posted 03/07/07 12:47 PM

    when i am running the file through schema its throwing this error

    java.lang.StringIndexOutOfBoundsException: String index out of range: -1


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


  • 6.  RE: Schema Error

    Posted 03/08/07 10:47 AM

    kumar,

    Can you elaborate it little more? Give your schema definition and file you are parsing.


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