Apache Beehive does not use the BEA Beehive Java™ Web Services (.jws) files. Support for Web Service components in Apache Beehive is provided by an implementation of JSR-181, so these components must be migrated to the JAX-WS programming model.
To migrate the .jws files, move the files to the Java source path in your project and change the file extension to .java. You can use the Eclipse refactoring options to move and rename the files.
The following example shows the definitions of a BEA Beehive web service component.
can be migrated to:
where targetNamespace is the value for targetNamespace in the WSDL
pointed to by wsdlLocation.
@common:operation annotation.
You must add the @WebMethod annotation to each exposed
method, keeping the exposed operations exactly the same. Use the @WebParam
annotation to map the parameter with the XML element in the WSDL.
See Do not use BEA Beehive @common annotations for more
information on the @common:operation annotation.