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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  Passing null dates

    Posted 01/05/06 04:58 PM

    Greeting all and happy new year!!!

    I need to pass a null date via the Java Wrapper to a natural subprogram but the date is being defaulted to todays date. Is there a way to pass a null date as an input parm?

    One way to do it I guess would be to pass an additional field that indicates if the date should be null but that seems sloppy to me.

    Earnie!


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 2.  RE: Passing null dates

    Posted 01/06/06 01:52 PM

    Hi Earnie,

    yes, this possible. Check the documentation chapter EntireX IDL to Java Mapping: there is a Java property you have to set to change the default behaviour: entirex.marshal.date=null.


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 3.  RE: Passing null dates

    Posted 01/06/06 02:48 PM

    Rolf,

    Thanks!! This solved our problem. I could not find this documented however :frowning:

    Earnie!


    #webMethods
    #Mainframe-Integration
    #EntireX


  • 4.  RE: Passing null dates

    Posted 01/06/06 03:17 PM

    It’s in the 7.2.1 documentation. Goto …/devkit/rpc_java/mapping.htm#Mapping_Data_Types, look at the table which describes the Idl data types and read Note 5 :smiley:


    #EntireX
    #webMethods
    #Mainframe-Integration