if(method.isAsync())
continue;
QName opName = new QName(wsdlBinding.getPortTypeName().getNamespaceURI(), method.getOperationName());
//patch the soapaction correctly from the WSDL
WSDLBoundOperationImpl bo = wsdlBinding.get(opName);
String action = bo.getSOAPAction();
method.getBinding().setSOAPAction(action);
boolean isRpclit = method.getBinding().isRpcLit();
List<ParameterImpl> reqParams = method.requestParams;
List<ParameterImpl> reqAttachParams = null;
for(ParameterImpl param:reqParams){
if(param.isWrapperStyle()){
if(isRpclit){
WrapperParameter reqParam = (WrapperParameter)param;
if(bo.getRequestNamespace() != null){
patchRpclitNamespace(bo.getRequestNamespace(), reqParam);
}
reqAttachParams = applyRpcLitParamBinding(method, (WrapperParameter)param, wsdlBinding, Mode.IN);
}
continue;
}
String partName = param.getPartName();
if(partName == null)
continue;
ParameterBinding paramBinding = wsdlBinding.getBinding(opName, partName, Mode.IN);
if(paramBinding != null)
param.setInBinding(paramBinding);
}
List<ParameterImpl> resAttachParams = null;
List<ParameterImpl> resParams = method.responseParams;
for(ParameterImpl param:resParams){
if(param.isWrapperStyle()){
if(isRpclit){
WrapperParameter respParam = (WrapperParameter)param;
if(bo.getResponseNamespace() != null){
patchRpclitNamespace(bo.getResponseNamespace(), respParam);
}
resAttachParams = applyRpcLitParamBinding(method, (WrapperParameter)param, wsdlBinding, Mode.OUT);
}
continue;
}