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”);
Hi Jason,
I think you need
using SoftwareAG.EntireX.NETWrapper.Runtime;
not
using SoftwareAG.EntireX.NETWrapper;
HTH