Subversion Repositories XServices

Rev

Rev 88 | Go to most recent revision | 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"?>
94 brianR 2
<con:soapui-project name="JobServices" resourceRoot="" soapui-version="4.5.1" 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/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">
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="getStatistics" type="tns:getStatistics"/>
12
      <xs:element name="getStatisticsResponse" type="tns:getStatisticsResponse"/>
13
      <xs:element name="scheduleJob" type="tns:scheduleJob"/>
14
      <xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
15
      <xs:complexType name="getJobs">
16
        <xs:sequence/>
17
      </xs:complexType>
18
      <xs:complexType name="getJobsResponse">
19
        <xs:sequence>
20
          <xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
21
        </xs:sequence>
22
      </xs:complexType>
23
      <xs:complexType name="scheduledJob">
24
        <xs:sequence>
25
          <xs:element name="name" type="xs:string"/>
26
          <xs:element minOccurs="0" name="description" type="xs:string"/>
27
          <xs:element name="datetime" type="xs:dateTime"/>
28
          <xs:element minOccurs="0" name="script" type="xs:string"/>
29
        </xs:sequence>
30
      </xs:complexType>
31
      <xs:complexType name="getJob">
32
        <xs:sequence>
33
          <xs:element name="id" type="xs:string"/>
34
        </xs:sequence>
35
      </xs:complexType>
36
      <xs:complexType name="getJobResponse">
37
        <xs:sequence>
38
          <xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
39
        </xs:sequence>
40
      </xs:complexType>
41
      <xs:complexType name="getStatistics">
42
        <xs:sequence/>
43
      </xs:complexType>
44
      <xs:complexType name="getStatisticsResponse">
45
        <xs:sequence>
46
          <xs:element minOccurs="0" name="return" type="tns:schedulerStatisticsType"/>
47
        </xs:sequence>
48
      </xs:complexType>
49
      <xs:complexType name="schedulerStatisticsType">
50
        <xs:sequence>
51
          <xs:element minOccurs="0" name="calendarNames">
52
            <xs:simpleType>
53
              <xs:list itemType="xs:string"/>
54
            </xs:simpleType>
55
          </xs:element>
56
          <xs:element name="executedJobs" type="xs:int"/>
57
          <xs:element minOccurs="0" name="runningSince" type="tns:DateInfoType"/>
58
          <xs:element name="threadPoolSize" type="xs:int"/>
59
          <xs:element minOccurs="0" name="version" type="xs:string"/>
60
        </xs:sequence>
61
      </xs:complexType>
62
      <xs:complexType name="DateInfoType">
63
        <xs:sequence>
64
          <xs:element minOccurs="0" name="iso8601date" type="xs:dateTime"/>
65
          <xs:element minOccurs="0" name="rfc822date" type="xs:string"/>
66
          <xs:element name="timestamp" type="xs:long"/>
67
        </xs:sequence>
68
      </xs:complexType>
69
      <xs:complexType name="deleteJob">
70
        <xs:sequence>
71
          <xs:element name="id" type="xs:string"/>
72
        </xs:sequence>
73
      </xs:complexType>
74
      <xs:complexType name="deleteJobResponse">
75
        <xs:sequence/>
76
      </xs:complexType>
77
      <xs:complexType name="scheduleJob">
78
        <xs:sequence>
79
          <xs:element name="job" type="tns:scheduledJob"/>
80
        </xs:sequence>
81
      </xs:complexType>
82
      <xs:complexType name="scheduleJobResponse">
83
        <xs:sequence>
84
          <xs:element minOccurs="0" name="return" type="xs:string"/>
85
        </xs:sequence>
86
      </xs:complexType>
87
      <xs:complexType name="XServicesFault">
88
        <xs:sequence>
89
          <xs:element name="faultstring" nillable="true" type="xs:string"/>
90
          <xs:element name="username" nillable="true" type="xs:string"/>
91
          <xs:element name="homedir" nillable="true" type="xs:string"/>
92
          <xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
93
          <xs:element name="jvmruntime" nillable="true" type="xs:string"/>
94
        </xs:sequence>
95
      </xs:complexType>
96
      <xs:element name="XServicesFault" type="tns:XServicesFault"/>
97
    </xs:schema>
98
  </wsdl:types>
99
  <wsdl:message name="scheduleJob">
100
    <wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
101
  </wsdl:message>
102
  <wsdl:message name="getJobResponse">
103
    <wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
104
  </wsdl:message>
105
  <wsdl:message name="deleteJob">
106
    <wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
107
  </wsdl:message>
108
  <wsdl:message name="getJob">
109
    <wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
110
  </wsdl:message>
111
  <wsdl:message name="getJobs">
112
    <wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
113
  </wsdl:message>
114
  <wsdl:message name="getStatisticsResponse">
115
    <wsdl:part element="tns:getStatisticsResponse" name="parameters"></wsdl:part>
116
  </wsdl:message>
117
  <wsdl:message name="getJobsResponse">
118
    <wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
119
  </wsdl:message>
120
  <wsdl:message name="scheduleJobResponse">
121
    <wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
122
  </wsdl:message>
123
  <wsdl:message name="deleteJobResponse">
124
    <wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
125
  </wsdl:message>
126
  <wsdl:message name="getStatistics">
127
    <wsdl:part element="tns:getStatistics" name="parameters"></wsdl:part>
128
  </wsdl:message>
129
  <wsdl:message name="XServicesFault">
130
    <wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
131
  </wsdl:message>
132
  <wsdl:portType name="JobService">
133
    <wsdl:operation name="getJobs">
134
      <wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
135
      <wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
136
      <wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
137
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
138
    </wsdl:operation>
139
    <wsdl:operation name="getJob">
140
      <wsdl:documentation>Get a job by id</wsdl:documentation>
141
      <wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
142
      <wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
143
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
144
    </wsdl:operation>
145
    <wsdl:operation name="getStatistics">
146
      <wsdl:documentation>Get scheduler statistics</wsdl:documentation>
147
      <wsdl:input message="tns:getStatistics" name="getStatistics"></wsdl:input>
148
      <wsdl:output message="tns:getStatisticsResponse" name="getStatisticsResponse"></wsdl:output>
149
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
150
    </wsdl:operation>
151
    <wsdl:operation name="deleteJob">
152
      <wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
153
      <wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
154
      <wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
155
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
156
    </wsdl:operation>
157
    <wsdl:operation name="scheduleJob">
158
      <wsdl:documentation>Schedule a job</wsdl:documentation>
159
      <wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
160
      <wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
161
      <wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
162
    </wsdl:operation>
163
  </wsdl:portType>
164
  <wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
165
    <soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
166
    <wsdl:operation name="getJobs">
167
      <soap:operation soapAction="" style="document"/>
168
      <wsdl:input name="getJobs">
169
        <soap:body use="literal"/>
170
      </wsdl:input>
171
      <wsdl:output name="getJobsResponse">
172
        <soap:body use="literal"/>
173
      </wsdl:output>
174
      <wsdl:fault name="XServicesFault">
175
        <soap:fault name="XServicesFault" use="literal"/>
176
      </wsdl:fault>
177
    </wsdl:operation>
178
    <wsdl:operation name="getJob">
179
      <soap:operation soapAction="" style="document"/>
180
      <wsdl:input name="getJob">
181
        <soap:body use="literal"/>
182
      </wsdl:input>
183
      <wsdl:output name="getJobResponse">
184
        <soap:body use="literal"/>
185
      </wsdl:output>
186
      <wsdl:fault name="XServicesFault">
187
        <soap:fault name="XServicesFault" use="literal"/>
188
      </wsdl:fault>
189
    </wsdl:operation>
190
    <wsdl:operation name="getStatistics">
191
      <soap:operation soapAction="" style="document"/>
192
      <wsdl:input name="getStatistics">
193
        <soap:body use="literal"/>
194
      </wsdl:input>
195
      <wsdl:output name="getStatisticsResponse">
196
        <soap:body use="literal"/>
197
      </wsdl:output>
198
      <wsdl:fault name="XServicesFault">
199
        <soap:fault name="XServicesFault" use="literal"/>
200
      </wsdl:fault>
201
    </wsdl:operation>
202
    <wsdl:operation name="deleteJob">
203
      <soap:operation soapAction="" style="document"/>
204
      <wsdl:input name="deleteJob">
205
        <soap:body use="literal"/>
206
      </wsdl:input>
207
      <wsdl:output name="deleteJobResponse">
208
        <soap:body use="literal"/>
209
      </wsdl:output>
210
      <wsdl:fault name="XServicesFault">
211
        <soap:fault name="XServicesFault" use="literal"/>
212
      </wsdl:fault>
213
    </wsdl:operation>
214
    <wsdl:operation name="scheduleJob">
215
      <soap:operation soapAction="" style="document"/>
216
      <wsdl:input name="scheduleJob">
217
        <soap:body use="literal"/>
218
      </wsdl:input>
219
      <wsdl:output name="scheduleJobResponse">
220
        <soap:body use="literal"/>
221
      </wsdl:output>
222
      <wsdl:fault name="XServicesFault">
223
        <soap:fault name="XServicesFault" use="literal"/>
224
      </wsdl:fault>
225
    </wsdl:operation>
226
  </wsdl:binding>
227
  <wsdl:service name="JobService">
228
    <wsdl:port binding="tns:JobServiceSoapBinding" name="JobServiceImplPort">
229
      <soap:address location="http://localhost:8080/XServices/JobServices"/>
230
    </wsdl:port>
231
  </wsdl:service>
70 brianR 232
</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">
233
   <soapenv:Header/>
234
   <soapenv:Body>
235
      <ws:getJobs/>
236
   </soapenv:Body>
237
</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">
238
   <soapenv:Header/>
239
   <soapenv:Body>
240
      <ws:getJob>
241
         <id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
242
      </ws:getJob>
243
   </soapenv:Body>
244
</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">
245
   <soapenv:Header/>
246
   <soapenv:Body>
247
      <ws:scheduleJob>
248
         <job>
249
            <name></name>
87 brianR 250
            <datetime>2012-05-14T07:52:00+02:00</datetime>
70 brianR 251
            <!--Optional:-->
252
            <script><![CDATA[
253
java.lang.System.out.println("hm")
254
java.lang.System.out.println("hm")
255
java.lang.System.out.println("hm")
256
java.lang.System.out.println("hm")
257
 
258
java.lang.System.out.println("hm")
259
java.lang.System.out.println("hm")
260
java.lang.System.out.println("hm")
261
java.lang.System.out.println("hm")
87 brianR 262
java.lang.System.out.println("hm")
70 brianR 263
 
264
java.lang.System.out.println("hm")
265
java.lang.System.out.println("hm")
266
java.lang.System.out.println("hm")
267
java.lang.System.out.println("hm")
87 brianR 268
 
70 brianR 269
java.lang.System.out.println("hm")
270
java.lang.System.out.println("hm")
271
java.lang.System.out.println("hm")
272
java.lang.System.out.println("hm")
273
 
274
]]]]>><![CDATA[</script>
275
         </job>
276
      </ws:scheduleJob>
277
   </soapenv:Body>
278
</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">
279
   <soapenv:Header/>
280
   <soapenv:Body>
281
      <ws:deleteJob>
282
         <id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
283
      </ws:deleteJob>
284
   </soapenv:Body>
88 brianR 285
</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">
286
   <soapenv:Header/>
287
   <soapenv:Body>
288
      <ws:getStatistics/>
289
   </soapenv:Body>
87 brianR 290
</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>