This example shows how to call the Booking Service web service from a .NET application.
The configuration files for the Booking Service remoting configuration are in /WEB-INF/config/context/remoting/examples/webservices-cxf/ folder
. To use this example, configure WebCentral according to instructions in the readme.txt
, located in this folder. This configuration includes both remoting (Web Services support) and rendering (Web Central and Smart Client forms and reports support).
The current implementation of Booking Service does not use any authentication/security. For production deployment, you need to configure WebService to use security, which is appropriate for your deployment (for example, WS-Security: http://en.wikipedia.org/wiki/WS-Security).
The example is located in the Examples\Using Web Services\NET\WsClient
folder on the product DVD.
This is a C# .NET Windows application, calling the WebCentral BookingService
Web Service.
The application has a form with five buttons:
Each button invokes a service method. If you click on the buttons, you will see the following output on the Eclipse console:
The getBookings button also shows the return value in the popup dialog.