Files
2024-08-27 17:21:30 +02:00

123 lines
7.6 KiB
XML

<?xml version="1.0" encoding="UTF-8"?>
<!--Created by TIBCO WSDL-->
<wsdl:definitions xmlns:ns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema1.xsd" xmlns:ns0="http://www.demo.com/author" xmlns:ns2="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd2" xmlns:ns1="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:ns4="http://www.demo.com/PutRequest" xmlns:ns3="http://www.tibco.com/schemas/httpRequest/Resources/schemas/GetRequest.xsd" xmlns:ns6="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PutResponse.xsd" xmlns:ns5="http://www.demo.com/GetResponse" xmlns:ns8="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteResponse.xsd" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:ns7="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteRequest.xsd" xmlns:ns9="http://www.demo.com/PostRequest" xmlns:ns11="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" xmlns:ns10="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PostResponse.xsd" xmlns:tns="http://xmlns.example.com/1721737885605" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" name="Untitled" targetNamespace="http://xmlns.example.com/1721737885605">
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/GetRequest.xsd" location="../schemas/getRequest.xsd"/>
<wsdl:import namespace="http://www.demo.com/author" location="../schemas/author.xsd"/>
<wsdl:import namespace="http://www.demo.com/PutRequest" location="../schemas/putRequest.xsd"/>
<wsdl:import namespace="http://www.demo.com/GetResponse" location="../schemas/getResponse.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PutResponse.xsd" location="../schemas/putResponse.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteRequest.xsd" location="../schemas/deleteRequest.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/DeleteResponse.xsd" location="../schemas/deleteResponse.xsd"/>
<wsdl:import namespace="http://www.demo.com/PostRequest" location="../schemas/postRequest.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/PostResponse.xsd" location="../schemas/postResponse.xsd"/>
<wsdl:import namespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/ErrorSchema.xsd2" location="../schemas/errorSchema.xsd"/>
<wsdl:types>
<xs:schema xmlns:p="http://www.demo.com/person" xmlns:a="http://www.demo.com/author" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.demo.com/author" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:import namespace="http://www.demo.com/author"/>
<xs:complexType name="AuthorType">
<xs:complexContent>
<xs:extension base="a:PersonType">
<xs:sequence>
<xs:element name="dateOfBirth" type="xs:date"/>
<xs:element name="dateOfDeath" type="xs:date" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="AuthorsType">
<xs:sequence>
<xs:element ref="a:author" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="PersonType">
<xs:sequence>
<xs:element name="firstName" type="xs:string"/>
<xs:element name="lastName" type="xs:string"/>
<xs:element name="age" type="xs:int" minOccurs="0"/>
</xs:sequence>
<xs:attribute name="id" type="xs:int"/>
</xs:complexType>
<xs:element name="author" type="a:AuthorType"/>
<xs:element name="authors" type="a:AuthorsType"/>
</xs:schema>
<xs:schema xmlns="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://www.tibco.com/schemas/httpRequest/Resources/schemas/Schema.xsd" elementFormDefault="qualified" attributeFormDefault="unqualified">
<xs:element name="root">
<xs:complexType>
<xs:sequence>
<xs:element ref="ns1:status"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element name="status" type="xs:string"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="requestGet">
<wsdl:part name="part1" element="ns3:id"/>
</wsdl:message>
<wsdl:message name="responseGet">
<wsdl:part name="part1" element="ns5:author"/>
</wsdl:message>
<wsdl:message name="requestPUT">
<wsdl:part name="part1" element="ns4:author"/>
</wsdl:message>
<wsdl:message name="responsePUT">
<wsdl:part name="part1" element="ns6:status"/>
</wsdl:message>
<wsdl:message name="requestDelete">
<wsdl:part name="part1" element="ns7:id"/>
</wsdl:message>
<wsdl:message name="responseDelete">
<wsdl:part name="part1" element="ns8:status"/>
</wsdl:message>
<wsdl:service name="WSDL-service2">
<wsdl:port name="PortTypeEndpoint2" binding="tns:PortTypeEndpoint2Binding">
<soap:address location="http://localhost:8888/Resources/WSDL/WSDL-service2.serviceagent/PortTypeEndpoint2"/>
</wsdl:port>
</wsdl:service>
<wsdl:portType name="PortType">
<wsdl:operation name="Post">
<wsdl:input message="tns:requestPOST"/>
<wsdl:output message="tns:responsePOST"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Get">
<wsdl:input message="tns:requestGet"/>
<wsdl:output message="tns:responseGet"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Put">
<wsdl:input message="tns:requestPUT"/>
<wsdl:output message="tns:responsePUT"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
<wsdl:operation name="Delete">
<wsdl:input message="tns:requestDelete"/>
<wsdl:output message="tns:responseDelete"/>
<wsdl:fault name="fault1" message="tns:ErrorMessage"/>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="PortTypeEndpoint2Binding" type="tns:PortType">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="Post">
<soap:operation style="document" soapAction="/Resources/WSDL/WSDL-service2.serviceagent/PortTypeEndpoint2/Post"/>
<wsdl:input>
<soap:body use="literal" parts="part1"/>
</wsdl:input>
<wsdl:output>
<soap:body use="literal" parts="part1"/>
</wsdl:output>
<wsdl:fault name="fault1">
<soap:fault use="literal" name="fault1"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:message name="requestPOST">
<wsdl:part name="part1" element="ns9:author"/>
</wsdl:message>
<wsdl:message name="responsePOST">
<wsdl:part name="part1" element="ns10:status"/>
</wsdl:message>
<wsdl:message name="ErrorMessage">
<wsdl:part name="part1" element="ns11:error"/>
</wsdl:message>
</wsdl:definitions>