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.

 View Only
Expand all | Collapse all

Messaging Trigger Error - Missing Parameter: object

  • 1.  Messaging Trigger Error - Missing Parameter: object

    Posted Wed January 25, 2017 03:53 AM

    I have a messaging trigger that listens for a JDBC adapter notification (insert) and then sends the ID to a Flow Service. When I run the Flow Service manually and provide the ID value, it works fine, however when I trigger the change (with an insert) I get the error “Missing Parameter: object”. I’m wondering if the trigger has a problem with an integer value? Any ideas?

    (package).subscribe.(folder):SendTimesheetTriggered(/0/2/0/2)

    [ISS.0086.9249] Missing Parameter: object

    com.wm.lang.flow.FlowException: [ISS.0086.9249] Missing Parameter: object
    at com.wm.lang.flow.FlowExit.getFailure(FlowExit.java:295)
    at com.wm.lang.flow.FlowState.willExit(FlowState.java:238)
    at com.wm.lang.flow.FlowSequence.invoke(FlowSequence.java:263)
    at com.wm.lang.flow.FlowState.invokeNode(FlowState.java:520)
    at com.wm.lang.flow.FlowState.step(FlowState.java:389)
    at com.wm.lang.flow.FlowState.invoke(FlowState.java:360)
    at com.wm.app.b2b.server.FlowSvcImpl.baseInvoke(FlowSvcImpl.java:1052)
    at com.wm.app.b2b.server.invoke.InvokeManager.process(InvokeManager.java:650)
    at com.wm.app.b2b.server.util.tspace.ReservationProcessor.process(ReservationProcessor.java:39)
    at com.wm.ps.serviceMock.ServiceInterceptor.process(ServiceInterceptor.java:378)
    at com.wm.app.b2b.server.invoke.StatisticsProcessor.process(StatisticsProcessor.java:49)
    at com.wm.app.b2b.server.invoke.ServiceCompletionImpl.process(ServiceCompletionImpl.java:243)
    at com.wm.app.b2b.server.invoke.ValidateProcessor.process(ValidateProcessor.java:49)
    at com.wm.app.b2b.server.invoke.PipelineProcessor.process(PipelineProcessor.java:171)
    at com.wm.app.b2b.server.ACLManager.process(ACLManager.java:303)
    at com.wm.app.b2b.server.invoke.DispatchProcessor.process(DispatchProcessor.java:34)
    at com.wm.app.b2b.server.AuditLogManager.process(AuditLogManager.java:377)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:549)
    at com.wm.app.b2b.server.invoke.InvokeManager.invoke(InvokeManager.java:344)
    at com.wm.app.b2b.server.dispatcher.trigger.Trigger.invokeService(Trigger.java:556)
    at com.wm.app.b2b.server.dispatcher.trigger.Trigger.processMessage(Trigger.java:454)
    at com.wm.app.b2b.server.dispatcher.um.trigger.ExecutionTask.process(ExecutionTask.java:449)
    at com.wm.app.b2b.server.dispatcher.um.trigger.ExecutionTask.processMessage(ExecutionTask.java:237)
    at com.wm.app.b2b.server.dispatcher.um.trigger.ExecutionTask.run(ExecutionTask.java:169)
    at com.wm.util.pool.Poo…


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


  • 2.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Wed January 25, 2017 04:59 AM

    Put savepipeline in the flow service and check what input is coming to the service for adapter notification event and mapping the values accordingly.

    The above error occurs when the value is not coming in pipeline or the value is being mapped from wrong input or input is not present at run time.

    Regards,
    Syed Faraz Ahmed


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


  • 3.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Thu January 26, 2017 09:25 AM

    Hi Peter, hi Syed,

    please make sure that the input document of the triggered service has the full namespace name of the document generated by the notification. Otherwise the input document will not be recognized by the service for further processing.

    Just copy the notification document and then paste the value in name field of the input document in the services input/output tab.

    Regards,
    Holger


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


  • 4.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Sun January 29, 2017 09:25 PM

    Thanks, I’ve confirmed the Input document looks correct. If I enable “Validate Input” I get the error: com.wm.app.b2b.server.ServiceException: [ISC.0049.9005] Input validation for service ‘[package/namespace]:SendTimesheetTriggered’ failed: ‘/TimesheetEntryAuditId VV-005 [ISC.0082.9034] Field is absent, field must exist’

    The value is certainly there… I’ve tried creating new notifications/triggers/services with no luck. Am I missing something? More info attached.


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


  • 5.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Sun January 29, 2017 09:40 PM

    (Sorry, accidentally posted as Brad - we were reviewing an Empower ticket).


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


  • 6.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Sun January 29, 2017 09:47 PM

    Interestingly, I get the same error when I try and debug/run the Messaging Trigger directly in the designer (despite providing the integer value).


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


  • 7.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Tue January 31, 2017 06:09 AM

    One Question here.

    When you publish the document it will check for the mandatory fields and throw and exception and it will not allow you to publish the document.

    Why you are doing a validation again at subscriber side?

    Do one thing. Just remove the check box for validate input and try publishing the document and check if its still throwing error.

    Regards,
    Syed Faraz Ahmed


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


  • 8.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Tue January 31, 2017 06:25 PM

    I ticked validate input just to see what it says.

    Are you talking about doing anything special when I “publish the document”? I’m just doing a “Run As → Publishable Document” (on the JDBC notification document) to see the issue.


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


  • 9.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Wed February 01, 2017 04:49 AM

    Nothing special. it’s a default behavior when you publish the document.

    Just for testing purpose remove the checkbox and try if its working fine.

    Regards,
    Syed Faraz Ahmed


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


  • 10.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Mon February 20, 2017 02:22 AM

    Not sure what solved the problem, but I suspect that synchronising the documents with UM may have fixed it.

    The “Missing Parameter: object” was a downstream error that resulted from using the pub.string:objectToString with trying to map an integer to a string - apparently this is not supported and a direct mapping should simply be used.


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


  • 11.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Mon February 20, 2017 05:43 AM

    Hi Peter,

    sounds like some sort of “Autoboxing”.

    When converting a native integer type to a String this will be done automatically by the JVM.

    Naitve integer type is different from Object type Integer.

    Regards,
    Holger


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


  • 12.  RE: Messaging Trigger Error - Missing Parameter: object

    Posted Mon February 27, 2017 08:18 AM

    Database is the basis for SQL, and for all modern database systems like Monitoring Database. DataSunrise Monitoring Database help to monitor real time console based database. This database size increased by automatically. It is beneficial for Converting binary data to text formate.


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