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

Problem with IDataCursor on JServ (destroy method not found)

  • 1.  Problem with IDataCursor on JServ (destroy method not found)

    Posted Mon February 25, 2002 04:06 PM

    I am trying to send an XML document over HTTP from a custom class within my application. I generated the client code from within Developer and it works fine as a stand alone client. However, when I integrate it with my web application I get the following error:
    java.lang.NoSuchMethodError
    at com.wm.data.OldDataCursor.destroy(BasicData.java:756)

    I have client.jar on my classpath.

    Thanks for any help.


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


  • 2.  RE: Problem with IDataCursor on JServ (destroy method not found)

    Posted Wed December 18, 2002 09:31 AM

    What version of Integration Server are you running?

    Is it possible that the client.jar being found on the client is not the one that shipped with that version of IS?

    Can you look inside the client.jar that the client is using (say with WinZip or unzip -v) to see if the class is in there?

    Are there any patches running on IS? I don’t know of any updates to BasicData in any fixes, but it is possible that a certain fix needs to be used on the client as well as the server.

    Does the generated code use IDataHashCursor? If so, you can probably change to using the regular IDataCursor because all the methods of HashCursor where moved to the regular cursor to make the API simpiler.

    HTH,
    Fred


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