Oracle WebLogic Server Logo

Web Services - Using JWS metadata annotations

 

This example shows how to create a simple WebLogic Web Service using JWS metadata annotations. Metadata annotations are a new J2SE 5.0 feature that provides the ability to associate additional data alongside Java classes, interfaces, methods, and fields. The set of annotations used to annotate Web Service files are called JWS annotations. WebLogic Web Services use standard JWS annotations, as defined by the Web Services Metadata for the Java Platform specification (JSR-181), as well as WebLogic-specific ones for added value.
 
This JSP invokes the sayHello operation of the Simple Web service.
 
Enter a String to send to the sayHello operation: