Subversion Repositories XServices

Rev

Rev 76 | Go to most recent revision | Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
70 brianR 1
<?xml version="1.0" encoding="UTF-8"?>
2
<con:soapui-project name="JobServices" resourceRoot="" soapui-version="3.6.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">
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>
57
      <xs:complexType name="XServicesFault">
58
        <xs:sequence>
59
          <xs:element name="faultstring" nillable="true" type="xs:string"/>
60
          <xs:element name="username" nillable="true" type="xs:string"/>
61
          <xs:element name="homedir" nillable="true" type="xs:string"/>
62
          <xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
63
          <xs:element name="jvmruntime" nillable="true" type="xs:string"/>
64
        </xs:sequence>
65
      </xs:complexType>
66
      <xs:element name="XServicesFault" type="tns:XServicesFault"/>
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>
136
    <wsdl:operation name="getJob">
137
      <soap:operation soapAction="" style="document"/>
138
      <wsdl:input name="getJob">
139
        <soap:body use="literal"/>
140
      </wsdl:input>
141
      <wsdl:output name="getJobResponse">
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>
148
    <wsdl:operation name="deleteJob">
149
      <soap:operation soapAction="" style="document"/>
150
      <wsdl:input name="deleteJob">
151
        <soap:body use="literal"/>
152
      </wsdl:input>
153
      <wsdl:output name="deleteJobResponse">
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">
175
      <soap:address location="http://localhost:8080/XServices/JobServices"/>
176
    </wsdl:port>
177
  </wsdl:service>
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/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">
179
   <soapenv:Header/>
180
   <soapenv:Body>
181
      <ws:getJobs/>
182
   </soapenv:Body>
183
</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">
184
   <soapenv:Header/>
185
   <soapenv:Body>
186
      <ws:getJob>
187
         <id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
188
      </ws:getJob>
189
   </soapenv:Body>
190
</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">
191
   <soapenv:Header/>
192
   <soapenv:Body>
193
      <ws:scheduleJob>
194
         <job>
195
            <name></name>
196
            <datetime>2011-06-06T17:00:00+02:00</datetime>
197
            <!--Optional:-->
198
            <script><![CDATA[
199
java.lang.System.out.println("hm")
200
java.lang.System.out.println("hm")
201
java.lang.System.out.println("hm")
202
java.lang.System.out.println("hm")
203
 
204
vjava.lang.System.out.println("hm")
205
java.lang.System.out.println("hm")
206
java.lang.System.out.println("hm")
207
java.lang.System.out.println("hm")
208
java.lang.System.out.println("hm")
209
 
210
vvvv
211
java.lang.System.out.println("hm")
212
java.lang.System.out.println("hm")
213
java.lang.System.out.println("hm")
214
java.lang.System.out.println("hm")
215
v
216
java.lang.System.out.println("hm")
217
java.lang.System.out.println("hm")
218
java.lang.System.out.println("hm")
219
java.lang.System.out.println("hm")
220
 
221
]]]]>><![CDATA[</script>
222
         </job>
223
      </ws:scheduleJob>
224
   </soapenv:Body>
225
</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">
226
   <soapenv:Header/>
227
   <soapenv:Body>
228
      <ws:deleteJob>
229
         <id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
230
      </ws:deleteJob>
231
   </soapenv:Body>
232
</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:interface><con:properties/><con:wssContainer/></con:soapui-project>