Permalink
Find file Copy path
Fetching contributors…
Cannot retrieve contributors at this time
150 lines (130 sloc) 5.34 KB
<?xml version="1.0" encoding="UTF-8" standalone="yes"?>
<definitions
xmlns="http://schemas.xmlsoap.org/wsdl/"
xmlns:xs="http://www.w3.org/2001/XMLSchema"
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
xmlns:tns="http://services.remote.kie.org/VERSION/command"
xmlns:jaxws="http://java.sun.com/xml/ns/jaxws"
xmlns:wsp="http://www.w3.org/ns/ws-policy"
xmlns:wsu="http://docs.oasis-open.org/wss/2004/01/oasis-200401-wss-wssecurity-utility-1.0.xsd"
xmlns:wsam="http://www.w3.org/2007/05/addressing/metadata"
name="CommandService"
targetNamespace="http://services.remote.kie.org/VERSION/command"
>
<!-- JAX-WS Customizations: Wrapper styles, async. -->
<jaxws:bindings>
<jaxws:enableWrapperStyle>true</jaxws:enableWrapperStyle>
<jaxws:enableAsyncMapping>false</jaxws:enableAsyncMapping>
</jaxws:bindings>
<types xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:schema
xmlns:jxb="http://java.sun.com/xml/ns/jaxb"
xmlns:xjc="http://java.sun.com/xml/ns/jaxb/xjc"
jxb:extensionBindingPrefixes="xjc"
jxb:version="1.0"
targetNamespace="http://services.remote.kie.org/VERSION/command"
version="1.0">
<xs:annotation>
<xs:appinfo>
<jxb:globalBindings collectionType="java.util.LinkedList" fixedAttributeAsConstantProperty="true" generateIsSetMethod="false">
<xjc:serializable uid="1"/>
</jxb:globalBindings>
</xs:appinfo>
</xs:annotation>
<!-- COMMON -->
<xs:complexType name="serializableServiceObject" abstract="true">
<xs:annotation>
<xs:appinfo>
<jxb:class ref="org.kie.remote.services.ws.common.SerializableServiceObject"/>
</xs:appinfo>
</xs:annotation>
<xs:sequence/>
</xs:complexType>
<!-- EXCEPTION -->
<xs:element name="CommandServiceException" type="tns:WebServiceFaultInfo"/>
<xs:complexType name="WebServiceFaultInfo">
<xs:annotation>
<xs:appinfo>
<jxb:class ref="org.kie.remote.services.ws.common.WebServiceFaultInfo"/>
</xs:appinfo>
</xs:annotation>
</xs:complexType>
<!-- OPERATIONS -->
<xs:element name="execute" type="tns:execute"/>
<xs:complexType name="execute">
<xs:sequence>
<xs:element name="request" type="tns:jaxbCommandsRequest" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="command-request" type="tns:jaxbCommandsRequest"/>
<xs:complexType name="jaxbCommandsRequest">
<xs:annotation>
<xs:appinfo>
<jxb:class ref="org.kie.remote.client.jaxb.JaxbCommandsRequest"/>
</xs:appinfo>
</xs:annotation>
</xs:complexType>
<xs:element name="executeResponse" type="tns:executeResponse"/>
<xs:complexType name="executeResponse">
<xs:sequence>
<xs:element name="return" type="tns:jaxbCommandsResponse" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="command-response" type="tns:jaxbCommandsResponse"/>
<xs:complexType name="jaxbCommandsResponse">
<xs:annotation>
<xs:appinfo>
<jxb:class ref="org.kie.remote.client.jaxb.JaxbCommandsResponse"/>
</xs:appinfo>
</xs:annotation>
</xs:complexType>
</xs:schema>
</types>
<message name="execute">
<part name="parameters" element="tns:execute"/>
</message>
<message name="executeResponse">
<part name="parameters" element="tns:executeResponse"/>
</message>
<message name="CommandServiceException">
<part name="fault" element="tns:CommandServiceException"/>
</message>
<portType name="CommandServicePortType">
<jaxws:bindings>
<jaxws:class name="CommandWebService"/>
</jaxws:bindings>
<operation name="execute">
<input wsam:Action="http://services.remote.kie.org/VERSION/command/CommandService/executeRequest" message="tns:execute"/>
<output wsam:Action="http://services.remote.kie.org/VERSION/command/CommandService/executeResponse" message="tns:executeResponse"/>
<fault message="tns:CommandServiceException" name="CommandServiceException" wsam:Action="http://services.remote.kie.org/VERSION/command/CommandService/execute/Fault/CommandServiceException">
<jaxws:bindings>
<jaxws:class name="CommandWebServiceException"/>
</jaxws:bindings>
</fault>
</operation>
</portType>
<!-- Binding: Plain text -->
<binding name="CommandServiceBasicAuthBinding" type="tns:CommandServicePortType">
<soap:binding transport="http://schemas.xmlsoap.org/soap/http" style="document"/>
<operation name="execute">
<soap:operation soapAction=""/>
<input>
<soap:body use="literal"/>
</input>
<output>
<soap:body use="literal"/>
</output>
<fault name="CommandServiceException">
<soap:fault name="CommandServiceException" use="literal"/>
</fault>
</operation>
</binding>
<service name="CommandServiceBasicAuth">
<jaxws:bindings>
<jaxws:class name="CommandServiceBasicAuthClient"/>
</jaxws:bindings>
<port name="CommandServiceBasicAuthPort" binding="tns:CommandServiceBasicAuthBinding">
<soap:address location="REPLACE_WITH_ACTUAL_URL"/>
</port>
</service>
</definitions>