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.  Sync documents to Broker

    Posted Thu December 22, 2011 02:22 PM

    Hi All,

    I need to sync documemts to Broker in PROD. I know we can do that from Developer , but i dont have access to PROD .

    Is there a way where i can sync docs to Broker from MWS or IS ??

    Regards,
    Sudheer Martha.


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


  • 2.  RE: Sync documents to Broker

    Posted Fri December 23, 2011 02:43 PM

    In the interest of all things open-source, though it’s capability is free, it’s real benefit is a free education :rolleyes:

    This is for IS 8.2, not tested on other versions but may/should still work.
    Hope this helps mate,
    _Admin.zip (8.69 KB)


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


  • 3.  RE: Sync documents to Broker

    Posted Fri December 23, 2011 04:44 PM

    Thanks for sharing open in this forum:

    Happy Holidays! :talker:


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


  • 4.  RE: Sync documents to Broker

    Posted Wed February 08, 2012 11:39 PM

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


  • 5.  RE: Sync documents to Broker

    Posted Wed February 08, 2012 11:53 PM

    Hi All,

    Thanks for your reply but iam really sorry to say that this is not working.
    I see that we need to use the following service “wm.server.ed:syncToBroker” to sync the documents to broker which is in WmRoot package.
    Please find the details what iam trying to do,

    Step 1 : I created a document with 2 fields str1 , str2 and made the document publishable and syn’d to broker. (document name = test)
    Step 2 : I change field property “Required”= false for str1. (Now the document is updated locally i.e Not insync with broker)
    Step 3 : I ran the service wm.server.ed:syncToBroker by giving the following inputs,
    nsName = test
    overwrite = true
    Step 4 : After refreshing the session in developer , i see that the field property for str1 is reverted back to “true”.
    Step 5 : When i check the document in MWS , i see that the “LastModified” is not getting updated.

    When i sync document through Developer i see that the field property is getting changed i.e to Required = false and even LastModified is gettinng updated in MWS.

    Could you please check once and let me know if iam missing anything.

    Currently we are using webMethods 7.1.3 and Java version : 1.6.0_27

    Regards,
    Sudheer Martha.


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


  • 6.  RE: Sync documents to Broker

    Posted Thu February 09, 2012 12:30 AM

    wm.server.ed:syncToBroker works on a push/pull bi-directional sync, newest overwriting oldest. If the doc has been modified on the broker, ie through My webMethods, then it will be the newest version of the document. So when editing in developer, it’d be overwritten by the broker version when running wm.server.ed:syncToBroker. To push a doc to broker regardless of newest versions, use wm.server.ed:submit, input nsName being the fully-qualified namespace name of the doc.


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


  • 7.  RE: Sync documents to Broker

    Posted Thu February 09, 2012 10:54 AM

    broker document sync syncronization in production env should be a part of deployment process. If you deploy your packages using webMethods deployer, then deployer should take care of this automatically


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