Subversion Repositories XServices

Rev

Rev 94 | Details | Compare with Previous | Last modification | View Log | RSS feed

Rev Author Line No. Line
70 brianR 1
<?xml version="1.0" encoding="UTF-8"?>
177 brianR 2
<con:soapui-project name="JobServices" resourceRoot="" soapui-version="5.0.0" abortOnError="false" runType="SEQUENTIAL" activeEnvironment="Default" 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/JobService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/JobService?wsdl"><con:part><con:url>http://localhost:8080/XServices/JobService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="JobService" targetNamespace="http://ws.xservices.brutex.net" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:ns1="http://schemas.xmlsoap.org/soap/http">
88 brianR 3
  <wsdl:types>
4
    <xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
5
      <xs:element name="deleteJob" type="tns:deleteJob"/>
6
      <xs:element name="deleteJobResponse" type="tns:deleteJobResponse"/>
7
      <xs:element name="getJob" type="tns:getJob"/>
8
      <xs:element name="getJobResponse" type="tns:getJobResponse"/>
9
      <xs:element name="getJobs" type="tns:getJobs"/>
10
      <xs:element name="getJobsResponse" type="tns:getJobsResponse"/>
11
      <xs:element name="scheduleJob" type="tns:scheduleJob"/>
12
      <xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
13
      <xs:complexType name="getJobs">
14
        <xs:sequence/>
15
      </xs:complexType>
16
      <xs:complexType name="getJobsResponse">
17
        <xs:sequence>
18
          <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
19
        </xs:sequence>
20
      </xs:complexType>
21
      <xs:complexType name="scheduledJob">
22
        <xs:sequence>
23
          <xs:element name="name" type="xs:string"/>
24
          <xs:element minOccurs="0" name="description" type="xs:string"/>
25
          <xs:element name="datetime" type="xs:dateTime"/>
26
          <xs:element minOccurs="0" name="script" type="xs:string"/>
27
        </xs:sequence>
28
      </xs:complexType>
29
      <xs:complexType name="getJob">
30
        <xs:sequence>
31
          <xs:element name="id" type="xs:string"/>
32
        </xs:sequence>
33
      </xs:complexType>
34
      <xs:complexType name="getJobResponse">
35
        <xs:sequence>
36
          <xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
37
        </xs:sequence>
38
      </xs:complexType>
39
      <xs:complexType name="deleteJob">
40
        <xs:sequence>
41
          <xs:element name="id" type="xs:string"/>
42
        </xs:sequence>
43
      </xs:complexType>
44
      <xs:complexType name="deleteJobResponse">
45
        <xs:sequence/>
46
      </xs:complexType>
47
      <xs:complexType name="scheduleJob">
48
        <xs:sequence>
49
          <xs:element name="job" type="tns:scheduledJob"/>
50
        </xs:sequence>
51
      </xs:complexType>
52
      <xs:complexType name="scheduleJobResponse">
53
        <xs:sequence>
54
          <xs:element minOccurs="0" name="return" type="xs:string"/>
55
        </xs:sequence>
56
      </xs:complexType>
177 brianR 57
      <xs:element name="XServicesFault" type="tns:XServicesFault"/>
88 brianR 58
      <xs:complexType name="XServicesFault">
59
        <xs:sequence>
60
          <xs:element name="faultstring" nillable="true" type="xs:string"/>
61
          <xs:element name="username" nillable="true" type="xs:string"/>
62
          <xs:element name="homedir" nillable="true" type="xs:string"/>
63
          <xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
64
          <xs:element name="jvmruntime" nillable="true" type="xs:string"/>
65
        </xs:sequence>
66
      </xs:complexType>
67
    </xs:schema>
68
  </wsdl:types>
69
  <wsdl:message name="scheduleJob">
70
    <wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
71
  </wsdl:message>
72
  <wsdl:message name="getJobResponse">
73
    <wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
74
  </wsdl:message>
75
  <wsdl:message name="deleteJob">
76
    <wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
77
  </wsdl:message>
78
  <wsdl:message name="getJob">
79
    <wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
80
  </wsdl:message>
81
  <wsdl:message name="getJobs">
82
    <wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
83
  </wsdl:message>
84
  <wsdl:message name="getJobsResponse">
85
    <wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
86
  </wsdl:message>
87
  <wsdl:message name="scheduleJobResponse">
88
    <wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
89
  </wsdl:message>
90
  <wsdl:message name="deleteJobResponse">
91
    <wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
92
  </wsdl:message>
93
  <wsdl:message name="XServicesFault">
94
    <wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
95
  </wsdl:message>
96
  <wsdl:portType name="JobService">
97
    <wsdl:operation name="getJobs">
98
      <wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
99
      <wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
100
      <wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
101
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
102
    </wsdl:operation>
103
    <wsdl:operation name="getJob">
104
      <wsdl:documentation>Get a job by id</wsdl:documentation>
105
      <wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
106
      <wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
107
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
108
    </wsdl:operation>
109
    <wsdl:operation name="deleteJob">
110
      <wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
111
      <wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
112
      <wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
113
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
114
    </wsdl:operation>
115
    <wsdl:operation name="scheduleJob">
116
      <wsdl:documentation>Schedule a job</wsdl:documentation>
117
      <wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
118
      <wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
119
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
120
    </wsdl:operation>
121
  </wsdl:portType>
122
  <wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
123
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
124
    <wsdl:operation name="getJobs">
125
      <soap:operation soapAction="" style="document"/>
126
      <wsdl:input name="getJobs">
127
        <soap:body use="literal"/>
128
      </wsdl:input>
129
      <wsdl:output name="getJobsResponse">
130
        <soap:body use="literal"/>
131
      </wsdl:output>
132
      <wsdl:fault name="XServicesFault">
133
        <soap:fault name="XServicesFault" use="literal"/>
134
      </wsdl:fault>
135
    </wsdl:operation>
177 brianR 136
    <wsdl:operation name="deleteJob">
88 brianR 137
      <soap:operation soapAction="" style="document"/>
177 brianR 138
      <wsdl:input name="deleteJob">
88 brianR 139
        <soap:body use="literal"/>
140
      </wsdl:input>
177 brianR 141
      <wsdl:output name="deleteJobResponse">
88 brianR 142
        <soap:body use="literal"/>
143
      </wsdl:output>
144
      <wsdl:fault name="XServicesFault">
145
        <soap:fault name="XServicesFault" use="literal"/>
146
      </wsdl:fault>
147
    </wsdl:operation>
177 brianR 148
    <wsdl:operation name="getJob">
88 brianR 149
      <soap:operation soapAction="" style="document"/>
177 brianR 150
      <wsdl:input name="getJob">
88 brianR 151
        <soap:body use="literal"/>
152
      </wsdl:input>
177 brianR 153
      <wsdl:output name="getJobResponse">
88 brianR 154
        <soap:body use="literal"/>
155
      </wsdl:output>
156
      <wsdl:fault name="XServicesFault">
157
        <soap:fault name="XServicesFault" use="literal"/>
158
      </wsdl:fault>
159
    </wsdl:operation>
160
    <wsdl:operation name="scheduleJob">
161
      <soap:operation soapAction="" style="document"/>
162
      <wsdl:input name="scheduleJob">
163
        <soap:body use="literal"/>
164
      </wsdl:input>
165
      <wsdl:output name="scheduleJobResponse">
166
        <soap:body use="literal"/>
167
      </wsdl:output>
168
      <wsdl:fault name="XServicesFault">
169
        <soap:fault name="XServicesFault" use="literal"/>
170
      </wsdl:fault>
171
    </wsdl:operation>
172
  </wsdl:binding>
173
  <wsdl:service name="JobService">
174
    <wsdl:port binding="tns:JobServiceSoapBinding" name="JobServiceImplPort">
177 brianR 175
      <soap:address location="http://localhost:8080/XServices/JobService"/>
88 brianR 176
    </wsdl:port>
177
  </wsdl:service>
177 brianR 178
</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/JobService</con:endpoint><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/JobService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
70 brianR 179
   <soapenv:Header/>
180
   <soapenv:Body>
181
      <ws:getJobs/>
182
   </soapenv:Body>
177 brianR 183
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><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/JobService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
70 brianR 184
   <soapenv:Header/>
185
   <soapenv:Body>
186
      <ws:getJob>
187
         <id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
188
      </ws:getJob>
189
   </soapenv:Body>
177 brianR 190
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><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/JobService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
70 brianR 191
   <soapenv:Header/>
192
   <soapenv:Body>
193
      <ws:scheduleJob>
194
         <job>
177 brianR 195
            <name/>
87 brianR 196
            <datetime>2012-05-14T07:52:00+02:00</datetime>
177 brianR 197
         </job>
198
      </ws:scheduleJob>
199
   </soapenv:Body>
200
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><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:call name="Request 2"><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/JobService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
201
   <soapenv:Header/>
202
   <soapenv:Body>
203
      <ws:scheduleJob>
204
         <job>
205
            <name>Hello World 2</name>
70 brianR 206
            <!--Optional:-->
177 brianR 207
            <description>Some description</description>
208
            <datetime>2014-08-21T09:53:00+02:00</datetime>
209
            <!--Optional:-->
210
            <script>System.out.println("Hello World");</script>
70 brianR 211
         </job>
212
      </ws:scheduleJob>
213
   </soapenv:Body>
177 brianR 214
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><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/JobService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
70 brianR 215
   <soapenv:Header/>
216
   <soapenv:Body>
217
      <ws:deleteJob>
218
         <id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
219
      </ws:deleteJob>
220
   </soapenv:Body>
177 brianR 221
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>No Authorization</con:authType></con:credentials><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:interface><con:properties/><con:wssContainer/><con:oAuth2ProfileContainer/></con:soapui-project>