<?xml version="1.0" encoding="UTF-8"?>
<proxy xmlns="http://ws.apache.org/ns/synapse"
       name="WorkflowCallbackService"
       transports="https http"
       startOnLoad="true"
       trace="disable">
   <description/>
   <target>
      <inSequence>
         <property name="messageType"
                   value="application/x-www-form-urlencoded"
                   scope="axis2"
                   type="STRING"/>
         <send>
            <endpoint>
               <address uri="https://localhost:9443/store/site/blocks/workflow/workflow-listener/ajax/workflow-listener.jag"
                        format="rest"/>
            </endpoint>
         </send>
      </inSequence>
      <outSequence>
         <property name="messageType" value="text/xml" scope="axis2" type="STRING"/>
         <send/>
      </outSequence>
   </target>
   <publishWSDL>
<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
                        xmlns:ns1="http://org.apache.axis2/xsd"
                        xmlns:ns="http://callback.workflow.apimgt.carbon.wso2.org"
                        xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
                        xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
                        xmlns:xs="http://www.w3.org/2001/XMLSchema"
                        xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/"
                        xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
                        xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/"
                        targetNamespace="http://callback.workflow.apimgt.carbon.wso2.org">
         <wsdl:documentation>WorkflowCallbackService</wsdl:documentation>
         <wsdl:types>
            <xs:schema attributeFormDefault="qualified"
                       elementFormDefault="qualified"
                       targetNamespace="http://callback.workflow.apimgt.carbon.wso2.org">
               <xs:element name="resumeEvent">
                  <xs:complexType>
                     <xs:sequence>
                        <xs:element minOccurs="0"
                                    name="workflowReference"
                                    nillable="true"
                                    type="xs:string"/>
                        <xs:element minOccurs="0" name="status" nillable="true" type="xs:string"/>
                        <xs:element minOccurs="0"
                                    name="description"
                                    nillable="true"
                                    type="xs:string"/>
                     </xs:sequence>
                  </xs:complexType>
               </xs:element>
               <xs:element name="resumeEventResponse">
                  <xs:complexType>
                     <xs:sequence>
                        <xs:element minOccurs="0" name="return" nillable="true" type="xs:string"/>
                     </xs:sequence>
                  </xs:complexType>
               </xs:element>
            </xs:schema>
         </wsdl:types>
         <wsdl:message name="resumeEventRequest">
            <wsdl:part name="parameters" element="ns:resumeEvent"/>
         </wsdl:message>
         <wsdl:message name="resumeEventResponse">
            <wsdl:part name="parameters" element="ns:resumeEventResponse"/>
         </wsdl:message>
         <wsdl:portType name="WorkflowCallbackServicePortType">
            <wsdl:operation name="resumeEvent">
               <wsdl:input message="ns:resumeEventRequest" wsaw:Action="urn:resumeEvent"/>
               <wsdl:output message="ns:resumeEventResponse" wsaw:Action="urn:resumeEventResponse"/>
            </wsdl:operation>
         </wsdl:portType>
         <wsdl:binding name="WorkflowCallbackServiceSoap11Binding"
                       type="ns:WorkflowCallbackServicePortType">
            <soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
            <wsdl:operation name="resumeEvent">
               <soap:operation soapAction="urn:resumeEvent" style="document"/>
               <wsdl:input>
                  <soap:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                  <soap:body use="literal"/>
               </wsdl:output>
            </wsdl:operation>
         </wsdl:binding>
         <wsdl:binding name="WorkflowCallbackServiceSoap12Binding"
                       type="ns:WorkflowCallbackServicePortType">
            <soap12:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
            <wsdl:operation name="resumeEvent">
               <soap12:operation soapAction="urn:resumeEvent" style="document"/>
               <wsdl:input>
                  <soap12:body use="literal"/>
               </wsdl:input>
               <wsdl:output>
                  <soap12:body use="literal"/>
               </wsdl:output>
            </wsdl:operation>
         </wsdl:binding>
         <wsdl:binding name="WorkflowCallbackServiceHttpBinding"
                       type="ns:WorkflowCallbackServicePortType">
            <http:binding verb="POST"/>
            <wsdl:operation name="resumeEvent">
               <http:operation location="resumeEvent"/>
               <wsdl:input>
                  <mime:content type="text/xml" part="parameters"/>
               </wsdl:input>
               <wsdl:output>
                  <mime:content type="text/xml" part="parameters"/>
               </wsdl:output>
            </wsdl:operation>
         </wsdl:binding>
         <wsdl:service name="WorkflowCallbackService">
            <wsdl:port name="WorkflowCallbackServiceHttpsSoap11Endpoint"
                       binding="ns:WorkflowCallbackServiceSoap11Binding">
               <soap:address location="https://localhost:8243/services/WorkflowCallbackService.WorkflowCallbackServiceHttpsSoap11Endpoint/"/>
            </wsdl:port>
            <wsdl:port name="WorkflowCallbackServiceHttpSoap11Endpoint"
                       binding="ns:WorkflowCallbackServiceSoap11Binding">
               <soap:address location="http://localhost:8280/services/WorkflowCallbackService.WorkflowCallbackServiceHttpSoap11Endpoint/"/>
            </wsdl:port>
            <wsdl:port name="WorkflowCallbackServiceHttpsSoap12Endpoint"
                       binding="ns:WorkflowCallbackServiceSoap12Binding">
               <soap12:address location="https://localhost:8243/services/WorkflowCallbackService.WorkflowCallbackServiceHttpsSoap12Endpoint/"/>
            </wsdl:port>
            <wsdl:port name="WorkflowCallbackServiceHttpSoap12Endpoint"
                       binding="ns:WorkflowCallbackServiceSoap12Binding">
               <soap12:address location="http://localhost:8280/services/WorkflowCallbackService.WorkflowCallbackServiceHttpSoap12Endpoint/"/>
            </wsdl:port>
            <wsdl:port name="WorkflowCallbackServiceHttpsEndpoint"
                       binding="ns:WorkflowCallbackServiceHttpBinding">
               <http:address location="https://localhost:8243/services/WorkflowCallbackService.WorkflowCallbackServiceHttpsEndpoint/"/>
            </wsdl:port>
            <wsdl:port name="WorkflowCallbackServiceHttpEndpoint"
                       binding="ns:WorkflowCallbackServiceHttpBinding">
               <http:address location="http://localhost:8280/services/WorkflowCallbackService.WorkflowCallbackServiceHttpEndpoint/"/>
            </wsdl:port>
         </wsdl:service>
      </wsdl:definitions>
   </publishWSDL>
</proxy>
