Hello, <br>I try to communicate with openmeetings web services.<br><br>When I invoke a service : <br><br>client = Client(url_wsdl)<br>client.service.getSession()<br><br>I get this error message : <br>TypeNotFound: Type not found: '(Sessiondata, <a href="http://basic.beans.hibernate.app.openmeetings.org/xsd">http://basic.beans.hibernate.app.openmeetings.org/xsd</a>, )'<br>
<br><br><br>Now, a part of the wsdl file :<br><br><wsdl:definitions targetNamespace="<a href="http://services.axis.openmeetings.org">http://services.axis.openmeetings.org</a>"><br><wsdl:documentation>UserService</wsdl:documentation><br>
<wsdl:types><br><xs:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="<a href="http://basic.beans.hibernate.app.openmeetings.org/xsd">http://basic.beans.hibernate.app.openmeetings.org/xsd</a>"><br>
<xs:complexType name="Sessiondata"><br><xs:sequence><br><xs:element minOccurs="0" name="id" nillable="true" type="xs:long"/><br><xs:element minOccurs="0" name="language_id" nillable="true" type="xs:long"/><br>
<xs:element minOccurs="0" name="organization_id" nillable="true" type="xs:long"/><br><xs:element minOccurs="0" name="refresh_time" nillable="true" type="xs:dateTime"/><br>
<xs:element minOccurs="0" name="sessionXml" nillable="true" type="xs:string"/><br><xs:element minOccurs="0" name="session_id" nillable="true" type="xs:string"/><br>
<xs:element minOccurs="0" name="starttermin_time" nillable="true" type="xs:dateTime"/><br><xs:element minOccurs="0" name="storePermanent" nillable="true" type="xs:boolean"/><br>
<xs:element minOccurs="0" name="user_id" nillable="true" type="xs:long"/><br></xs:sequence><br></xs:complexType><br></xs:schema><br>........<br><xs:element name="getSessionResponse"><br>
<xs:complexType><br><xs:sequence><br><xs:element minOccurs="0" name="return" nillable="true" type="ns0:Sessiondata"/><br></xs:sequence><br></xs:complexType><br>
</xs:element><br>........<br><wsdl:message name="getSessionRequest"/><br><wsdl:message name="getSessionResponse"><br><wsdl:part name="parameters" element="ns2:getSessionResponse"/><br>
</wsdl:message><br>.........<br><wsdl:operation name="getSession"><br><wsdl:input message="ns2:getSessionRequest" wsaw:Action="urn:getSession"/><br><wsdl:output message="ns2:getSessionResponse" wsaw:Action="urn:getSessionResponse"/><br>
</wsdl:operation><br>......<br><wsdl:operation name="getSession"><br><soap:operation soapAction="urn:getSession" style="document"/><br><wsdl:input><br><soap:body use="literal"/><br>
</wsdl:input><br><wsdl:output><br><soap:body use="literal"/><br></wsdl:output><br></wsdl:operation><br><br><br>I found that TypeNotFound happens when a complex type is defined in an another wsdl file (but I'm not really sure...).<br>
But the SessionData type is defined in the same wsdl than the getSession function.<br><br><br>I'm lost, any help would be really appreciated.<br>