i'm using now wsdl4j. also axis2 used wsdl4j, but: how can i read the xsd inside the wsdl? i'm able to read all the informations, but not the types of the message, i will explain better:
a snippet of a wsdl: <wsdl:types> <xsd:schema targetNamespace="http://www.example.org/NewWSDLFile/"> <xsd:element name="NewOperation"> <xsd:complexType> <xsd:sequence> <xsd:element name="in" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> <xsd:element name="NewOperationResponse"> <xsd:complexType> <xsd:sequence> <xsd:element name="out" type="xsd:string"/> </xsd:sequence> </xsd:complexType> </xsd:element> </xsd:schema> </wsdl:types> <wsdl:message name="NewOperationRequest"> <wsdl:part element="tns:NewOperation" name="parameters"/> </wsdl:message> <wsdl:message name="NewOperationResponse"> <wsdl:part element="tns:NewOperationResponse" name="parameters"/> </wsdl:message> i'm able to read the message : SchemaExtensibilityElement ({http://www.w3.org/2001/XMLSchema}schema): required=null element=[xsd:schema: null] Message: name={http://www.example.org/NewWSDLFile/}NewOperationResponse Part: name=parameters elementName={http://www.example.org/NewWSDLFile/}NewOperationResponse Message: name={http://www.example.org/NewWSDLFile/}NewOperationRequest Part: name=parameters elementName={http://www.example.org/NewWSDLFile/}NewOperation PortType: name={http://www.example.org/NewWSDLFile/}NewWSDLFile Operation: name=NewOperation style=REQUEST_RESPONSE Input: name=null Message: name={http://www.example.org/NewWSDLFile/}NewOperationRequest Part: name=parameters elementName={http://www.example.org/NewWSDLFile/}NewOperation Output: name=null Message: name={http://www.example.org/NewWSDLFile/}NewOperationResponse Part: name=parameters elementName={http://www.example.org/NewWSDLFile/}NewOperationResponse but i'm not able to read the definition of the content of message like the lines inside <wsdl:types></wsdl:types> any hints about that? thanks all -- Stefano