Generic interface for parent flow. The wsdl should support any type of payload:
<definitions xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd" xmlns:wsp="http://www.w3.org/ns/ws-policy" xmlns:wsp1_2="http://schemas.xmlsoap.org/ws/2004/09/policy" xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://mock.service.com/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://schemas.xmlsoap.org/wsdl/" targetNamespace="http://mock.service.com/" name="EchoMultiOpsImplService">
<types>
<xs:schema xmlns:tns="http://mock.service.com/" xmlns:xs="http://www.w3.org/2001/XMLSchema" version="1.0" targetNamespace="http://mock.service.com/">
<xs:element name="echoAny" type="tns:echoAnyType"/>
<xs:element name="echoAnyResponse" type="tns:echoAnyType"/>
<xs:complexType name="echoAnyType">
<xs:sequence>
<xs:element name="xml" type="xs:anyType"/>
</xs:sequence>
</xs:complexType>
</xs:schema>
</types>
<message name="echoSingle">
<part name="parameters" element="tns:echoAny"/>
</message>
<message name="echoSingleResponse">
<part name="parameters" element="tns:echoAnyResponse"/>
</message>
<portType name="EchoAny">
<operation name="echoAny">
<input wsam:Action="http://mock.service.com/echoSingle" message="tns:echoSingle"/>
<output wsam:Action="http://mock.service.com/echoSingleResponse" message="tns:echoSingleResponse"/>
</operation>
</portType>
</definitions>
No comments:
Post a Comment