[Fedora-suds-list] schema doctor

Jeff Ortel jortel at redhat.com
Tue May 19 14:15:44 UTC 2009


All,

The schema /doctor/ was added in r512 and released in the 0.3.6 beta.  The module defines 
the Doctor interface and provides one stock implementation.  The ImportDoctor is designed 
to fix schemas that are missing imports.  Those of you using locally stored and fixed 
wsdls containing or importing schemas that are missing imports such as:

    <xs:import namespace="http://schemas.xmlsoap.org/soap/encoding/"/>

and

    <xs:import namespace="http://www.w3.org/2001/XMLSchema"/>

can now use the schema doctor to patch these schema(s) at runtime and go back to using the 
wsdl provided by the service provider.


Also, the Doctor interface is designed to be user extensible.  Suds users can write there 
own doctor classes to do pretty much whatever is needed to make schema(s) work.


See https://fedorahosted.org/suds/wiki/Documentation#FIXINGBROKENSCHEMAs for examples and 
more details.

Regards,

Jeff




More information about the fedora-suds-list mailing list