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

Object to String Conversion in SAP BC46 Urgent Pls

  • 1.  Object to String Conversion in SAP BC46 Urgent Pls

    Posted Tue October 25, 2005 05:01 PM

    Hi all,

    As per the developers guide we can map object variable to a string variable but strangely value is not getting transferred to string variable …

    Situation is : BC is making a webservice call to java hub and it gets an ‘Object’ variable called ‘soapResponseData’ which contains return code of webservice call. I want to find a particular string pattern within this ‘soapResponseData’. Though this is ‘Object’ type, but in results tab, after the service is executed, it is shown as ‘Character’ type.

    I tried mapping ‘soapResponseData’ to another string variable which didn’t happen. I have a java service which takes string variable and finds for any specified sub-string and return success or failure.
    I 'm trying to send ‘soapResponseData’ to this java service and upon testing i found that java service is getting always null value …

    problem drills down to one point ----> Object to String conversion…

    COULD ANY OF YOU HLEP ME IN THIS REGARD PLEASE ?
    it’s an urgent issue which needs to be adddressed …
    Thanks in advance
    Sreedhar K


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