Java Reference
In-Depth Information
5.3.4 Create Web Service
From the cxf-ws/Java Resources/srcdirectory, create a Java package called 'com.bemach.
ws.cxf'. From this package, create one Java interface and one Java class.
5.3.4.1 EmployeeDataIf.java
We introduced another approach to create a Web Service using Java interface. This gives us
a cleaner way to specify the service interface prior to implementing the Web Service. All
WS annotations that were normally used for a Java class are used in a similar way.
Listing 5-1. EmployeeDataIf.java Class with Web Service Annotations
Search WWH ::




Custom Search