Share XML service port with IIS 5.0
Register the XML Service to share the port with IIS 5.0
Website Visitors:-
Unregister the service using the previous instructions.
-
Copy the files ctxxmlss.txt, clm.dll, wpnbr.dll to the \Inetpub\Scripts folder. ***(If you are running MetaFrame Presentation Server 3.0 then the clm.dll file is no longer needed).***
-
If you are running MetaFrame Presentation Server 3.0 or Citrix Presentation Server 4.0, locate the file ctxadmin.dll and copy it to a folder called ctxadmin under \Inetpub\Scripts.
-
If you are running Citrix Presentation Server 4.0, locate the files ctxconfproxy.dll,ctxsta.dll,ctxsta.config and copy them to \Inetpub\Scripts.
-
Open the IIS Manager MMC Snap-in.
-
Expand the Default Web Site.
-
Right-click the Scripts folder and click Properties.
-
On the Virtual Directory tab make sure that the Execute Permissions field is set toScripts and Executables.
-
Open a command prompt window.
-
Run the iisreset command (be aware that this command will restart all IIS-related services).
Registering the XML Service to share the port with IIS 6.0
For Citrix Presentation Server 4.0 on Windows 2003, refer to CTX107683 – How to Configure the XML Service to Share with IIS.
Otherwise, follow these steps:
By default when installing IIS 6.0, the virtual Scripts Folder is not created.
-
Unregister the service using the previous instructions.
-
Navigate to the \Inetpub folder and create a new folder named Scripts.
-
Open the IIS Manager MMC Snap-in.
-
Right-click the Default Web Site and select New | Virtual Directory…
-
Click Next.
-
Under Alias: type the name Scripts and click Next.
-
Under Path: type Drive Letter:\Inetpub\Scripts and click Next.
-
Under Allow the following permissions: make sure that the following are selected:
a. Read b. Run Scripts (such as ASP) c. Execute (such as ISAPI applications or CGI)
-
Click Next and click Finish.
-
Right-click the Scripts virtual directory and go to Properties.
-
Under the Virtual Directory tab make sure that the Execute Permissions: field is set to Scripts and Executables.
-
Under the Directory Security tab, click Edit… under Authentication and Access Control and make sure that the Enable anonymous access check box is selected.
-
Now copy the files ctxxmlss.txt, clm.dll, wpnbr.dll to the newly create Scripts folder under the Inetpub folder. ***(If you are running MetaFrame Presentation Server 3.0 then the clm.dll file is no longer needed).***
-
If you are running MetaFrame Presentation Server 3.0, locate the file ctxadmin.dll and copy it to a folder called ctxadmin under \Inetpub\Scripts.
-
In IIS Admin right-click Web Service Extensions, select Add a new web serviceextension. Type the name Citrix XML ISAPI in the Extension name field and clickAdd. In the Add File popup window, type in or browse to the location of the wpnbr.dll file. Then finish by selecting the Set the extension status to allowed check box.
-
For MetaFrame Presentation Server 3.0, in IIS Admin right-click Web Service Extensions, select Add a new web service extension. Type the name Citrix XML Administration ISAPI in the Extension name field and click Add. In the Add File popup window, type in or browse to the location of the ctxadmin.dll file. Then finish by selecting the Set the extension status to allowed check box.
-
Run the iisreset command (be aware that this command restarts all IIS-related services).
Registering the XML Service to share the port with IIS 7.0
For XenApp Server 5.0 and 6.0 on Windows Server 2008 and R2, refer to CTX125107 –Configuring XML Service to Share a Port with IIS on 32 and 64 Bit Versions of Windows Server 2008.
Note: The file ctxxmlss.txt is located in the Program Files\Citrix\System32 folder and the files clm.dll and wpnbr.dll are located in the
With Presentation Server 3.0, all the files required are located in Program Files\Citrix\System32.
Posted in Citrix
How to test the Citrix XML service
Issue\Requirement:
The Citrix XML service is slow to respond or or need to ensure it is working correctly.
Resolution\Process:
To test the performance of the XML service and as a basic test, browse to the following website (replacing the server name with your Citrix server):
http://citrixservername/citrix/xenapp/scripts/ctxsta.dll
This should return a 405 message in a timely fashion. If this does not, you may have an issue.
Additional information\Notes:
To use the XML service without using IIS you can use the following article:
http://support.citrix.com/article/CTX104063
This will not be using a certificate so is therefore not secured. Therefore in CSG do not check “Secure traffic between the STA and the Secure Gateway”. Use the TCP port that you have made the XML service listen on.
Want to learn more on Citrix Automations and solutions???
Subscribe to get our latest content by email.