/* 428 */ if (win == null)
/* 429 */ throw new WSException("RPC endpoints require an input message");
/* 430 */ String wsdlMessageName = win.getMessageName().getLocalPart();
/* 431 */ JBossXSModel schemaModel = WSDLUtils.getSchemaModel(this.wsdlDefinitions.getWsdlTypes());
/* */
/* 433 */ RPCSignature signature = new RPCSignature(wiop);
/* 434 */ int i = 0;
/* 435 */ for (WSDLRPCPart part : signature.parameters())
/* */ {
/* 437 */ String partName = part.getName();
/* 438 */ QName xmlName = new QName(partName);
/* 439 */ QName xmlType = part.getType();
/* */
/* 441 */ XSTypeDefinition xt = schemaModel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/* 442 */ if ((xt instanceof XSSimpleTypeDefinition)) {
/* 443 */ xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
/* */ }
/* 445 */ MethodParamPartsMapping mpin = getMethodParamPartsMapping(semm, xmlName, xmlType, i++, wsdlMessageName, getMode(wiop, part.getName()), partName, false, true);
/* */
/* 447 */ semm.addMethodParamPartsMapping(mpin);
/* */ }
/* */
/* 450 */ WSDLRPCPart returnParameter = signature.returnParameter();
/* 451 */ if (returnParameter != null)
/* */ {
/* 453 */ String partName = returnParameter.getName();
/* 454 */ QName xmlName = new QName(partName);
/* 455 */ QName xmlType = returnParameter.getType();