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
Expand all | Collapse all

pub.sap.idoc:encodeString service error

  • 1.  pub.sap.idoc:encodeString service error

    Posted Tue May 17, 2011 08:10 PM

    Hi,

    I need to convert the IDOC to string.

    I have SAP Listener and notification.

    The document is published to Broker and in the subscribing service I have these service

    pub.sap.idoc:documentToIDoc ( i/p : the doc subscribed )
    pub.sap.idoc:encodeString ( i/p : idoclist from above service and server name)

    now the service pub.sap.idoc:encodeString errors out with the below error message.
    Error :

    java.lang.IndexOutOfBoundsException: WmSAP Adapter: Index greater than number of IDoc fields.

    What am I missing.

    Any help is appreciated.

    Thanks!
    -Vkram


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: pub.sap.idoc:encodeString service error

    Posted Tue May 17, 2011 09:32 PM

    I saw a fix/patch SAP_7.1_Fix4 for the same issue in empower.havnet tried it yet.

    If you guys have any other info it wud be great too.

    Thanks!


    #webMethods
    #Integration-Server-and-ESB
    #Adapters-and-E-Standards