docs.intersystems.com
InterSystems IRIS Data Platform 2019.2  /  Creating Web Services and Web Clients

Creating Web Services and Web Clients
Summary of Web Service URLs
Previous section           Next section
InterSystems: The power behind what matters   
Search:  


This appendix summarizes the URLs related to an InterSystems 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.


Previous section           Next section
Send us comments on this page
View this book as PDF   |  Download all PDFs
Copyright © 1997-2019 InterSystems Corporation, Cambridge, MA
Content Date/Time: 2019-08-16 05:39:10