Hi All,
Am parsing wsdl file thru c#, i got the input and output message of the portType and for the each complex type i need to find the parameters and datatypes involved for the particular type. check the sample code stated below
System.Xml.Schema.XmlSchemaParticle particle = complexType.Particle; System.Xml.Schema.XmlSchemaSequence sequence = particle as System.Xml.Schema.XmlSchemaSequence;
if (sequence != null) { foreach (System.Xml.Schema.XmlSchemaElement childElement in sequence.Items) { string p_Name = childElement.Name; string p_Type = childElement.SchemaTypeName.Name } }
for the "p_Type" which is complex type, from that i need to find the in depth parameters and Datatypes. some help is needed to sort out this issue.