* @return
* @throws Exception
*/
private void writeSchemaForDocType(SchemaType docType, Types types)
throws Exception {
Schema mySchema = Utilities.findtSchemaDocument(docType);
QName q = docType.getName();
XmlObject typeNodeInWSDL = mySchema.getTypeNode(q);
if (null == typeNodeInWSDL)
throw new RuntimeException(
"Type for object not found in the assigned WSDL file. "
+ docType.getName() + " schema in: "