docs.intersystems.com
Home  /  Application Development: Additional Options  /  Creating Web Services and Web Clients  /  Summary of Web Service URLs


Creating Web Services and Web Clients
Summary of Web Service URLs
[Back]  [Next] 
InterSystems: The power behind what matters   
Search:  


This appendix summarizes the URLs related to an InterSystems IRIS web service.
Web Service URLs
The URLs related to an InterSystems IRIS web service are as follows:
end point for the web service
base/csp/namespace/web_serv.cls
Where:
For example:
http://localhost:52773/csp/samples/MyApp.StockService.cls
WSDL
base/csp/app/web_serv.cls&WSDL
For example:
http://localhost:52773/csp/samples/MyApp.StockService.cls?WSDL
Note that both of these URLs are part of the /csp/namespace web application.
Using a Password-Protected WSDL URL
When you use the WSDL URL to generate a web client, if the underlying web application is protected by password authentication, it is necessary to append a string like the following (using the username _SYSTEM and password SYS as an example):
&IRISUsername=_SYSTEM&IRISPassword=SYS
If you use a third-party tool to create a web client, make sure that you understand how that tool handles its logins. For example, .NET performs a URL redirect after logging in. In this case, it is necessary to also append the following string to the URL:
&IRISNoRedirect=1
In all cases, you can also retrieve the WSDL from a browser after supplying the required username and password, save it as a file, and use the file instead. Or you could create a non-password-protected web application to serve the WSDL to consumers as needed, if it is necessary to have continuous access to the WSDL.