}
private void buildParamMapping(ServiceEndpointMethodMapping methodMapping, String interfaceName, OperationMetaData operation,
String name, String type, String mode, boolean header, int position)
{
MethodParamPartsMapping paramMapping = new MethodParamPartsMapping(methodMapping);
paramMapping.setParamPosition(position);
paramMapping.setParamType(type);
WsdlMessageMapping messageMapping = new WsdlMessageMapping(paramMapping);
messageMapping.setWsdlMessagePartName(name);
String messageName = interfaceName + "_" + operation.getQName().getLocalPart();
if ("OUT".equals(mode))
messageName += "Response";
QName messageQName = new QName(wsdl.getTargetNamespace(), messageName, "wsdlMsgNS");
messageMapping.setWsdlMessage(messageQName);
messageMapping.setParameterMode(mode);
messageMapping.setSoapHeader(header);
paramMapping.setWsdlMessageMapping(messageMapping);
methodMapping.addMethodParamPartsMapping(paramMapping);
}