1. generate jaxb from wsdl
<groupId>org.apache.axis2</groupId>
<artifactId>axis2-wsdl2code-maven-plugin</artifactId>
2. implement SkeletonInterface to write the real web servcie class
@WebService(name = "xxx_V1_0", portName = "xxx_SOAP11_Port_HTTP", serviceName = "xxx_V1_0", targetNamespace = "http://xxx/Namespace/xxx/Services/Interface/V1", wsdlLocation = "wsdls/xxxRequest.wsdl")
@SOAPBinding(style = SOAPBinding.Style.DOCUMENT, use = SOAPBinding.Use.LITERAL, parameterStyle = SOAPBinding.ParameterStyle.BARE)
@HandlerChain(file = "handler-chain.xml")
public class xxxxService implements
xxxx_V1_0SkeletonInterface
{
@WebMethod(operationName = "xxx", action = "http://xxx/Namespace/xxxx/Services/Interface/V1/xxxx_PortType_V1_0/xxxx")
@WebResult(targetNamespace = "http://xxxx/Namespace/xxx/Service/V1.0", name = "xxxx")
@Override
public xxxxResponseType xxxxMethod(@WebParam(name = "xxxxRequestType", targetNamespace = "http://xxxx/Namespace/xxxx/Services/Interface/V1", partName = "xxxxRequest") RequestType xxxxRequest)
throws WebservicecustomisedErrors
{
}
}