You have to perform the following tasks:
Create a Java Web service with the correct implementation class and extended model definition
Define the Java class package
Customize and preview the Java Web service using the Web service component
Generate the corresponding Java Web service
Further define Java Web service in the Workspace Java Service Editor