return soapBindingAnn;
}
private WebMethodAnnotation getWebMethodAnnotation(Operation operation, String methodName) {
WebMethodAnnotation webMethodAnn = new WebMethodAnnotation();
String operationName = operation.getName().getLocalPart();
if(!methodName.equals(operationName)) {
webMethodAnn.setOperationName(operationName);
}
if (operation.getSOAPAction() != null && operation.getSOAPAction().length() > 0){
webMethodAnn.setAction(operation.getSOAPAction());
}
return webMethodAnn;
}