/* 645 */ throw new WSException("Cannot obtain java/xml type mapping for: " + xmlType);
/* */ }
/* 647 */ Map variableMap = createVariableMappingMap(javaXmlTypeMapping.getVariableMappings());
/* 648 */ for (MethodParamPartsMapping partMapping : seiMethodMapping.getMethodParamPartsMappings())
/* */ {
/* 650 */ WsdlMessageMapping wsdlMessageMapping = partMapping.getWsdlMessageMapping();
/* 651 */ if (wsdlMessageMapping.isSoapHeader()) {
/* */ continue;
/* */ }
/* 654 */ if (wsdlMessageMapping == null) {
/* 655 */ throw new IllegalArgumentException("wsdl-message-message mapping required for document/literal wrapped");
/* */ }
/* 657 */ String elementName = wsdlMessageMapping.getWsdlMessagePartName();
/* */
/* 660 */ if (bindingInput.getMimePart(elementName) != null) {
/* */ continue;
/* */ }
/* 663 */ String variable = (String)variableMap.get(elementName);
/* 664 */ if (variable == null) {
/* 665 */ throw new IllegalArgumentException("Could not determine variable name for element: " + elementName);
/* */ }
/* 667 */ WrappedParameter wrapped = new WrappedParameter(new QName(elementName), partMapping.getParamType(), variable, partMapping.getParamPosition());
/* */
/* 669 */ String parameterMode = wsdlMessageMapping.getParameterMode();
/* 670 */ if ((parameterMode == null) || (parameterMode.length() < 2)) {
/* 671 */ throw new IllegalArgumentException("Invalid parameter mode for element: " + elementName);
/* */ }
/* 673 */ if (!"OUT".equals(parameterMode))
/* 674 */ wrappedParameters.add(wrapped);