I am migrating the code from VisualIntegrator to webMethods 6.1, In Visual Integrator code there is an API called BROKERDATE. But this BROKERDATE API is not there in webMethods 6.1.
So just i need to know is there any other similar function in webMethods 6.1 to replace this BrokerDate function
webMethods is a company, not a product. There is no such thing as “webMethods 6.1” much like there is no such thing as “Microsoft 2000.”
As you undoubtedly know, but for the sake of readers that may not, the BrokerDate class is part of the webMethods Broker product (COM.activesw.API.client.BrokerDate). If you have code that is interacting directly with the Broker (e.g. a Broker client application written in Java) then you can continue to use BrokerDate.
If you are converting a previous Enterprise Server 4.x/5.x solution to use IS 6.x facilities then you’ll want to review the WmPublic package within Integration Server. Look for the pub.date folder and review the services there. When using IS to do the equivalent of BI/VI/EI work all of the Broker APIs get pushed behind the scenes.
There are migration guides available on Advantage. You may find them helpful.
If u r using the Brokerdate for getting the current date in ur integration , then u can use getCurrentDate or getCurrentDateString in pub.date found in IS. When u said that u converted the Code from Enterprise server 4.1 to IS 6.1, did u use the upgrade utility from webMethods? If yes then it will take care of the conversions.