# problems with .NET wrapper

**URL:** <https://techcommunity.softwareag.com/t/problems-with-net-wrapper/58894>\
**Category:** Forum\
**Tags:** Mainframe-Integration, EntireX\
**Created:** [July 23, 2003, 4:46am UTC](https://techcommunity.softwareag.com/t/problems-with-net-wrapper/58894 "2003-07-23T04:46:04Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jason\_Shohet](https://avatars.discourse-cdn.com/v4/letter/j/839c29/32.png) [@Jason\_Shohet](https://techcommunity.softwareag.com/u/Jason_Shohet)\
**Post date:** [July 23, 2003, 4:46am UTC](https://techcommunity.softwareag.com/t/problems-with-net-wrapper/58894/1 "2003-07-23T04:46:04Z")

</div>

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”);

---

<div class="post-metadata">

**Author:** ![Bill\_Leeney](https://avatars.discourse-cdn.com/v4/letter/b/b5e925/32.png) [@Bill\_Leeney](https://techcommunity.softwareag.com/u/Bill_Leeney)\
**Post date:** [July 23, 2003, 4:02pm UTC](https://techcommunity.softwareag.com/t/problems-with-net-wrapper/58894/2 "2003-07-23T16:02:40Z")

</div>

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

---

<div class="post-metadata">

**Author:** ![system](https://global.discourse-cdn.com/techcommunity/original/3X/c/d/cd19967bb605d28a72d77eb83a1cae22f3df2eb8.svg) [@system](https://techcommunity.softwareag.com/u/system)\
**Post date:** [April 2, 2021, 2:39pm UTC](https://techcommunity.softwareag.com/t/problems-with-net-wrapper/58894/3 "2021-04-02T14:39:32Z")

</div>


