webMethods

webMethods

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

any idea about com.wm.data.ISMemDataImpl class

  • 1.  any idea about com.wm.data.ISMemDataImpl class

    Posted Wed March 10, 2004 09:26 AM

    Iam trying to extract data from db tables thru developer(using select adapter service template) and put that data in to a java client-jsp page.webMethods returns an IData object but when i try to get the value using IdataCursor.getValue() for the first element i get an object of type com.wm.data.ISMemDataImpl class.I dont see this in the API.Ia ssume it as some impl class-factory class?not sure
    Now i need to get the data out from this object n store it in to java objects.
    please help
    kamala


    #webMethods
    #webMethods-General
    #Integration-Server-and-ESB


  • 2.  RE: any idea about com.wm.data.ISMemDataImpl class

    Posted Thu March 11, 2004 08:21 AM

    Page 37 of the ISJSPGuide.pdf talks a little bit about what you are trying to do. Here is one of my code snippets. Maybe it will help.

    <%
    String stimeDifference = null;
    com.wm.data.IDataCursor idcPipeline = null;
    try {
    idcPipeline = webm_pipe.getCursor();
    stimeDifference = com.wm.data.IDataUtil.getString(idcPipeline,"timeDifference" );
    } catch (Exception e) {
    // Do stuff
    } finally {
    if ( idcPipeline != null ) {
    idcPipeline.destroy();
    idcPipeline = null;
    }
    webm_pipe = null;
    }
    %>
    
    

    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General


  • 3.  RE: any idea about com.wm.data.ISMemDataImpl class

    Posted Mon March 15, 2004 02:46 PM

    hey thanks
    i figured out the problem.I was dealing wiht array of Idatas -so did a type cast to IData
    it worked


    #Integration-Server-and-ESB
    #webMethods
    #webMethods-General