XmlSchemaElement reqSchemaEl = schemas.getElementByQName(inElementName);
XmlSchemaElement resSchemaEl = null;
if (hasOutput) resSchemaEl = schemas.getElementByQName(outElementName);
if (reqSchemaEl == null)
throw new XFireRuntimeException("Couldn't find schema part: " + inElementName);
if (hasOutput && resSchemaEl == null)
throw new XFireRuntimeException("Couldn't find schema part: " + outElementName);
// Now lets see if we have any attributes...
// This should probably look at the restricted and substitute types too.
if (reqSchemaEl.getSchemaType() instanceof XmlSchemaComplexType)
{