Class JAXWSServiceBuilderExtension

  • All Implemented Interfaces:

    public class JAXWSServiceBuilderExtension
    extends AbstractServiceBuilderExtension

    The Class JAXWSServiceBuilderExtension is an implementation of org.apache.axis2.deployment.ServiceBuilderExtension interface and facilitate to deploy JAX-WS artifacts through other Deployers.

    As an example it is possible to use JAXWSServiceBuilderExtension class to add JAX-WS support for service.xml meta file based service deployment. First, JAXWSServiceBuilderExtension create initial AxisService and ServiceDeployer add further configuration based of provided service.xml meta data file. Annotated call may load from embedded archive (AAR), a exploded directory or from Classpath.

    It is expected to define only JAXWSMessageReceiver as MessageReceivers in the service.xml file

    Example :

             <messageReceiver mep="" class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
             <messageReceiver mep="" class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
    • Constructor Detail

      • JAXWSServiceBuilderExtension

        public JAXWSServiceBuilderExtension()
    • Method Detail

      • checkPreconditions

        protected boolean checkPreconditions​(Object metaData)
        This method check whether all the defined are type of JAXWSMessageReceiver. Return true only if all the elements satisfy above condition.
        metaData - the meta data
        true, if successful