[Fedora-suds-list] Type not Found error.
Ajai Joy
ajai.joy at gmail.com
Fri Dec 4 14:54:40 UTC 2009
Hi All,
I get the Type not Found error. I looked at fixing broken schemas article,
but it doesnt work for me. The problem is my schema is inline, as you would
see in the wsdl so I am not quite sure, what I would set as a schema
location corresponding to the namespace uri.
url1 = 'https://localhost:9843/services/CLITunnelService?wsdl'
print 'before connection '
client1 = Client(url1)
Thansk.
--
Best Regards,
Ajai Joy
-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.fedoraproject.org/pipermail/suds/attachments/20091204/5373fb1a/attachment.html
-------------- next part --------------
c:\suds\python-suds-0.3.7\tests >python test.py
________________________________________________________________
before connection
DEBUG:suds.wsdl:reading wsdl at: https://localhost:9843/services/CLITunnelService?wsdl ...
DEBUG:suds.transport.http:opening (https://localhost:9843/services/CLITunnelService?wsdl), cached
DEBUG:suds.xsd.schema:imported:
Schema:0x12a3710
(raw)
<xs:schema targetNamespace="http://xx.com/webservices/mfw/util/xsd" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:complexType name="BaseException">
<xs:complexContent>
<xs:extension base="frameworkNamespace:Exception">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="BlException">
<xs:complexContent>
<xs:extension base="mfwUtilNamespace:BaseException">
<xs:sequence>
<xs:element nillable="true" type="xs:string" name="localizedMessage" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
(model)
<Complex:0x12aae40 name="BaseException" />
<Complex:0x12af080 name="BlException">
<ComplexContent:0x12af0f8>
<Extension:0x12af148 ref="mfwUtilNamespace:BaseException">
<Sequence:0x12af1c0>
<Element:0x12af260 name="localizedMessage" type="xs:string" />
</Sequence>
</Extension>
</ComplexContent>
</Complex>
DEBUG:suds.xsd.schema:imported:
Schema:0x12a38f0
(raw)
<xs:schema targetNamespace="http://xx.com/webservices/app/remote/xsd" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:import namespace="http://xx.com/webservices/mfw/util/xsd"/>
<xs:complexType name="BlRemoteException">
<xs:complexContent>
<xs:extension base="mfwUtilNamespace:BlException">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
(model)
<Complex:0x12af828 name="BlRemoteException" />
DEBUG:suds.xsd.schema:imported:
Schema:0x12a39e0
(raw)
<xs:schema targetNamespace="http://xx.com/webservices/framework/xsd" attributeFormDefault="qualified">
<xs:complexType name="Exception">
<xs:sequence>
<xs:element nillable="true" type="xs:anyType" name="Exception" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element type="xs:string" name="sessionId"/>
</xs:schema>
(model)
<Complex:0x12afa30 name="Exception">
<Sequence:0x12afa80>
<Element:0x12afad0 name="Exception" type="xs:anyType" />
</Sequence>
</Complex>
<Element:0x12afb48 name="sessionId" type="xs:string" />
DEBUG:suds.xsd.schema:imported:
Schema:0x12a3800
(raw)
<xs:schema targetNamespace="http://xx.com/webservices/cli/factory/xsd" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:import namespace="http://xx.com/webservices/framework/xsd"/>
<xs:complexType name="CommandLoadException">
<xs:complexContent>
<xs:extension base="frameworkNamespace:Exception">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="CommandNotFoundException">
<xs:complexContent>
<xs:extension base="frameworkNamespace:Exception">
<xs:sequence/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
(model)
<Complex:0x12af3f0 name="CommandLoadException" />
<Complex:0x12af580 name="CommandNotFoundException" />
DEBUG:suds.xsd.schema:imported:
Schema:0x12a3620
(raw)
<xs:schema targetNamespace="http://xx.com/webservices/model/clitunnel/xsd" attributeFormDefault="qualified" elementFormDefault="qualified">
<xs:complexType name="Result">
<xs:sequence>
<xs:element maxOccurs="unbounded" nillable="true" type="xs:base64Binary" name="attachment" minOccurs="0"/>
<xs:element type="xs:boolean" name="classInstance" minOccurs="0"/>
<xs:element nillable="true" type="xs:string" name="comments" minOccurs="0"/>
<xs:element nillable="true" type="xs:anyType" name="error" minOccurs="0"/>
<xs:element type="xs:long" name="executionTime" minOccurs="0"/>
<xs:element type="xs:boolean" name="list" minOccurs="0"/>
<xs:element type="xs:long" name="memoryUsed" minOccurs="0"/>
<xs:element maxOccurs="unbounded" nillable="true" type="xs:anyType" name="realInputArguments" minOccurs="0"/>
<xs:element nillable="true" type="xs:anyType" name="returnValue" minOccurs="0"/>
<xs:element nillable="true" type="xs:anyType" name="returnValues" minOccurs="0"/>
<xs:element type="xs:boolean" name="success" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ClientPayLoad">
<xs:sequence>
<xs:element maxOccurs="unbounded" nillable="true" type="xs:string" name="argumentNameArray" minOccurs="0"/>
<xs:element maxOccurs="unbounded" nillable="true" type="xs:base64Binary" name="dataHandlerArray" minOccurs="0"/>
<xs:element maxOccurs="unbounded" nillable="true" type="xs:string" name="fileNameArray" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
(model)
<Complex:0x12aa620 name="Result">
<Sequence:0x12aa670>
<Element:0x12aa6c0 name="attachment" type="xs:base64Binary" />
<Element:0x12aa738 name="classInstance" type="xs:boolean" />
<Element:0x12aa7b0 name="comments" type="xs:string" />
<Element:0x12aa828 name="error" type="xs:anyType" />
<Element:0x12aa8a0 name="executionTime" type="xs:long" />
<Element:0x12aa918 name="list" type="xs:boolean" />
<Element:0x12aa990 name="memoryUsed" type="xs:long" />
<Element:0x12aaa08 name="realInputArguments" type="xs:anyType" />
<Element:0x12aaa80 name="returnValue" type="xs:anyType" />
<Element:0x12aaaf8 name="returnValues" type="xs:anyType" />
<Element:0x12aab70 name="success" type="xs:boolean" />
</Sequence>
</Complex>
<Complex:0x12aabe8 name="ClientPayLoad">
<Sequence:0x12aac38>
<Element:0x12aac88 name="argumentNameArray" type="xs:string" />
<Element:0x12aad50 name="dataHandlerArray" type="xs:base64Binary" />
<Element:0x12aadc8 name="fileNameArray" type="xs:string" />
</Sequence>
</Complex>
1
Type not found: '(Exception, http://xx.com/webservices/framework/xsd, )'
-------------- next part --------------
A non-text attachment was scrubbed...
Name: CLITunnelService.wsdl
Type: text/xml
Size: 17101 bytes
Desc: not available
Url : http://lists.fedoraproject.org/pipermail/suds/attachments/20091204/5373fb1a/attachment.xml
More information about the suds
mailing list