/* 369 */ QName elementName = header.getElement();
/* */
/* 371 */ JBossXSModel xsmodel = WSDLUtils.getSchemaModel(this.wsdlDefinitions.getWsdlTypes());
/* 372 */ XSElementDeclaration xe = xsmodel.getElementDeclaration(elementName.getLocalPart(), elementName.getNamespaceURI());
/* 373 */ XSTypeDefinition xt = xe.getTypeDefinition();
/* 374 */ WSDLTypes wsdlTypes = this.wsdlDefinitions.getWsdlTypes();
/* 375 */ QName xmlType = wsdlTypes.getXMLType(header.getElement());
/* */
/* 378 */ xt = xsmodel.getTypeDefinition(xmlType.getLocalPart(), xmlType.getNamespaceURI());
/* 379 */ if ((xt instanceof XSSimpleTypeDefinition))
/* 380 */ xmlType = SchemaUtils.handleSimpleType((XSSimpleTypeDefinition)xt);
/* 381 */ String partName = header.getPartName();