Open topic with navigation

TIBCO BusinessEvents® Enterprise Edition 6.3.1

# Example WSDL

The table following this example shows which WSDL elements and attributes are used to create TIBCO BusinessEvents project artifacts.

Elements and attributes used in the import are highlighted in bold text. Differences between import from abstract and concrete WSDL files are also highlighted. See Example Project Folder Structure for more details.

    <?xml version="1.0" encoding="UTF-8"?>
    <!--Created by TIBCO WSDL-->
    <wsdl:definitions omitted to keep the example short>
       <wsdl:types>
          <xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://www.books.org" elementFormDefault="qualified" attributeFormDefault="unqualified" targetNamespace="http://www.books.org">
    . . . . . . Elements omitted
          </xsd:schema>
       </wsdl:types>
    . . . . . . Elements omitted

    Note:In an abstract WSDL the following elements are used in the import. However in a concrete WSDL, the <wsdl:binding> elements are used instead. <wsdl:portType name="GetBookPortType">
          <wsdl:operation name="GetBook">
             <wsdl:input message="tns:GetBookRequestMessage"/>
             <wsdl:output message="tns:GetBookResponseMessage"/>
          </wsdl:operation>
       </wsdl:portType>

    Note: This is a concrete WSDL example, so the <wsdl:binding> elements are used in the import. (In an abstract WSDL, the <wsdl:portType> element contents are used instead.)<wsdl:binding name="getBookBinding" type="tns:GetBookPortType">
          <soap:binding style="document"
                    transport="http://schemas.xmlsoap.org/soap/http"/>
          <wsdl:operation name="GetBook">
             <wsdl:documentation>The operation has no documentation
             </wsdl:documentation>
             <soap:operation style="document" soapAction="/Service/getBook"/>
             <wsdl:input>
                <soap:body use="literal" parts="part1"/>
                <soap:header use="literal"
                         message="tns:TransactionRecordMessage" part="user"/>
             </wsdl:input>
             <wsdl:output>
                <soap:body use="literal" parts="part1"/>
                <soap:header use="literal"
                         message="tns:TransactionRecordMessage" part="transactionID"/>
             </wsdl:output>
          </wsdl:operation>
       </wsdl:binding>
       <wsdl:service name="getBook">
          <wsdl:port name="getBookHttpPort" binding="tns:getBookBinding">
             <soap:address location="http://ACME:9090/Service/getBook"/>
          </wsdl:port>
       </wsdl:service>
    </wsdl:definitions>

Did you find this helpful?

YesNo
Great!
Thanks for taking the time to give us some feedback.
Sorry about that

Why wasn't this helpful? (check all that apply)

Could not find what I was looking for
Instructions confusing or unclear
Instructions did not work

Want to tell us more?

Please select at least one option or provide details about the issue!!

Error occurred while submitting feedback.

Error2 occurred while submitting feedback.

TIBCO BusinessEvents® Enterprise Edition

Copyright © 2004-2024. Cloud Software Group, Inc. All Rights Reserved.