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.



#Automation


#Applicationintegration
#webMethods
#Integration
 View Only
  • 1.  AS400 APIbs for Java

    Posted 05/27/03 02:59 PM

    Hi ,
    Has anybody used the ProgramCallDocument method to invoke RPG programs on webMethods ? There is a pcml which needs to be passed to the constructor. I am not able to figure out where to place the pcml document. I have tried putting it in the lib so that it can be picked up from the classpath but nothing seesm to work. Does anybody know anything about this ?

    regds
    Radhika


    #Adapters-and-E-Standards
    #Integration-Server-and-ESB
    #webMethods


  • 2.  RE: AS400 APIbs for Java

    Posted 06/05/03 05:31 PM

    Hi Radhika,

    Check out if this helps out your problem…

    AS400 as400 = new AS400();
    ProgramCallDocument pcmlDoc = new ProgramCallDocument(as400, “myPcmlDoc”);

    The ProgramCallDocument object will look for your PCML source in a file called myPcmlDoc.pcml. Notice that the .pcml extension is not specified on the constructor. If you are developing a Java application in a Java “package,” you can package-qualify the name of the PCML resource:

    AS400 as400 = new AS400();
    ProgramCallDocument pcmlDoc = new ProgramCallDocument(as400, “com.company.package.myPcmlDoc”);

    Thanks,
    -GV


    #Integration-Server-and-ESB
    #Adapters-and-E-Standards
    #webMethods