Creating the Web Service Application

When you have added the required methods, you can now set up the application.

From the Application Browser, add a new application and call it CustomerWebServiceApp. Set up this application to be web‑enabled and the web application type to be a web service.

In the Web Options sheet, specify your web service options and then select the WebServiceOverHttpApp as your web service exposure. In the example, scheme is kept at the default value of http, localhost is used as the machine name, 6107 is used as the port, and JadeEval as the virtual directory.

You can also use Jade‑to‑Jade direct web services, which allow a web service consumer to connect directly to the web service provider without the need for a web server. As the messaging protocol is specific to Jade, the web service consumer must be a Jade system. To use the Jade‑to‑Jade direct web services option, change the scheme to tcp and enter a machine name of localhost:1234, where localhost is used as the machine name and 1234 represents the TCP port number to be used.

Nothing else needs to be set to use this option. Note also that nothing needs be set up in the IIS or Apache web server, as the communication between the Jade web service provider and consumer uses TCP directly and bypasses the web server.