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

java.lang.ClassCastException

  • 1.  java.lang.ClassCastException

    Posted Fri April 11, 2008 08:05 AM

    Hi,

    We are using wM IS 6.1.

    When we are running the service pub.client.http by providing the required inputs and data as bytes then its showing a pop-up window in which its displaying an error “java.lang.ClassCastException”.

    What is this error ? how has it occured and any solution to the problem?

    Regards,
    Vikram


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


  • 2.  RE: java.lang.ClassCastException

    Posted Fri April 11, 2008 05:41 PM

    How exactly are you “running the service?” Is it called via an invoke step? Are you running it directly in Developer? Can you post exactly what you’re providing as inputs?

    My suspicion is that whatever you’re passing in the data/bytes parameter is not a byte array.


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