XServices/test/JobServices-soapui-project.xml

290 lines
18 KiB
XML
Raw Normal View History

<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="JobServices" resourceRoot="" soapui-version="4.0.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="JobServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}JobServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/JobServices?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/JobServices?wsdl"><con:part><con:url>http://localhost:8080/XServices/JobServices?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="JobService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="deleteJob" type="tns:deleteJob"/>
<xs:element name="deleteJobResponse" type="tns:deleteJobResponse"/>
<xs:element name="getJob" type="tns:getJob"/>
<xs:element name="getJobResponse" type="tns:getJobResponse"/>
<xs:element name="getJobs" type="tns:getJobs"/>
<xs:element name="getJobsResponse" type="tns:getJobsResponse"/>
<xs:element name="getStatistics" type="tns:getStatistics"/>
<xs:element name="getStatisticsResponse" type="tns:getStatisticsResponse"/>
<xs:element name="scheduleJob" type="tns:scheduleJob"/>
<xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
<xs:complexType name="getJobs">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getJobsResponse">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="scheduledJob">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element minOccurs="0" name="description" type="xs:string"/>
<xs:element name="datetime" type="xs:dateTime"/>
<xs:element minOccurs="0" name="script" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getJob">
<xs:sequence>
<xs:element name="id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getJobResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getStatistics">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getStatisticsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:schedulerStatisticsType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="schedulerStatisticsType">
<xs:sequence>
<xs:element minOccurs="0" name="calendarNames">
<xs:simpleType>
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="executedJobs" type="xs:int"/>
<xs:element minOccurs="0" name="runningSince" type="tns:DateInfoType"/>
<xs:element name="threadPoolSize" type="xs:int"/>
<xs:element minOccurs="0" name="version" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DateInfoType">
<xs:sequence>
<xs:element minOccurs="0" name="iso8601date" type="xs:dateTime"/>
<xs:element minOccurs="0" name="rfc822date" type="xs:string"/>
<xs:element name="timestamp" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteJob">
<xs:sequence>
<xs:element name="id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteJobResponse">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="scheduleJob">
<xs:sequence>
<xs:element name="job" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="scheduleJobResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XServicesFault">
<xs:sequence>
<xs:element name="faultstring" nillable="true" type="xs:string"/>
<xs:element name="username" nillable="true" type="xs:string"/>
<xs:element name="homedir" nillable="true" type="xs:string"/>
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="scheduleJob">
<wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobResponse">
<wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteJob">
<wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJob">
<wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobs">
<wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getStatisticsResponse">
<wsdl:part element="tns:getStatisticsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobsResponse">
<wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="scheduleJobResponse">
<wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteJobResponse">
<wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getStatistics">
<wsdl:part element="tns:getStatistics" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="JobService">
<wsdl:operation name="getJobs">
<wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
<wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
<wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getJob">
<wsdl:documentation>Get a job by id</wsdl:documentation>
<wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
<wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getStatistics">
<wsdl:documentation>Get scheduler statistics</wsdl:documentation>
<wsdl:input message="tns:getStatistics" name="getStatistics"></wsdl:input>
<wsdl:output message="tns:getStatisticsResponse" name="getStatisticsResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteJob">
<wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
<wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
<wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="scheduleJob">
<wsdl:documentation>Schedule a job</wsdl:documentation>
<wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
<wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getJobs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getJobs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getJobsResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getStatistics">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getStatistics">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getStatisticsResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="deleteJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="deleteJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="scheduleJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="scheduleJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="scheduleJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="JobService">
<wsdl:port binding="tns:JobServiceSoapBinding" name="JobServiceImplPort">
<soap:address location="http://localhost:8080/XServices/JobServices"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getJobs" bindingOperationName="getJobs" type="Request-Response" outputName="getJobsResponse" inputName="getJobs" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getJobs/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/getJobs"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getJob" bindingOperationName="getJob" type="Request-Response" outputName="getJobResponse" inputName="getJob" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getJob>
<id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
</ws:getJob>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/getJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="scheduleJob" bindingOperationName="scheduleJob" type="Request-Response" outputName="scheduleJobResponse" inputName="scheduleJob" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:scheduleJob>
<job>
<name></name>
<datetime>2012-05-14T07:52:00+02:00</datetime>
<!--Optional:-->
<script><![CDATA[
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
java.lang.System.out.println("hm")
]]]]>><![CDATA[</script>
</job>
</ws:scheduleJob>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/scheduleJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="deleteJob" bindingOperationName="deleteJob" type="Request-Response" outputName="deleteJobResponse" inputName="deleteJob" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:deleteJob>
<id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
</ws:deleteJob>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/deleteJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getStatistics" bindingOperationName="getStatistics" type="Request-Response" outputName="getStatisticsResponse" inputName="getStatistics" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getStatistics/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/getStatistics"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>