WebLogic comes with all the necessary ingredients to build and deploy a Web service, including Enterprise Java Beans, directory services that use JNDI, and deployment descriptors. The Curmudgeon is an example Web service that shows how to build and deploy a Web service on WebLogic.
The Curmudgeon is a Web service that takes a question as input and states an opinion. Don't expect kind answers from the Curmudgeon. As a matter of fact, it seems the only thing the Curmudgeon likes are things containing chocolate.
Listing 24.1 provides a description of the interface that makes it possible to speak with the Curmudgeon.
<definitions targetNamespace="java:examples.webservices.rpc.curmudgeonEJB" ...