Creating Web Services Using a Quick
WizardThe Web Service Quick Wizard makes it possible to define a Web service in a few steps. Features are assigned using configuration profiles.
When a Web service is defined using the Web Service Quick Wizard, the following components are also created automatically:
· A service collection
· A service interface
· A Web service
You have already created an EJB Module DC Project and assigned an EJB reference to this.
...
1. In the Service Explorer view, open Endpointsand select the bean.
2. From the context menu, select New → Web Service Quick Wizard.
3. In the dialog box, enter a name for the Web service.
4. Select a transport binding.
You can choose one the following options:
a. HTTP SOAP
b. HTTP Get
c. HTTP Post
d. HTTP SOAP with Attachments
5. Select a variant template with security settings.
You can choose one the following options:
a. No security
b. Basic security
c. Strong security
Security template |
Features |
Use |
No security |
· Transport binding: SOAP over HTTP · Stateless communication · No security |
Choose No security if the Web service is to be called over an Intranet. |
Basic security |
· Transport binding: SOAP over HTTP · Stateless communication · Authentication: HTTP Basic · Authorization: Yes All EJB security roles assigned · Transport guarantee: No |
Choose Basic Security if calling a Web service on the client side requires the authentication of the caller with the help of a user ID and a password. Calling WS operations can be protected using security roles. For more information, see Web Services Security. |
Strong security |
· Transport binding: SOAP over HTTPS · Stateless communication · Authentication: Certificates · Authorization: Yes All EJB security roles assigned · Transport guarantee: Integrity and confidentiality |
Choose Strong Security if authentication additionally requires X.509 client certificates. For more information, see Secure Transmission. |
6. Choose Next.
7. In the dialog box that appears, select the methods that are to be offered in the Web service and choose Next.
8. On the following screen, enter the name of an EAR project.
To deploy a Web service, you must first assign it to an EAR project. If the workspace contains several EAR projects or none at all, you need to enter either a new name for the EAR project or choose an existing name. If only one EAR project exists in the workspace, this EAR project is selected automatically.
From this dialog box, you can see and edit the names of the service interface, service collection, Web service configuration, and design time variant.
9. Choose Finish.
The created components are added to the Services node of your project.
10. Publish the Web service.

Before you deploy the Web service, you can configure the service interface and the Web service itself.
You have created a Web service and deployed it.
The service collection, service interface, and the Web service were created automatically. You can now continue editing them in the Service Explorer of the Enterprise Services perspective.