OEPE provides a validation utility for your WebLogic Web services projects that you develop in Eclipse IDE. Subject to validation are various artifacts and associations within the project, including compliance with specifications (for example, JSR-224), verification of referenced resources (for example, local and remote), and so on. The validation occurs by the means of a standard Eclipse validator that indicates errors in the Problems view, in the Project Explorer, and as markers in the source view, as Figure 1 and Figure 2 show.
Figure 1. Errors Displayed in Project Explorer
Figure 2. Errors Displayed in Source and Markers Views
1.1 Validated Resources
When working with Java Web services in
wls.web faceted projects, you can expect the following types of errors to be validated:
- annotations, with the following validation notes:
WebService - 1) Evaluate if
name is specified as an attribute, in case of explicit service endpoint interface; 2) Evaluate if
wsdlLocation declared differently on service endpoint interface and service implementation; 3) Evaluate if the referenced endpoint interface has the
WebService annotation; 4) Evaluate if the referenced endpoint interface is an interface.
WebMethod - 1) Methods are not overridden; 2) Methods are public; 3) Method return type is not
XmlBeans; 4) Method parameters are not
XmlBean; 5) Non-
SoapBinding - RPC encoded is not supported.
Exclude - Evaluate methods with this annotation for exclusion from
WebServiceProvider - Attribute
wsdlLocation is required for Provider-based Web service when
HTTPBinding type is not specified.
- Runtime artifacts (context path):
- Oracle WebLogic Server-specific errors.
- Generated artifacts in synchronization.
1.2 Configuring Project Validation
You can enable or disable validation as follows:
2. Related Information