Skip to main content

Controlling the XML Types

The WSDL defines the XML types for the arguments and return values of all methods of the web service. For an InterSystems IRIS® data platform web service, the types are determined as follows:

  • If the InterSystems IRIS type corresponds to a simple type (such as %StringOpens in a new tab), an appropriate corresponding XML type is used.

  • If the InterSystems IRIS type corresponds to an XML-enabled class, the XMLTYPE parameter of that class specifies the name of the XML type. If that parameter is not specified, the class name (without the package) is used as the XML type name.

    Also, the WSDL defines this type, by using the information in the corresponding class definition.

  • If the InterSystems IRIS type corresponds to some other class, the class name (without the package) is used as the XML type name. Also, the WSDL does not define this type.

For further details, see Projecting Objects to XML.

Also see WSDL Support in InterSystems IRIS.

FeedbackOpens in a new tab