Show TOC Start of Content Area

Procedure documentation Creating a Web Service  Locate the document in its SAP Library structure

Prerequisites

This graphic is explained in the accompanying text

You have created and completely implemented the session bean QuickOrderProcessorBean in the EJB Module project.

This graphic is explained in the accompanying text

You have created the Enterprise Application project QuickCarRentalEar.

 

Procedure

...

       1.      In the J2EE Explorer, expand the project structure QuickCarRentalEjb ejb-jar.xml.

       2.      Select the session bean QuickOrderProcessorBean and choose New Web Service from the context menu.

You can create a new Web service in the wizard that appears.

       3.      In Web Service Name, enter QuickCarRentalService.

       4.      Choose Simple SOAP as the Default Configuration Type.

 

This graphic is explained in the accompanying text

 

       5.      Leave all the other predefined values unchanged and choose Next.

       6.      Accept the selection of all three business methods and choose Next.

 

This graphic is explained in the accompanying text

 

       7.      Accept the default values for the virtual interface and for the Web service definition.

       8.      Assign the project QuickCarRentalEar as the EAR Project.

 

This graphic is explained in the accompanying text

 

       9.      Choose Finish.

Result

The wizard generates: A virtual interface named QuickCarRentalServiceVi; the associated Web service definition QuickCarRentalServiceWsd; a configuration named Config1 and

It also inserts the corresponding nodes in the structure of the EJB Module project and automatically starts the WS Deployment Descriptor Editor.

 

This graphic is explained in the accompanying text

 

Next step:

Deploying the Web Service QuickCarRentaService

 

 

End of Content Area