various improvements
git-svn-id: https://brutex.net/svn/xservices/trunk@87 e7e49efb-446e-492e-b9ec-fcafc1997a86tag-20130205r
parent
995a8b8119
commit
42c1ab4090
|
@ -0,0 +1,63 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2012 Brian Rosenberger (Brutex Network)
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.brutex.xservices.types;
|
||||||
|
|
||||||
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
|
|
||||||
|
/*
|
||||||
|
* Information about processors and memory
|
||||||
|
*/
|
||||||
|
public class RuntimeInfoType {
|
||||||
|
|
||||||
|
private final Runtime runtime = Runtime.getRuntime();
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public int getAvailableProcessors() {
|
||||||
|
return runtime.availableProcessors();
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public long getFreeMemory() {
|
||||||
|
return runtime.freeMemory();
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public long getFreeMemoryMB() {
|
||||||
|
return runtime.freeMemory() / 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public long getMaxMemory() {
|
||||||
|
return runtime.maxMemory();
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public long getMaxMemoryMB() {
|
||||||
|
return runtime.maxMemory() / 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public long getTotalMemory() {
|
||||||
|
return runtime.totalMemory();
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlElement
|
||||||
|
public long getTotalMemoryMB() {
|
||||||
|
return runtime.totalMemory() / 1024;
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -0,0 +1,50 @@
|
||||||
|
/*
|
||||||
|
* Copyright 2012 Brian Rosenberger (Brutex Network)
|
||||||
|
*
|
||||||
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
|
* you may not use this file except in compliance with the License.
|
||||||
|
* You may obtain a copy of the License at
|
||||||
|
*
|
||||||
|
* http://www.apache.org/licenses/LICENSE-2.0
|
||||||
|
*
|
||||||
|
* Unless required by applicable law or agreed to in writing, software
|
||||||
|
* distributed under the License is distributed on an "AS IS" BASIS,
|
||||||
|
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||||
|
* See the License for the specific language governing permissions and
|
||||||
|
* limitations under the License.
|
||||||
|
*/
|
||||||
|
|
||||||
|
package net.brutex.xservices.types;
|
||||||
|
|
||||||
|
import java.util.Date;
|
||||||
|
import java.util.GregorianCalendar;
|
||||||
|
import java.util.List;
|
||||||
|
import java.util.TimeZone;
|
||||||
|
|
||||||
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
|
import javax.xml.bind.annotation.XmlList;
|
||||||
|
import javax.xml.bind.annotation.XmlType;
|
||||||
|
|
||||||
|
import org.quartz.Scheduler;
|
||||||
|
import org.quartz.SchedulerException;
|
||||||
|
import org.quartz.core.QuartzScheduler;
|
||||||
|
|
||||||
|
@XmlType
|
||||||
|
public class SchedulerStatisticsType {
|
||||||
|
|
||||||
|
private final Scheduler scheduler;
|
||||||
|
|
||||||
|
public SchedulerStatisticsType() {
|
||||||
|
scheduler = null;
|
||||||
|
}
|
||||||
|
|
||||||
|
public SchedulerStatisticsType(Scheduler scheduler2) {
|
||||||
|
this.scheduler = scheduler2;
|
||||||
|
}
|
||||||
|
|
||||||
|
@XmlList
|
||||||
|
public List<String> getCalendarNames() throws SchedulerException {
|
||||||
|
return scheduler.getCalendarNames();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
|
@ -24,6 +24,7 @@ import javax.jws.WebService;
|
||||||
import javax.xml.bind.annotation.XmlElement;
|
import javax.xml.bind.annotation.XmlElement;
|
||||||
|
|
||||||
import net.brutex.xservices.types.ScheduledJob;
|
import net.brutex.xservices.types.ScheduledJob;
|
||||||
|
import net.brutex.xservices.types.SchedulerStatisticsType;
|
||||||
import net.brutex.xservices.util.BrutexNamespaces;
|
import net.brutex.xservices.util.BrutexNamespaces;
|
||||||
|
|
||||||
import org.apache.cxf.annotations.WSDLDocumentation;
|
import org.apache.cxf.annotations.WSDLDocumentation;
|
||||||
|
@ -42,7 +43,7 @@ public interface JobService {
|
||||||
final String OPERATION_SCHEDULEJOB = "scheduleJob";
|
final String OPERATION_SCHEDULEJOB = "scheduleJob";
|
||||||
final String OPERATION_GETJOB = "getJob";
|
final String OPERATION_GETJOB = "getJob";
|
||||||
final String OPERATION_DELETEJOB = "deleteJob";
|
final String OPERATION_DELETEJOB = "deleteJob";
|
||||||
|
final String OPERATION_GETSTATISTICS = "getStatistics";
|
||||||
final String PARAM_JOB = "job";
|
final String PARAM_JOB = "job";
|
||||||
|
|
||||||
|
|
||||||
|
@ -92,6 +93,12 @@ public interface JobService {
|
||||||
public abstract void deleteJob(
|
public abstract void deleteJob(
|
||||||
@WebParam(name="id") @XmlElement(required=true) String uuid) throws XServicesFault;
|
@WebParam(name="id") @XmlElement(required=true) String uuid) throws XServicesFault;
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get statisctis about the scheduler
|
||||||
|
* @throws XServicesFault
|
||||||
|
*/
|
||||||
|
@WebMethod(operationName=OPERATION_GETSTATISTICS)
|
||||||
|
@WSDLDocumentation(value="Get scheduler statistics")
|
||||||
|
public abstract SchedulerStatisticsType getStatistics() throws XServicesFault;
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -22,6 +22,7 @@ import net.brutex.xservices.types.HostConnection;
|
||||||
import net.brutex.xservices.types.HostinfoType;
|
import net.brutex.xservices.types.HostinfoType;
|
||||||
import net.brutex.xservices.types.MailMimeType;
|
import net.brutex.xservices.types.MailMimeType;
|
||||||
import net.brutex.xservices.types.ReturnCode;
|
import net.brutex.xservices.types.ReturnCode;
|
||||||
|
import net.brutex.xservices.types.RuntimeInfoType;
|
||||||
import net.brutex.xservices.types.ant.FileSetResource;
|
import net.brutex.xservices.types.ant.FileSetResource;
|
||||||
import net.brutex.xservices.util.BrutexNamespaces;
|
import net.brutex.xservices.util.BrutexNamespaces;
|
||||||
|
|
||||||
|
@ -38,6 +39,8 @@ import org.apache.cxf.annotations.WSDLDocumentation;
|
||||||
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES)
|
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES)
|
||||||
@WSDLDocumentation("Various service operations.")
|
@WSDLDocumentation("Various service operations.")
|
||||||
public interface MiscService {
|
public interface MiscService {
|
||||||
|
|
||||||
|
public static final String OPERATION_GETMEMORY = "getMemory";
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* Get IP address from host name.
|
* Get IP address from host name.
|
||||||
|
@ -80,4 +83,11 @@ public interface MiscService {
|
||||||
@WSDLDocumentation(value = "Generate a UUID.")
|
@WSDLDocumentation(value = "Generate a UUID.")
|
||||||
public String generateUUID();
|
public String generateUUID();
|
||||||
|
|
||||||
|
/**
|
||||||
|
* Get Memory information
|
||||||
|
*/
|
||||||
|
@WebMethod(operationName = MiscService.OPERATION_GETMEMORY)
|
||||||
|
@WSDLDocumentation(value = "Get memory and processor information")
|
||||||
|
public RuntimeInfoType getMemory();
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,5 +1,5 @@
|
||||||
/*
|
/*
|
||||||
* Copyright 2011 Brian Rosenberger (Brutex Network)
|
* Copyright 2012 Brian Rosenberger (Brutex Network)
|
||||||
*
|
*
|
||||||
* Licensed under the Apache License, Version 2.0 (the "License");
|
* Licensed under the Apache License, Version 2.0 (the "License");
|
||||||
* you may not use this file except in compliance with the License.
|
* you may not use this file except in compliance with the License.
|
||||||
|
@ -15,7 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package net.brutex.xservices.ws.impl;
|
package net.brutex.xservices.ws.impl;
|
||||||
|
|
||||||
import static org.quartz.TriggerBuilder.newTrigger;
|
|
||||||
|
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.GregorianCalendar;
|
import java.util.GregorianCalendar;
|
||||||
|
@ -37,8 +36,9 @@ import org.quartz.Trigger;
|
||||||
import org.quartz.TriggerKey;
|
import org.quartz.TriggerKey;
|
||||||
import org.quartz.impl.StdSchedulerFactory;
|
import org.quartz.impl.StdSchedulerFactory;
|
||||||
import org.quartz.impl.matchers.GroupMatcher;
|
import org.quartz.impl.matchers.GroupMatcher;
|
||||||
|
import static org.quartz.TriggerBuilder.*;
|
||||||
import net.brutex.xservices.types.ScheduledJob;
|
import net.brutex.xservices.types.ScheduledJob;
|
||||||
|
import net.brutex.xservices.types.SchedulerStatisticsType;
|
||||||
import net.brutex.xservices.util.BrutexNamespaces;
|
import net.brutex.xservices.util.BrutexNamespaces;
|
||||||
import net.brutex.xservices.util.JobWrapper;
|
import net.brutex.xservices.util.JobWrapper;
|
||||||
import net.brutex.xservices.ws.JobService;
|
import net.brutex.xservices.ws.JobService;
|
||||||
|
@ -148,4 +148,14 @@ public class JobServiceImpl implements JobService {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
|
public SchedulerStatisticsType getStatistics() throws XServicesFault {
|
||||||
|
try {
|
||||||
|
Scheduler scheduler = StdSchedulerFactory.getDefaultScheduler();
|
||||||
|
return new SchedulerStatisticsType(scheduler);
|
||||||
|
} catch (SchedulerException e) {
|
||||||
|
throw new XServicesFault(e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -25,6 +25,7 @@ import net.brutex.xservices.types.HostConnection;
|
||||||
import net.brutex.xservices.types.HostinfoType;
|
import net.brutex.xservices.types.HostinfoType;
|
||||||
import net.brutex.xservices.types.MailMimeType;
|
import net.brutex.xservices.types.MailMimeType;
|
||||||
import net.brutex.xservices.types.ReturnCode;
|
import net.brutex.xservices.types.ReturnCode;
|
||||||
|
import net.brutex.xservices.types.RuntimeInfoType;
|
||||||
import net.brutex.xservices.types.ant.FileSetResource;
|
import net.brutex.xservices.types.ant.FileSetResource;
|
||||||
import net.brutex.xservices.util.BrutexNamespaces;
|
import net.brutex.xservices.util.BrutexNamespaces;
|
||||||
import net.brutex.xservices.util.RunTask;
|
import net.brutex.xservices.util.RunTask;
|
||||||
|
@ -155,4 +156,8 @@ public class MiscServiceImpl implements MiscService {
|
||||||
sleep.setMilliseconds(milliseconds);
|
sleep.setMilliseconds(milliseconds);
|
||||||
return runner.postTask();
|
return runner.postTask();
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public RuntimeInfoType getMemory() {
|
||||||
|
return new RuntimeInfoType();
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
|
@ -34,11 +34,13 @@ public class StorageServiceImpl implements StorageService {
|
||||||
|
|
||||||
public String storeText(String text) throws XServicesFault {
|
public String storeText(String text) throws XServicesFault {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
System.err.println("storeText is not yet implemented");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
public String storeBinary(AttachmentType binary) throws XServicesFault {
|
public String storeBinary(AttachmentType binary) throws XServicesFault {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
System.err.println("storeBinary is not yet implemented");
|
||||||
return null;
|
return null;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -50,7 +52,7 @@ public class StorageServiceImpl implements StorageService {
|
||||||
public void deliverCollection(CollectionType collection,
|
public void deliverCollection(CollectionType collection,
|
||||||
TargetNodeType targetnode, boolean isFiring) throws XServicesFault {
|
TargetNodeType targetnode, boolean isFiring) throws XServicesFault {
|
||||||
// TODO Auto-generated method stub
|
// TODO Auto-generated method stub
|
||||||
|
System.err.println("deliverCollection is not yet implemented");
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -15,8 +15,6 @@
|
||||||
*/
|
*/
|
||||||
package net.brutex.xservices.ws.impl;
|
package net.brutex.xservices.ws.impl;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
import java.util.regex.Matcher;
|
import java.util.regex.Matcher;
|
||||||
import java.util.regex.Pattern;
|
import java.util.regex.Pattern;
|
||||||
|
|
||||||
|
@ -35,27 +33,31 @@ import net.brutex.xservices.ws.XServicesFault;
|
||||||
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES, endpointInterface = "net.brutex.xservices.ws.StringService", serviceName = StringService.SERVICE_NAME)
|
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES, endpointInterface = "net.brutex.xservices.ws.StringService", serviceName = StringService.SERVICE_NAME)
|
||||||
public class StringServiceImpl implements StringService {
|
public class StringServiceImpl implements StringService {
|
||||||
|
|
||||||
public StringReplaceType replaceRegEx(String res, String search, String replace,
|
public StringReplaceType replaceRegEx(String res, String search,
|
||||||
String flags) throws XServicesFault {
|
String replace, String flags) throws XServicesFault {
|
||||||
|
try {
|
||||||
int allflags = 0;
|
int allflags = 0;
|
||||||
if(flags.contains("i")) {
|
if (flags.contains("i")) {
|
||||||
allflags = allflags + Pattern.CASE_INSENSITIVE;
|
allflags = allflags + Pattern.CASE_INSENSITIVE;
|
||||||
|
}
|
||||||
|
Pattern pattern = Pattern.compile(search, allflags);
|
||||||
|
Matcher matcher = pattern.matcher(res);
|
||||||
|
int count = 0;
|
||||||
|
while (matcher.find()) {
|
||||||
|
count++;
|
||||||
|
}
|
||||||
|
if (flags.contains("g")) {
|
||||||
|
return new StringReplaceType(matcher.replaceAll(replace), count);
|
||||||
|
} else {
|
||||||
|
if (count > 1)
|
||||||
|
count = 1;
|
||||||
|
return new StringReplaceType(matcher.replaceFirst(replace),
|
||||||
|
count);
|
||||||
|
}
|
||||||
|
} catch (Exception e) {
|
||||||
|
throw new XServicesFault(e);
|
||||||
}
|
}
|
||||||
Pattern pattern = Pattern.compile(search, allflags);
|
|
||||||
Matcher matcher = pattern.matcher(res);
|
|
||||||
int count = 0;
|
|
||||||
while( matcher.find()) {
|
|
||||||
count++;
|
|
||||||
}
|
|
||||||
if(flags.contains("g")) {
|
|
||||||
return new StringReplaceType(matcher.replaceAll(replace), count);
|
|
||||||
} else {
|
|
||||||
if(count>1) count = 1;
|
|
||||||
return new StringReplaceType(matcher.replaceFirst(replace), count);
|
|
||||||
}
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
|
@ -1,180 +1,234 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?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">
|
<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>
|
<wsdl:types>
|
||||||
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
<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="deleteJob" type="tns:deleteJob"/>
|
||||||
<xs:element name="deleteJobResponse" type="tns:deleteJobResponse"/>
|
<xs:element name="deleteJobResponse" type="tns:deleteJobResponse"/>
|
||||||
<xs:element name="getJob" type="tns:getJob"/>
|
<xs:element name="getJob" type="tns:getJob"/>
|
||||||
<xs:element name="getJobResponse" type="tns:getJobResponse"/>
|
<xs:element name="getJobResponse" type="tns:getJobResponse"/>
|
||||||
<xs:element name="getJobs" type="tns:getJobs"/>
|
<xs:element name="getJobs" type="tns:getJobs"/>
|
||||||
<xs:element name="getJobsResponse" type="tns:getJobsResponse"/>
|
<xs:element name="getJobsResponse" type="tns:getJobsResponse"/>
|
||||||
<xs:element name="scheduleJob" type="tns:scheduleJob"/>
|
<xs:element name="getStatistics" type="tns:getStatistics"/>
|
||||||
<xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
|
<xs:element name="getStatisticsResponse" type="tns:getStatisticsResponse"/>
|
||||||
<xs:complexType name="getJobs">
|
<xs:element name="scheduleJob" type="tns:scheduleJob"/>
|
||||||
<xs:sequence/>
|
<xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
|
||||||
</xs:complexType>
|
<xs:complexType name="getJobs">
|
||||||
<xs:complexType name="getJobsResponse">
|
<xs:sequence/>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
|
<xs:complexType name="getJobsResponse">
|
||||||
</xs:sequence>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
|
||||||
<xs:complexType name="scheduledJob">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="name" type="xs:string"/>
|
<xs:complexType name="scheduledJob">
|
||||||
<xs:element minOccurs="0" name="description" type="xs:string"/>
|
<xs:sequence>
|
||||||
<xs:element name="datetime" type="xs:dateTime"/>
|
<xs:element name="name" type="xs:string"/>
|
||||||
<xs:element minOccurs="0" name="script" type="xs:string"/>
|
<xs:element minOccurs="0" name="description" type="xs:string"/>
|
||||||
</xs:sequence>
|
<xs:element name="datetime" type="xs:dateTime"/>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="script" type="xs:string"/>
|
||||||
<xs:complexType name="getJob">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="id" type="xs:string"/>
|
<xs:complexType name="getJob">
|
||||||
</xs:sequence>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element name="id" type="xs:string"/>
|
||||||
<xs:complexType name="getJobResponse">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
|
<xs:complexType name="getJobResponse">
|
||||||
</xs:sequence>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
|
||||||
<xs:complexType name="deleteJob">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="id" type="xs:string"/>
|
<xs:complexType name="getStatistics">
|
||||||
</xs:sequence>
|
<xs:sequence/>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
<xs:complexType name="deleteJobResponse">
|
<xs:complexType name="getStatisticsResponse">
|
||||||
<xs:sequence/>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="return" type="tns:schedulerStatisticsType"/>
|
||||||
<xs:complexType name="scheduleJob">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="job" type="tns:scheduledJob"/>
|
<xs:complexType name="schedulerStatisticsType">
|
||||||
</xs:sequence>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="calendarNames">
|
||||||
<xs:complexType name="scheduleJobResponse">
|
<xs:simpleType>
|
||||||
<xs:sequence>
|
<xs:list itemType="xs:string"/>
|
||||||
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
</xs:simpleType>
|
||||||
</xs:sequence>
|
</xs:element>
|
||||||
</xs:complexType>
|
<xs:element name="executedJobs" type="xs:int"/>
|
||||||
<xs:complexType name="XServicesFault">
|
<xs:element minOccurs="0" name="runningSince" type="tns:DateInfoType"/>
|
||||||
<xs:sequence>
|
<xs:element name="threadPoolSize" type="xs:int"/>
|
||||||
<xs:element name="faultstring" nillable="true" type="xs:string"/>
|
<xs:element minOccurs="0" name="version" type="xs:string"/>
|
||||||
<xs:element name="username" nillable="true" type="xs:string"/>
|
</xs:sequence>
|
||||||
<xs:element name="homedir" nillable="true" type="xs:string"/>
|
</xs:complexType>
|
||||||
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
|
<xs:complexType name="DateInfoType">
|
||||||
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
|
<xs:sequence>
|
||||||
</xs:sequence>
|
<xs:element minOccurs="0" name="iso8601date" type="xs:dateTime"/>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="rfc822date" type="xs:string"/>
|
||||||
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
|
<xs:element name="timestamp" type="xs:long"/>
|
||||||
</xs:schema>
|
</xs:sequence>
|
||||||
</wsdl:types>
|
</xs:complexType>
|
||||||
<wsdl:message name="scheduleJob">
|
<xs:complexType name="deleteJob">
|
||||||
<wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
|
<xs:sequence>
|
||||||
</wsdl:message>
|
<xs:element name="id" type="xs:string"/>
|
||||||
<wsdl:message name="getJobResponse">
|
</xs:sequence>
|
||||||
<wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
|
</xs:complexType>
|
||||||
</wsdl:message>
|
<xs:complexType name="deleteJobResponse">
|
||||||
<wsdl:message name="deleteJob">
|
<xs:sequence/>
|
||||||
<wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
|
</xs:complexType>
|
||||||
</wsdl:message>
|
<xs:complexType name="scheduleJob">
|
||||||
<wsdl:message name="getJob">
|
<xs:sequence>
|
||||||
<wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
|
<xs:element name="job" type="tns:scheduledJob"/>
|
||||||
</wsdl:message>
|
</xs:sequence>
|
||||||
<wsdl:message name="getJobs">
|
</xs:complexType>
|
||||||
<wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
|
<xs:complexType name="scheduleJobResponse">
|
||||||
</wsdl:message>
|
<xs:sequence>
|
||||||
<wsdl:message name="getJobsResponse">
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
||||||
<wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
|
</xs:sequence>
|
||||||
</wsdl:message>
|
</xs:complexType>
|
||||||
<wsdl:message name="scheduleJobResponse">
|
<xs:complexType name="XServicesFault">
|
||||||
<wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
|
<xs:sequence>
|
||||||
</wsdl:message>
|
<xs:element name="faultstring" nillable="true" type="xs:string"/>
|
||||||
<wsdl:message name="deleteJobResponse">
|
<xs:element name="username" nillable="true" type="xs:string"/>
|
||||||
<wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
|
<xs:element name="homedir" nillable="true" type="xs:string"/>
|
||||||
</wsdl:message>
|
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
|
||||||
<wsdl:message name="XServicesFault">
|
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
|
||||||
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
|
</xs:sequence>
|
||||||
</wsdl:message>
|
</xs:complexType>
|
||||||
<wsdl:portType name="JobService">
|
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
|
||||||
<wsdl:operation name="getJobs">
|
</xs:schema>
|
||||||
<wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
|
</wsdl:types>
|
||||||
<wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
|
<wsdl:message name="scheduleJob">
|
||||||
<wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
|
<wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
|
||||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
</wsdl:message>
|
||||||
</wsdl:operation>
|
<wsdl:message name="getJobResponse">
|
||||||
<wsdl:operation name="getJob">
|
<wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:documentation>Get a job by id</wsdl:documentation>
|
</wsdl:message>
|
||||||
<wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
|
<wsdl:message name="deleteJob">
|
||||||
<wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
|
<wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
|
||||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
</wsdl:message>
|
||||||
</wsdl:operation>
|
<wsdl:message name="getJob">
|
||||||
<wsdl:operation name="deleteJob">
|
<wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
|
||||||
<wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
|
</wsdl:message>
|
||||||
<wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
|
<wsdl:message name="getJobs">
|
||||||
<wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
|
<wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
|
||||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
</wsdl:message>
|
||||||
</wsdl:operation>
|
<wsdl:message name="getStatisticsResponse">
|
||||||
<wsdl:operation name="scheduleJob">
|
<wsdl:part element="tns:getStatisticsResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:documentation>Schedule a job</wsdl:documentation>
|
</wsdl:message>
|
||||||
<wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
|
<wsdl:message name="getJobsResponse">
|
||||||
<wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
|
<wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
</wsdl:message>
|
||||||
</wsdl:operation>
|
<wsdl:message name="scheduleJobResponse">
|
||||||
</wsdl:portType>
|
<wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
|
</wsdl:message>
|
||||||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
<wsdl:message name="deleteJobResponse">
|
||||||
<wsdl:operation name="getJobs">
|
<wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
|
||||||
<soap:operation soapAction="" style="document"/>
|
</wsdl:message>
|
||||||
<wsdl:input name="getJobs">
|
<wsdl:message name="getStatistics">
|
||||||
<soap:body use="literal"/>
|
<wsdl:part element="tns:getStatistics" name="parameters"></wsdl:part>
|
||||||
</wsdl:input>
|
</wsdl:message>
|
||||||
<wsdl:output name="getJobsResponse">
|
<wsdl:message name="XServicesFault">
|
||||||
<soap:body use="literal"/>
|
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
|
||||||
</wsdl:output>
|
</wsdl:message>
|
||||||
<wsdl:fault name="XServicesFault">
|
<wsdl:portType name="JobService">
|
||||||
<soap:fault name="XServicesFault" use="literal"/>
|
<wsdl:operation name="getJobs">
|
||||||
</wsdl:fault>
|
<wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
|
||||||
</wsdl:operation>
|
<wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
|
||||||
<wsdl:operation name="getJob">
|
<wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
|
||||||
<soap:operation soapAction="" style="document"/>
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||||
<wsdl:input name="getJob">
|
</wsdl:operation>
|
||||||
<soap:body use="literal"/>
|
<wsdl:operation name="getJob">
|
||||||
</wsdl:input>
|
<wsdl:documentation>Get a job by id</wsdl:documentation>
|
||||||
<wsdl:output name="getJobResponse">
|
<wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
|
||||||
<soap:body use="literal"/>
|
<wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
|
||||||
</wsdl:output>
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||||
<wsdl:fault name="XServicesFault">
|
</wsdl:operation>
|
||||||
<soap:fault name="XServicesFault" use="literal"/>
|
<wsdl:operation name="getStatistics">
|
||||||
</wsdl:fault>
|
<wsdl:documentation>Get scheduler statistics</wsdl:documentation>
|
||||||
</wsdl:operation>
|
<wsdl:input message="tns:getStatistics" name="getStatistics"></wsdl:input>
|
||||||
<wsdl:operation name="deleteJob">
|
<wsdl:output message="tns:getStatisticsResponse" name="getStatisticsResponse"></wsdl:output>
|
||||||
<soap:operation soapAction="" style="document"/>
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||||
<wsdl:input name="deleteJob">
|
</wsdl:operation>
|
||||||
<soap:body use="literal"/>
|
<wsdl:operation name="deleteJob">
|
||||||
</wsdl:input>
|
<wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
|
||||||
<wsdl:output name="deleteJobResponse">
|
<wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
|
||||||
<soap:body use="literal"/>
|
<wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
|
||||||
</wsdl:output>
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||||
<wsdl:fault name="XServicesFault">
|
</wsdl:operation>
|
||||||
<soap:fault name="XServicesFault" use="literal"/>
|
<wsdl:operation name="scheduleJob">
|
||||||
</wsdl:fault>
|
<wsdl:documentation>Schedule a job</wsdl:documentation>
|
||||||
</wsdl:operation>
|
<wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
|
||||||
<wsdl:operation name="scheduleJob">
|
<wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
|
||||||
<soap:operation soapAction="" style="document"/>
|
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||||
<wsdl:input name="scheduleJob">
|
</wsdl:operation>
|
||||||
<soap:body use="literal"/>
|
</wsdl:portType>
|
||||||
</wsdl:input>
|
<wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
|
||||||
<wsdl:output name="scheduleJobResponse">
|
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||||
<soap:body use="literal"/>
|
<wsdl:operation name="getJobs">
|
||||||
</wsdl:output>
|
<soap:operation soapAction="" style="document"/>
|
||||||
<wsdl:fault name="XServicesFault">
|
<wsdl:input name="getJobs">
|
||||||
<soap:fault name="XServicesFault" use="literal"/>
|
<soap:body use="literal"/>
|
||||||
</wsdl:fault>
|
</wsdl:input>
|
||||||
</wsdl:operation>
|
<wsdl:output name="getJobsResponse">
|
||||||
</wsdl:binding>
|
<soap:body use="literal"/>
|
||||||
<wsdl:service name="JobService">
|
</wsdl:output>
|
||||||
<wsdl:port binding="tns:JobServiceSoapBinding" name="JobServiceImplPort">
|
<wsdl:fault name="XServicesFault">
|
||||||
<soap:address location="http://localhost:8080/XServices/JobServices"/>
|
<soap:fault name="XServicesFault" use="literal"/>
|
||||||
</wsdl:port>
|
</wsdl:fault>
|
||||||
</wsdl:service>
|
</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"><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">
|
</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"><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:Header/>
|
||||||
<soapenv:Body>
|
<soapenv:Body>
|
||||||
|
@ -193,7 +247,7 @@
|
||||||
<ws:scheduleJob>
|
<ws:scheduleJob>
|
||||||
<job>
|
<job>
|
||||||
<name></name>
|
<name></name>
|
||||||
<datetime>2011-12-12T17:00:00+02:00</datetime>
|
<datetime>2012-05-14T07:52:00+02:00</datetime>
|
||||||
<!--Optional:-->
|
<!--Optional:-->
|
||||||
<script><![CDATA[
|
<script><![CDATA[
|
||||||
java.lang.System.out.println("hm")
|
java.lang.System.out.println("hm")
|
||||||
|
@ -201,18 +255,17 @@ 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")
|
||||||
|
|
||||||
vjava.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")
|
||||||
|
|
||||||
vvvv
|
|
||||||
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")
|
||||||
v
|
|
||||||
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")
|
||||||
|
@ -229,4 +282,9 @@ java.lang.System.out.println("hm")
|
||||||
<id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
|
<id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
|
||||||
</ws:deleteJob>
|
</ws:deleteJob>
|
||||||
</soapenv:Body>
|
</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:interface><con:properties/><con:wssContainer/></con:soapui-project>
|
</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"><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>
|
|
@ -1,174 +1,212 @@
|
||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<con:soapui-project name="MiscService" 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="MiscServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MiscServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/MiscService?WSDL"><con:part><con:url>http://localhost:8080/XServices/MiscService?WSDL</con:url><con:content><![CDATA[<wsdl:definitions name="MiscService" 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">
|
<con:soapui-project name="MiscService" 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="MiscServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MiscServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/MiscService?WSDL"><con:part><con:url>http://localhost:8080/XServices/MiscService?WSDL</con:url><con:content><![CDATA[<wsdl:definitions name="MiscService" 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>
|
<wsdl:types>
|
||||||
<xs:schema elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
<xs:schema elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" version="1.0" xmlns:xs="http://www.w3.org/2001/XMLSchema">
|
||||||
<xs:element name="antProperty" type="tns:antProperty"/>
|
<xs:element name="antProperty" type="tns:antProperty"/>
|
||||||
<xs:element name="generateUUID" type="tns:generateUUID"/>
|
<xs:element name="generateUUID" type="tns:generateUUID"/>
|
||||||
<xs:element name="generateUUIDResponse" type="tns:generateUUIDResponse"/>
|
<xs:element name="generateUUIDResponse" type="tns:generateUUIDResponse"/>
|
||||||
<xs:element name="getHostinfo" type="tns:getHostinfo"/>
|
<xs:element name="getHostinfo" type="tns:getHostinfo"/>
|
||||||
<xs:element name="getHostinfoResponse" type="tns:getHostinfoResponse"/>
|
<xs:element name="getHostinfoResponse" type="tns:getHostinfoResponse"/>
|
||||||
<xs:element name="getInfo" type="tns:getInfo"/>
|
<xs:element name="getInfo" type="tns:getInfo"/>
|
||||||
<xs:element name="getInfoResponse" type="tns:getInfoResponse"/>
|
<xs:element name="getInfoResponse" type="tns:getInfoResponse"/>
|
||||||
<xs:element name="sleep" type="tns:sleep"/>
|
<xs:element name="getMemory" type="tns:getMemory"/>
|
||||||
<xs:element name="sleepResponse" type="tns:sleepResponse"/>
|
<xs:element name="getMemoryResponse" type="tns:getMemoryResponse"/>
|
||||||
<xs:complexType name="getHostinfo">
|
<xs:element name="sleep" type="tns:sleep"/>
|
||||||
<xs:sequence>
|
<xs:element name="sleepResponse" type="tns:sleepResponse"/>
|
||||||
<xs:element minOccurs="0" name="hostname" type="xs:string"/>
|
<xs:complexType name="getHostinfo">
|
||||||
</xs:sequence>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="hostname" type="xs:string"/>
|
||||||
<xs:complexType name="getHostinfoResponse">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element minOccurs="0" name="return" type="tns:hostinfoType"/>
|
<xs:complexType name="getHostinfoResponse">
|
||||||
</xs:sequence>
|
<xs:sequence>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="return" type="tns:hostinfoType"/>
|
||||||
<xs:complexType name="hostinfoType">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element minOccurs="0" name="domain" type="xs:string"/>
|
<xs:complexType name="hostinfoType">
|
||||||
<xs:element minOccurs="0" name="ip4" type="xs:string"/>
|
<xs:sequence>
|
||||||
<xs:element minOccurs="0" name="ip6" type="xs:string"/>
|
<xs:element minOccurs="0" name="domain" type="xs:string"/>
|
||||||
<xs:element minOccurs="0" name="name" type="xs:string"/>
|
<xs:element minOccurs="0" name="ip4" type="xs:string"/>
|
||||||
</xs:sequence>
|
<xs:element minOccurs="0" name="ip6" type="xs:string"/>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="name" type="xs:string"/>
|
||||||
<xs:complexType name="sleep">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="minutes" type="xs:int"/>
|
<xs:complexType name="getMemory">
|
||||||
<xs:element name="seconds" type="xs:int"/>
|
<xs:sequence/>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
<xs:complexType name="getMemoryResponse">
|
||||||
<xs:complexType name="sleepResponse">
|
<xs:sequence>
|
||||||
<xs:sequence>
|
<xs:element minOccurs="0" name="return" type="tns:runtimeInfoType"/>
|
||||||
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
</xs:sequence>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
<xs:complexType name="runtimeInfoType">
|
||||||
<xs:complexType name="ReturnCodeType">
|
<xs:sequence/>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element name="returnCode" type="xs:int"/>
|
<xs:complexType name="sleep">
|
||||||
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
|
<xs:sequence>
|
||||||
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
|
<xs:element name="minutes" type="xs:int"/>
|
||||||
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
|
<xs:element name="seconds" type="xs:int"/>
|
||||||
</xs:sequence>
|
</xs:sequence>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
<xs:complexType name="antProperty">
|
<xs:complexType name="sleepResponse">
|
||||||
<xs:sequence>
|
<xs:sequence>
|
||||||
<xs:element name="name" type="xs:string"/>
|
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
||||||
<xs:element name="value" type="xs:string"/>
|
</xs:sequence>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
<xs:complexType name="ReturnCodeType">
|
||||||
<xs:complexType name="generateUUID">
|
<xs:sequence>
|
||||||
<xs:sequence/>
|
<xs:element name="returnCode" type="xs:int"/>
|
||||||
</xs:complexType>
|
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
|
||||||
<xs:complexType name="generateUUIDResponse">
|
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
|
||||||
<xs:sequence>
|
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
|
||||||
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
</xs:sequence>
|
||||||
</xs:sequence>
|
</xs:complexType>
|
||||||
</xs:complexType>
|
<xs:complexType name="antProperty">
|
||||||
<xs:complexType name="getInfo">
|
<xs:sequence>
|
||||||
<xs:sequence/>
|
<xs:element name="name" type="xs:string"/>
|
||||||
</xs:complexType>
|
<xs:element name="value" type="xs:string"/>
|
||||||
<xs:complexType name="getInfoResponse">
|
</xs:sequence>
|
||||||
<xs:sequence>
|
</xs:complexType>
|
||||||
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
<xs:complexType name="generateUUID">
|
||||||
</xs:sequence>
|
<xs:sequence/>
|
||||||
</xs:complexType>
|
</xs:complexType>
|
||||||
</xs:schema>
|
<xs:complexType name="generateUUIDResponse">
|
||||||
</wsdl:types>
|
<xs:sequence>
|
||||||
<wsdl:message name="sleepResponse">
|
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
||||||
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
|
</xs:sequence>
|
||||||
</wsdl:message>
|
</xs:complexType>
|
||||||
<wsdl:message name="getHostinfo">
|
<xs:complexType name="getInfo">
|
||||||
<wsdl:part element="tns:getHostinfo" name="parameters"></wsdl:part>
|
<xs:sequence/>
|
||||||
</wsdl:message>
|
</xs:complexType>
|
||||||
<wsdl:message name="getInfoResponse">
|
<xs:complexType name="getInfoResponse">
|
||||||
<wsdl:part element="tns:getInfoResponse" name="parameters"></wsdl:part>
|
<xs:sequence>
|
||||||
</wsdl:message>
|
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
|
||||||
<wsdl:message name="getInfo">
|
</xs:sequence>
|
||||||
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
|
</xs:complexType>
|
||||||
</wsdl:message>
|
</xs:schema>
|
||||||
<wsdl:message name="sleep">
|
</wsdl:types>
|
||||||
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
|
<wsdl:message name="sleepResponse">
|
||||||
</wsdl:message>
|
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:message name="getHostinfoResponse">
|
</wsdl:message>
|
||||||
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
|
<wsdl:message name="getMemory">
|
||||||
</wsdl:message>
|
<wsdl:part element="tns:getMemory" name="parameters"></wsdl:part>
|
||||||
<wsdl:message name="generateUUID">
|
</wsdl:message>
|
||||||
<wsdl:part element="tns:generateUUID" name="parameters"></wsdl:part>
|
<wsdl:message name="getMemoryResponse">
|
||||||
</wsdl:message>
|
<wsdl:part element="tns:getMemoryResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:message name="generateUUIDResponse">
|
</wsdl:message>
|
||||||
<wsdl:part element="tns:generateUUIDResponse" name="parameters"></wsdl:part>
|
<wsdl:message name="getHostinfo">
|
||||||
</wsdl:message>
|
<wsdl:part element="tns:getHostinfo" name="parameters"></wsdl:part>
|
||||||
<wsdl:portType name="MiscService">
|
</wsdl:message>
|
||||||
<wsdl:documentation>Various service operations.</wsdl:documentation>
|
<wsdl:message name="getInfoResponse">
|
||||||
<wsdl:operation name="getHostinfo">
|
<wsdl:part element="tns:getInfoResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:documentation>Get information about a host.</wsdl:documentation>
|
</wsdl:message>
|
||||||
<wsdl:input message="tns:getHostinfo" name="getHostinfo"></wsdl:input>
|
<wsdl:message name="getInfo">
|
||||||
<wsdl:output message="tns:getHostinfoResponse" name="getHostinfoResponse"></wsdl:output>
|
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
|
||||||
</wsdl:operation>
|
</wsdl:message>
|
||||||
<wsdl:operation name="sleep">
|
<wsdl:message name="sleep">
|
||||||
<wsdl:documentation>Delay request response a specified duration.</wsdl:documentation>
|
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
|
||||||
<wsdl:input message="tns:sleep" name="sleep"></wsdl:input>
|
</wsdl:message>
|
||||||
<wsdl:output message="tns:sleepResponse" name="sleepResponse"></wsdl:output>
|
<wsdl:message name="getHostinfoResponse">
|
||||||
</wsdl:operation>
|
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:operation name="generateUUID">
|
</wsdl:message>
|
||||||
<wsdl:documentation>Generate a UUID.</wsdl:documentation>
|
<wsdl:message name="generateUUID">
|
||||||
<wsdl:input message="tns:generateUUID" name="generateUUID"></wsdl:input>
|
<wsdl:part element="tns:generateUUID" name="parameters"></wsdl:part>
|
||||||
<wsdl:output message="tns:generateUUIDResponse" name="generateUUIDResponse"></wsdl:output>
|
</wsdl:message>
|
||||||
</wsdl:operation>
|
<wsdl:message name="generateUUIDResponse">
|
||||||
<wsdl:operation name="getInfo">
|
<wsdl:part element="tns:generateUUIDResponse" name="parameters"></wsdl:part>
|
||||||
<wsdl:documentation>Get XService information.</wsdl:documentation>
|
</wsdl:message>
|
||||||
<wsdl:input message="tns:getInfo" name="getInfo"></wsdl:input>
|
<wsdl:portType name="MiscService">
|
||||||
<wsdl:output message="tns:getInfoResponse" name="getInfoResponse"></wsdl:output>
|
<wsdl:documentation>Various service operations.</wsdl:documentation>
|
||||||
</wsdl:operation>
|
<wsdl:operation name="getHostinfo">
|
||||||
</wsdl:portType>
|
<wsdl:documentation>Get information about a host.</wsdl:documentation>
|
||||||
<wsdl:binding name="MiscServiceSoapBinding" type="tns:MiscService">
|
<wsdl:input message="tns:getHostinfo" name="getHostinfo"></wsdl:input>
|
||||||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
<wsdl:output message="tns:getHostinfoResponse" name="getHostinfoResponse"></wsdl:output>
|
||||||
<wsdl:operation name="getHostinfo">
|
</wsdl:operation>
|
||||||
<soap:operation soapAction="" style="document"/>
|
<wsdl:operation name="getMemory">
|
||||||
<wsdl:input name="getHostinfo">
|
<wsdl:documentation>Get memory and processor information</wsdl:documentation>
|
||||||
<soap:body use="literal"/>
|
<wsdl:input message="tns:getMemory" name="getMemory"></wsdl:input>
|
||||||
</wsdl:input>
|
<wsdl:output message="tns:getMemoryResponse" name="getMemoryResponse"></wsdl:output>
|
||||||
<wsdl:output name="getHostinfoResponse">
|
</wsdl:operation>
|
||||||
<soap:body use="literal"/>
|
<wsdl:operation name="sleep">
|
||||||
</wsdl:output>
|
<wsdl:documentation>Delay request response a specified duration.</wsdl:documentation>
|
||||||
</wsdl:operation>
|
<wsdl:input message="tns:sleep" name="sleep"></wsdl:input>
|
||||||
<wsdl:operation name="sleep">
|
<wsdl:output message="tns:sleepResponse" name="sleepResponse"></wsdl:output>
|
||||||
<soap:operation soapAction="" style="document"/>
|
</wsdl:operation>
|
||||||
<wsdl:input name="sleep">
|
<wsdl:operation name="generateUUID">
|
||||||
<soap:body use="literal"/>
|
<wsdl:documentation>Generate a UUID.</wsdl:documentation>
|
||||||
</wsdl:input>
|
<wsdl:input message="tns:generateUUID" name="generateUUID"></wsdl:input>
|
||||||
<wsdl:output name="sleepResponse">
|
<wsdl:output message="tns:generateUUIDResponse" name="generateUUIDResponse"></wsdl:output>
|
||||||
<soap:body use="literal"/>
|
</wsdl:operation>
|
||||||
</wsdl:output>
|
<wsdl:operation name="getInfo">
|
||||||
</wsdl:operation>
|
<wsdl:documentation>Get XService information.</wsdl:documentation>
|
||||||
<wsdl:operation name="generateUUID">
|
<wsdl:input message="tns:getInfo" name="getInfo"></wsdl:input>
|
||||||
<soap:operation soapAction="" style="document"/>
|
<wsdl:output message="tns:getInfoResponse" name="getInfoResponse"></wsdl:output>
|
||||||
<wsdl:input name="generateUUID">
|
</wsdl:operation>
|
||||||
<soap:body use="literal"/>
|
</wsdl:portType>
|
||||||
</wsdl:input>
|
<wsdl:binding name="MiscServiceSoapBinding" type="tns:MiscService">
|
||||||
<wsdl:output name="generateUUIDResponse">
|
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||||
<soap:body use="literal"/>
|
<wsdl:operation name="getHostinfo">
|
||||||
</wsdl:output>
|
<soap:operation soapAction="" style="document"/>
|
||||||
</wsdl:operation>
|
<wsdl:input name="getHostinfo">
|
||||||
<wsdl:operation name="getInfo">
|
<soap:body use="literal"/>
|
||||||
<soap:operation soapAction="" style="document"/>
|
</wsdl:input>
|
||||||
<wsdl:input name="getInfo">
|
<wsdl:output name="getHostinfoResponse">
|
||||||
<soap:body use="literal"/>
|
<soap:body use="literal"/>
|
||||||
</wsdl:input>
|
</wsdl:output>
|
||||||
<wsdl:output name="getInfoResponse">
|
</wsdl:operation>
|
||||||
<soap:body use="literal"/>
|
<wsdl:operation name="getMemory">
|
||||||
</wsdl:output>
|
<soap:operation soapAction="" style="document"/>
|
||||||
</wsdl:operation>
|
<wsdl:input name="getMemory">
|
||||||
</wsdl:binding>
|
<soap:body use="literal"/>
|
||||||
<wsdl:service name="MiscService">
|
</wsdl:input>
|
||||||
<wsdl:port binding="tns:MiscServiceSoapBinding" name="MiscServiceImplPort">
|
<wsdl:output name="getMemoryResponse">
|
||||||
<soap:address location="http://localhost:8080/XServices/MiscService"/>
|
<soap:body use="literal"/>
|
||||||
</wsdl:port>
|
</wsdl:output>
|
||||||
</wsdl:service>
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="sleep">
|
||||||
|
<soap:operation soapAction="" style="document"/>
|
||||||
|
<wsdl:input name="sleep">
|
||||||
|
<soap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output name="sleepResponse">
|
||||||
|
<soap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="generateUUID">
|
||||||
|
<soap:operation soapAction="" style="document"/>
|
||||||
|
<wsdl:input name="generateUUID">
|
||||||
|
<soap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output name="generateUUIDResponse">
|
||||||
|
<soap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
<wsdl:operation name="getInfo">
|
||||||
|
<soap:operation soapAction="" style="document"/>
|
||||||
|
<wsdl:input name="getInfo">
|
||||||
|
<soap:body use="literal"/>
|
||||||
|
</wsdl:input>
|
||||||
|
<wsdl:output name="getInfoResponse">
|
||||||
|
<soap:body use="literal"/>
|
||||||
|
</wsdl:output>
|
||||||
|
</wsdl:operation>
|
||||||
|
</wsdl:binding>
|
||||||
|
<wsdl:service name="MiscService">
|
||||||
|
<wsdl:port binding="tns:MiscServiceSoapBinding" name="MiscServiceImplPort">
|
||||||
|
<soap:address location="http://localhost:8080/XServices/MiscService"/>
|
||||||
|
</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/MiscService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getHostinfo" bindingOperationName="getHostinfo" type="Request-Response" outputName="getHostinfoResponse" inputName="getHostinfo" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sleep" bindingOperationName="sleep" type="Request-Response" outputName="sleepResponse" inputName="sleep" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="getInfo" bindingOperationName="getInfo" type="Request-Response" outputName="getInfoResponse" inputName="getInfo" 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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
|
</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/MiscService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getHostinfo" bindingOperationName="getHostinfo" type="Request-Response" outputName="getHostinfoResponse" inputName="getHostinfo" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sleep" bindingOperationName="sleep" type="Request-Response" outputName="sleepResponse" inputName="sleep" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="getInfo" bindingOperationName="getInfo" type="Request-Response" outputName="getInfoResponse" inputName="getInfo" 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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MiscService</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:Header/>
|
||||||
<soapenv:Body>
|
<soapenv:Body>
|
||||||
<ws:getInfo/>
|
<ws:getInfo/>
|
||||||
</soapenv:Body>
|
</soapenv:Body>
|
||||||
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/getInfo"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="generateUUID" bindingOperationName="generateUUID" type="Request-Response" outputName="generateUUIDResponse" inputName="generateUUID" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation></con:interface><con:testSuite name="Basic Call Tests"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="2048fa40-8ecb-484e-98ff-6c50df26f33b"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/MiscService?WSDL"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/MiscService?WSDL</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources"/><con:assertion type="Response SLA Assertion" name="Response SLA"><con:configuration><SLA>200</SLA></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getHostInfo" searchProperties="true" id="056daaec-9b00-4484-9326-f1f83de86500"><con:settings/><con:testStep type="request" name="getHostInfo-localhost"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getHostinfo</con:operation><con:request name="getHostInfo-localhost"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
|
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/getInfo"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="generateUUID" bindingOperationName="generateUUID" type="Request-Response" outputName="generateUUIDResponse" inputName="generateUUID" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="getMemory" bindingOperationName="getMemory" type="Request-Response" outputName="getMemoryResponse" inputName="getMemory" 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"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MiscService</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:getMemory/>
|
||||||
|
</soapenv:Body>
|
||||||
|
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/getMemory"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="Basic Call Tests"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="2048fa40-8ecb-484e-98ff-6c50df26f33b"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/MiscService?WSDL"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/MiscService?WSDL</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources"/><con:assertion type="Response SLA Assertion" name="Response SLA"><con:configuration><SLA>200</SLA></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getHostInfo" searchProperties="true" id="056daaec-9b00-4484-9326-f1f83de86500"><con:settings/><con:testStep type="request" name="getHostInfo-localhost"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getHostinfo</con:operation><con:request name="getHostInfo-localhost"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MiscService</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:Header/>
|
||||||
<soapenv:Body>
|
<soapenv:Body>
|
||||||
<ws:getHostinfo>
|
<ws:getHostinfo>
|
||||||
|
@ -234,4 +272,9 @@
|
||||||
<seconds>32</seconds>
|
<seconds>32</seconds>
|
||||||
</ws:sleep>
|
</ws:sleep>
|
||||||
</soapenv:Body>
|
</soapenv:Body>
|
||||||
|
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMemory"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getMemory</con:operation><con:request name="getMemory"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/MiscService</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:getMemory/>
|
||||||
|
</soapenv:Body>
|
||||||
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/></con:soapui-project>
|
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/></con:soapui-project>
|
Loading…
Reference in New Issue