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.  problems with .NET wrapper

    Posted 07/23/03 12:46 AM

    OK I have this code in a regular cs page, in the page_load function (not
    a web service yet). I have the correct reference to :

    using SoftwareAG.EntireX.NETWrapper;
    using SoftwareAG.EntireX.NETWrapper.Generated.subtest;

    at the top of the page.
    Subtest is the name of the function we want to try out. Unfort. I’m
    getting an error saying .NET doesn’t “recognize the Broker namespace”…

    It seems there is no reference to the object below called ‘Broker’.
    Any ideas?
    Thanks, Jason Shohet 212-863-6481



    Broker myBrkr = new Broker(“localhost:1971”, “PUBLIC”);
    myBrkr.Logon(“PUBLIC”); // (“ERX-PASS”);

    //and an EntireX RPC service
    Service mySvc = new Service(broker, “RPC/SRV1/CALLNAT”, “SUBTEST”);
    // service.UserIDAndPassword(“RPC-USER”, “RPC-PASSWORD”);

    //The class can now be instantiated
    Example e = new Example( mySvc );

    // and the methods called
    int result = e.SUBTEST(“xxx”);


    #webMethods
    #EntireX
    #Mainframe-Integration


  • 2.  RE: problems with .NET wrapper

    Posted 07/23/03 12:03 PM

    Hi Jason,
    I think you need
    using SoftwareAG.EntireX.NETWrapper.Runtime;
    not
    using SoftwareAG.EntireX.NETWrapper;
    HTH


    #webMethods
    #EntireX
    #Mainframe-Integration