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.  GetFile Service

    Posted Wed January 07, 2004 12:33 AM

    I am trying to use the “getFile” service in the Wmpublic package under the “pub.file” sub-directory. Everytime i give the path for the file (eg : C:\a.txt), i get an error saying that the file does not exist even though it does exist.If anyone has used this service , please let me know the solution for this problem


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


  • 2.  RE: GetFile Service

    Posted Wed January 07, 2004 01:11 AM

    Put the file in the root directory of the integration server and just input the file name and it will find it.


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


  • 3.  RE: GetFile Service

    Posted Wed January 07, 2004 04:26 AM

    Pawan,

    Are u connected to the Integration Server on your sand box?If you are connected to the integration server that is installed on different machine,then getFile service searches for the file in the machine where the Integration Sever actually installed.


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


  • 4.  RE: GetFile Service

    Posted Fri March 26, 2004 11:36 AM

    Pawan
    first you must to getfile from the same machine where installed the IS
    for exemple you want to get file request.txt from C:
    you shoud put:
    1- filename=C:\request.txt and the name of file will be juste request without extension it’s added automatically.
    2 loadAs: byte
    I hope it’s help
    good luck


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


  • 5.  RE: GetFile Service

    Posted Wed January 22, 2020 06:32 AM

    file Extension needs to be mentioned along with file name while using getfile method


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


  • 6.  RE: GetFile Service

    Posted Wed January 22, 2020 08:50 AM

    set the file AccessControl patch in the

    IntegrationServer\instances\default\packages\WmPublic\config

    fileAccessControl.cnf

    allowedWritePaths= C:
    allowedReadPaths= C:
    allowedDeletePaths= C:\

    this should work


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


  • 7.  RE: GetFile Service

    Posted Wed January 22, 2020 08:54 AM

    set the file AccessControl path in the

    IntegrationServer\instances\default\packages\WmPublic\config

    fileAccessControl.cnf

    allowedWritePaths= C:\
    allowedReadPaths= C:\
    allowedDeletePaths= C:\

    this should work


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