WSDL and XML Schema Generation
During the WSDL generation process, four files are created: WSDL, Request XSD, Response XSD, and Generic Type.
- WSDL: contains the primary contract with the new service definition and the four primary operations (add, delete, update, and find). It uses the interoperable document literal representation.
- Request XSD: contains a type definition of the entire repository and for each attribute of the repository. This type should have the type mappings as described in GenericType table, including the TIBCO MDM property length which should map for example to
xsd:maxLengthfor a string. Theadd,modify, anddeletewrite operations contain an entire record as input. Thefindread operation contain a record ID as input and returns the entire record as response.Note: The types definition are defined in the repository model. If you want to change the type definition, you must change it at the repository model level. - Response XSD: includes the request type definitions and therefore does not need to create many dynamic types. Only for the Response itself, it will create a type for all four operations. Furthermore, the ResultType and EventType is contained in there which is used by the three write operations responses.
- Generic Type: contains the UserInfo type.