Procedure
-
From the repository tree view, expand the Code node and right click the Beans node. In the contextual menu, select Create Bean.
-
The New Bean wizard opens. In the Name field, type in a name for the bean, for
example, CXFdemobean. Click Finish to close the wizard.
-
Change the class type to
interface
, change the return type tostring
and remove the message body.package beans; public interface CXFdemobean { public String helloExample(String message) ; }
- Press Ctrl+S to save your bean.