webMethods

webMethods

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

Flow/Java Service to look for a folder

  • 1.  Flow/Java Service to look for a folder

    Posted Wed October 15, 2008 08:58 AM

    Hi frds,

    I do have query.

    Do we have any service which will look for particluar folder existing or not? And another one… If it is not existing can we create a folder using any service?

    Please help.

    Thx!

    -rpm


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


  • 2.  RE: Flow/Java Service to look for a folder

    Posted Wed October 15, 2008 10:51 AM

    Hi,

    Their is no such service in wmpublic package, but I am sure it should be in PSUtilities package. If it doesnt exist there, you can create a simple java service which can check if directory exist and if it doesnt exits it create a new one.

    File dir= new File(dirName);
    if (!dir.exists())
    {
    dir.mkdirs();
    }

    Jiten


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


  • 3.  RE: Flow/Java Service to look for a folder

    Posted Wed October 15, 2008 12:01 PM