1# $Id: __init__.py 1261 2006-10-10 23:45:43Z boverhof $ 2 3__all__ = ['wsdl2python', 'utility', 'containers', 'commands'] 4 5class WSDLFormatError(Exception): 6 '''Detected errors in the WSDL document. 7 ''' 8 9class WsdlGeneratorError(Exception): 10 pass 11 12class Wsdl2PythonError(Exception): 13 pass 14 15class WSInteropError(Exception): 16 '''Conformance to WS-I Basic-Profile 1.0 specification 17 ''' 18 19class WSISpec: 20 R2203 = 'An rpc-literal binding in a DESCRIPTION MUST refer, in its soapbind:body element(s), only to wsdl:part element(s) that have been defined using the type attribute.' 21 R2710 = 'The operations in a wsdl:binding in a DESCRIPTION MUST result in wire signatures that are different from one another.' 22 R2717 = 'An rpc-literal binding in a DESCRIPTION MUST have the namespace attribute specified, the value of which MUST be an absolute URI, on contained soapbind:body elements.' 23 R2729 = 'A MESSAGE described with an rpc-literal binding that is a response message MUST have a wrapper element whose name is the corresponding wsdl:operation name suffixed with the string "Response"' 24 25