public class JAXWSServiceBuilderExtension
extends org.apache.axis2.deployment.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 :
<messageReceivers>
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-only" class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
<messageReceiver mep="http://www.w3.org/ns/wsdl/in-out" class="org.apache.axis2.jaxws.server.JAXWSMessageReceiver"/>
</messageReceivers>
| Constructor and Description |
|---|
JAXWSServiceBuilderExtension() |
| Modifier and Type | Method and Description |
|---|---|
Map<String,org.apache.axis2.description.AxisService> |
buildAxisServices(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) |
protected boolean |
checkPreconditions(Object metaData)
This method check whether all the defined
|
public Map<String,org.apache.axis2.description.AxisService> buildAxisServices(org.apache.axis2.deployment.repository.util.DeploymentFileData deploymentFileData) throws org.apache.axis2.deployment.DeploymentException
org.apache.axis2.deployment.DeploymentExceptionprotected boolean checkPreconditions(Object metaData)
metaData - the meta dataCopyright © 2004–2017 The Apache Software Foundation. All rights reserved.