Salesforce

Managed Requesters (Magic xpa 3.x)

« Go Back

Information

 
Created ByKnowledge Migration User
Approval Process StatusPublished
Objective
Description

Managed Requesters (Magic xpa 3.x)

Note:

This topic is only relevant when using the broker as a middleware.

.NET Requesters

If you want your .NET application, such as ASP.NET or a .NET web service, to interact with Magic xpa, you should call Magic xpa via the MgRequester.dll. The MgRequester.dll library and a sample test project can be found in the MgRequester.ZIP file under the support folder.

To run the sample test project, you need to:

  1. Define an application in the Mgrb.ini file as follows:

Server Sample = MgxpaRuntime.exe /DeploymentMode=B /StartApplication=[unzipped folder of MgRequester.zip]\\Server Sample\\Server Sample.ecf /LicenseName=MGENT1 /MaxConcurrentUsers=-1,,,,0,1

  1. Copy the requester libraries to the application folder as follows:

    1. For 64-bit requesters: Copy the MgRequester.dll and MGRQGNRC.dll libraries from the Requester\64bit\ folder into the Tester\ folder.

    2. For 32-bit requesters: Copy the MgRequester.dll library from the Requester\32bit\ folder and the MGRQGNRC.dll library from the root folder of the installation into the Tester\ folder.

  2. Copy the requester configuration file (mgreq.ini) into the Tester\ folder.

  3. Execute the tester program:

    1. Direct execution: Execute the MgRequesterTester.exe file.

    2. Execution from VS2010: Open the Tester\Project\MgRequesterTester.sln solution, perform build and execute.

  4. You can also change the server settings in the MgRequesterTester.sln solution by using RequestsFactory.GetInstance("10.9.9.17/5119").

Since version:

2.5

Java Requesters

If you want your Java application to interact with Magic xpa, you should call Magic xpa via the MgRequester.jar. The MgRequester.jar can be found in the support folder.

64-bit Execution

Copy into an existing folder or set the CLASSPATH to locate the MgRequester.jar from the support folder and the MGRQGNRC.dll library from the Requester\64bit\ folder of MgRequester.ZIP (refer to the .NET requesters section above).

32-bit Execution

32-bit execution is similar to 64-bit execution, but you take the 32-bit MGRQGNRC.dll library from the root folder of the installation.

Reference
Attachment 
Attachment