if (!contract.isRemotable()) {
return;
}
// SOAP binding (doc/lit/wrapped|bare or rpc/lit)
SOAPBinding soapBinding = clazz.getAnnotation(SOAPBinding.class);
for (Iterator<Operation> it = contract.getOperations().iterator(); it.hasNext();) {
final JavaOperation operation = (JavaOperation)it.next();
final Method method = operation.getJavaMethod();
introspectFaultTypes(operation);
// SOAP binding (doc/lit/wrapped|bare or rpc/lit)
SOAPBinding methodSOAPBinding = method.getAnnotation(SOAPBinding.class);
if (methodSOAPBinding == null) {
methodSOAPBinding = soapBinding;
}
boolean documentStyle = true;
boolean bare = false;
if (methodSOAPBinding != null) {
bare = methodSOAPBinding.parameterStyle() == SOAPBinding.ParameterStyle.BARE;
if(bare) {
// For BARE parameter style, the data won't be unwrapped
// The wrapper should be null
operation.setWrapperStyle(false);
}
documentStyle = methodSOAPBinding.style() == Style.DOCUMENT;
}
String operationName = operation.getName();
// WebMethod
WebMethod webMethod = method.getAnnotation(WebMethod.class);