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.


#TechXchangePresenter
 View Only
  • 1.  onUpdate trigger

    Posted Fri January 28, 2005 12:07 PM

    Hi All,

    I have this problem:
    I created SXS to manage onUpdate event. But the parameter defined as:

    Name="XMLObjectNew TSDType=“ino:XML-OBJ”

    is always empty and ino:SXS-Trace give me this message error:

    ExceptionCode=“7114”
    ExceptionText=“INOSXE7114: Java error: Errtext: ‘java.lang.NullPointerException’”

    Does anyone help me, please?
    Thanks in advance

    Raffaele


    #webMethods
    #API-Management
    #Tamino


  • 2.  RE: onUpdate trigger

    Posted Mon January 31, 2005 02:26 PM

    Hi Raffaele,

    If you update via insert with ino:id, the update trigger will be called twice: first with XMLObjectOld set to the old document and XMLObjectNew unset, the second time with XMLObjectOld unset and XMLObjectNew with the new document. This is because insert with ino:id indeed deletes the old document and processes the new document afterwards.
    If you need both values, you should save the old document from the first call and use it in the second call.

    Hope that helps,

    Julius Geppert
    Software AG


    #Tamino
    #webMethods
    #API-Management


  • 3.  RE: onUpdate trigger

    Posted Tue February 01, 2005 02:23 PM

    Hi Julius,
    thank you very much for your help!

    Raffaele


    #API-Management
    #webMethods
    #Tamino