Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved


Chapter 12 Business Object Model Mappings to WSDL : Export Mappings – Business Object Model to WSDL

Export Mappings – Business Object Model to WSDL
Exporting a Business Object Model to a WSDL file generates:
For example the following Business Object Model Class:
Maps to the following WSDL constructs:
<?xml version="1.0" encoding="UTF-8"?>
<wsdl:definitions
xmlns:tns1="http://example.com/businessobjectmodel" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://example.com/businessobjectmodel">
<wsdl:types>
<xsd:schema targetNamespace="http://example.com/businessobjectmodel">
<xsd:annotation>
<xsd:documentation>BOMORIGIN::/p1/Business Objects/BusinessObjectModel.bom</xsd:documentation>
</xsd:annotation>
<xsd:complexType id="_4SxvkAbDEeCEXKKc2dARYw" name="MyClass1"/>
<xsd:element name="MyClass1Element" type="tns1:MyClass1"/>
</xsd:schema>
</wsdl:types>
<wsdl:message name="MyClass1_operation1_outputMessage">
<wsdl:part name="operation1_outputPart" type="xsd:boolean"/>
</wsdl:message>
<wsdl:message name="MyClass1_operation1_inputMessage">
<wsdl:part name="inputParam1" type="xsd:string"/>
<wsdl:part name="inputParam2" type="xsd:string"/>
</wsdl:message>
<wsdl:portType name="MyClass1">
<wsdl:operation name="operation1">
<wsdl:input message="tns1:MyClass1_operation1_inputMessage" name="operation1_inputMessage"/>
<wsdl:output message="tns1:MyClass1_operation1_outputMessage" name="operation1_outputMessage"/>
</wsdl:operation>
</wsdl:portType>
</wsdl:definitions>
Note that if a Business Object Model operation contains a parameter that is not a default primitive type, then the exported WSDL includes the appropriate XML schema so that the operation can refer to this schema.
 

Copyright © TIBCO Software Inc. All Rights Reserved
Copyright © TIBCO Software Inc. All Rights Reserved