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
  • 1.  Need to manipulate a publishable Document and publish to broker

    Posted Mon February 02, 2004 07:26 AM

    Hai
    I have a issue that i am not able to publish a manipulated publishable document.
    these are the steps i have followed

    1. Created a notification service for a database insert
    2. This gives me a publishable document(the doc has the following fields Name,Subject1,subject2,subject3)
    3. Created a trigger to handle this document and calculate total of the 3 subjects
    4. publish the new document with fields (Name,sub1,sub2,sub3, Total)
      but i am not able to do it.
      Any help is much appreciated.

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


  • 2.  RE: Need to manipulate a publishable Document and publish to broker

    Posted Mon February 02, 2004 11:50 AM

    Hi,

    Make sure the document you’re trying to publish has the same structure of the publishable document, and all mandatory fields were populated.

    HTH,
    Maldonado


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


  • 3.  RE: Need to manipulate a publishable Document and publish to broker

    Posted Mon February 02, 2004 12:02 PM

    Hai
    Yes i have the same structure of the publishable doc and all mandatory fields.
    Actually if i run the triggerhandler flow service i am able to publish the document to the broker, however when i try an insert in the database which triggers the handler service i dont have publish working
    Can u pls help.


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


  • 4.  RE: Need to manipulate a publishable Document and publish to broker

    Posted Mon February 02, 2004 02:37 PM

    Can you tell me what is the error you are getting?
    It may be possible that the input document name in the service you are calling from trigger is not right. You have to give full path of the document as the input to the service.

    Thanks,
    Pankaj


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


  • 5.  RE: Need to manipulate a publishable Document and publish to broker

    Posted Tue February 03, 2004 06:41 AM

    I am getting the following Error:
    [ISS.0098.0049C] Exception:com.wm.app.b2b.server.ServiceException: java.lang.Exception: missing required parameter ‘document’ while executing trigger. Rejecting Document for TriggerStore:mysamples.invokesrinivas:Trigger

    However i am providing a complete path of document in the input service.


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


  • 6.  RE: Need to manipulate a publishable Document and publish to broker

    Posted Tue February 03, 2004 11:41 AM

    Hi WL,

    You should map the document itself and not his path to the document parameter.

    HTH,
    Maldonado


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