Major rework in the DateService

git-svn-id: https://brutex.net/svn/xservices/trunk@83 e7e49efb-446e-492e-b9ec-fcafc1997a86
tag-20130205r
Brian Rosenberger 2012-01-23 18:54:01 +00:00
parent 5b522551d1
commit 8bb9747db3
35 changed files with 8516 additions and 1113 deletions

View File

@ -33,5 +33,17 @@
<param name="use.id.as.filename" expression="1" />
</xslt>
</target>
<target name="create-webdoc" depends="clean-doc, merge">
<xslt force="true" style="${docbookdir}/../fo/docbook.xsl"
in="${docbooksource}/BruteXServices_User_Guide.dbk"
out="${htmldir}/xservices.fo">
<factory name="${xalan}" />
<param name="base.dir" expression="${htmldir}/"/>
<param name="use.id.as.filename" expression="1" />
<param name="fop.extensions" expression="0" />
</xslt>
</target>
</project>

View File

@ -1,9 +1,8 @@
<?xml version='1.0' encoding='utf-8'?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0" xmlns:xi="http://www.w3.org/2001/XInclude"
id="archiveservices">
<title>ArchiveServices</title>
<para>The ArchiveService bundles file packing operations. Its
WSDL is
located at
http://server:port/XServices/ArchiveService?wsdl</para>
</section>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude" id="archiveservices">
<title>ArchiveServices</title>
<para>The ArchiveService bundles file packing operations. Its
WSDL is located at
http://server:port/XServices/ArchiveService?wsdl</para>
</section>

File diff suppressed because it is too large Load Diff

View File

@ -1,9 +1,28 @@
<?xml version="1.0" encoding="utf-8"?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude"
id="dateservices">
xmlns:xi="http://www.w3.org/2001/XInclude" id="dateservices">
<title>DateServices</title>
<para>The DateService bundles various date and time related operations. Its WSDL is located at
http://server:port/XServices/DateService?wsdl</para>
<para>The DateService bundles various date and time related operations.
</para>
<para>Its WSDL is located at http://server:port/XServices/DateService?wsdl</para>
<para>XServices uses a date/time format as suggested by http://www.w3.org/TR/2004/REC-xmlschema-2-20041028/#dateTime, which is basically a subset of ISO8601. Most input parameters for date/time have to be provided as such.
Another date/time format, that is often used is defined by RFC822. The major difference to ISO8601 and the Xmlschema datetime format, is in the way how the time zone is specified. ISO8601 specifies a colon to be used to separate hour and minutes time shift. RFC822 does not use a separator.
<itemizedlist>
<listitem>
<para>ISO8601 (example: "2012-01-17T23:50:00+01:00")</para>
</listitem>
<listitem>
<para>RFC822 (example: "2012-01-17T23:50:00+0100")</para>
</listitem>
</itemizedlist>
</para>
<xi:include href="DateServices/getDate.xml" />
<xi:include href="DateServices/getDateExtended.xml" />
<xi:include href="DateServices/formatDate.xml" />
<xi:include href="DateServices/getInTimezone.xml" />
<xi:include href="DateServices/getTimestamp.xml" />
<xi:include href="DateServices/getTimestamp2.xml" />
<xi:include href="DateServices/getTimezones.xml" />
</section>

View File

@ -0,0 +1,26 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>formatDate</title>
<para>
Transform date/time representation from ISO8601 or RFC822 format to
<itemizedlist>
<listitem>
<para>ISO8601 (example: "2012-01-17T23:50:00+01:00")</para>
</listitem>
<listitem>
<para>RFC822 (example: "2012-01-17T23:50:00+0100")</para>
</listitem>
<listitem>
<para>YYYYMMDD (example: "2012/01/17")</para>
</listitem>
<listitem>
<para>DDMMYYYY (example: "17.01.2012")</para>
</listitem>
</itemizedlist>
</para>
</section>

View File

@ -0,0 +1,39 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>getDate</title>
<para>Get current time and date.
Sample request:
<screen><![CDATA[
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getDate/>
</soapenv:Body>
</soapenv:Envelop
]]></screen>
Sample response:
<programlisting language="xml"><![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getDateResponse xmlns:ns1="http://ws.xservices.brutex.net">
<ns1:return>
<ns1:formats>
<ns1:format1>02.01.2012</ns1:format1>
<ns1:format2>2012/01/02</ns1:format2>
<ns1:format3>08:14:40+0100</ns1:format3>
</ns1:formats>
<ns1:iso8601date>2012-01-02T08:14:40+0100</ns1:iso8601date>
<ns1:timestamp>1325488480957</ns1:timestamp>
</ns1:return>
</ns1:getDateResponse>
</soap:Body>
</soap:Envelope>]]></programlisting>
</para>
</section>

View File

@ -0,0 +1,31 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>getDateExtended</title>
<para>Get current time and date (extended Version).
Sample response:
<screen>
<![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:getDateExtendedResponse xmlns:ns2="http://ws.xservices.brutex.net">
<return>
<iso8601date>2012-01-23T08:30:00.333+01:00</iso8601date>
<rfc822date>2012-01-23T08:30:00.333+0100</rfc822date>
<timestamp>1327303800333</timestamp>
<format1>23.01.2012</format1>
<format2>2012/01/23</format2>
<format3>08:30:00</format3>
</return>
</ns2:getDateExtendedResponse>
</soap:Body>
</soap:Envelope>
]]>
</screen>
</para>
</section>

View File

@ -0,0 +1,14 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>getInTimezone</title>
<para>
Changes the date/time presentation to another time zone. The date/time object itself
is not changed. For example '2012-01-05T22:45:11-06:30' is presented as '2012-01-06T07:15:11+02:00' from Helsinki time zone perspective.
</para>
<para>The web service operation "getTimezones" returns a full list of all supported time zones.</para>
</section>

View File

@ -0,0 +1,31 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>getTimestamp</title>
<para>Get current timestamp in milliseconds (epoch).
Sample request:
<screen><![CDATA[
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getTimestamp/>
</soapenv:Body>
</soapenv:Envelop
]]></screen>
Sample response:
<screen><![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getTimestampResponse xmlns:ns1="http://ws.xservices.brutex.net">
<ns1:return>]]><emphasis>1325488875703</emphasis><![CDATA[</ns1:return>
</ns1:getTimestampResponse>
</soap:Body>
</soap:Envelope>]]></screen>
</para>
</section>

View File

@ -0,0 +1,31 @@
<?xml version='1.0' encoding='utf-8'?>
<!DOCTYPE section [
<!ENTITY % myent SYSTEM "../entities.ent">
%myent;
]>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>getTimestamp2</title>
<para>Get current timestamp in seconds (unix timestamp).
Sample request:
<screen><![CDATA[
<soapenv:Envelope
xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getTimestamp2/>
</soapenv:Body>
</soapenv:Envelop
]]></screen>
Sample response:
<screen><![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns1:getTimestamp2Response xmlns:ns1="http://ws.xservices.brutex.net">
<ns1:return>]]><emphasis>1325488876</emphasis><![CDATA[</ns1:return>
</ns1:getTimestamp2Response>
</soap:Body>
</soap:Envelope>]]></screen>
</para>
</section>

File diff suppressed because it is too large Load Diff

View File

@ -3,6 +3,7 @@
xmlns:xi="http://www.w3.org/2001/XInclude">
<!-- Sort alphabetically -->
<xi:include href="types/AntProperty.xml" />
<xi:include href="types/DateInfoType.xml" />
<xi:include href="types/FileResource.xml" />
<xi:include href="types/HostConnection.xml" />
<xi:include href="types/PatternElement.xml" />

View File

@ -1,5 +1,5 @@
<?xml version="1.0" encoding="UTF-8"?>
<section>
<section id="antproperty">
<title>AntProperty type</title>
<para>The AntProperty type defines a list of key/value pairs.</para>
<para>

View File

@ -0,0 +1,14 @@
<?xml version="1.0" encoding="UTF-8"?>
<section xmlns="http://docbook.org/ns/docbook" version="5.0"
xmlns:xi="http://www.w3.org/2001/XInclude">
<title>DateInfoType type</title>
<para>Different presentation of a date time value.</para>
<para>
The defining Java class is
<ulink url="javadoc/net/brutex/xservices/types/DateInfoType.html">
<classname>net.brutex.xservices.types.DateInfoType</classname>
</ulink>
.
</para>
</section>

View File

@ -0,0 +1,39 @@
package net.brutex.xservices.agent;
import java.io.IOException;
import javax.servlet.GenericServlet;
import javax.servlet.ServletConfig;
import javax.servlet.ServletException;
import javax.servlet.ServletRequest;
import javax.servlet.ServletResponse;
/**
* Servlet implementation class AgentServlet
*/
public class AgentServlet extends GenericServlet {
private static final long serialVersionUID = 1L;
/**
* @see GenericServlet#GenericServlet()
*/
public AgentServlet() {
super();
// TODO Auto-generated constructor stub
}
/**
* @see Servlet#init(ServletConfig)
*/
public void init(ServletConfig config) throws ServletException {
// TODO Auto-generated method stub
}
/**
* @see Servlet#service(ServletRequest request, ServletResponse response)
*/
public void service(ServletRequest request, ServletResponse response) throws ServletException, IOException {
// TODO Auto-generated method stub
System.out.println("Yep. I am here.");
}
}

View File

@ -15,33 +15,53 @@
*/
package net.brutex.xservices.types;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.Date;
import java.util.Locale;
import java.util.TimeZone;
import javax.xml.bind.annotation.XmlEnum;
import javax.xml.bind.annotation.XmlEnumValue;
import javax.xml.bind.annotation.XmlType;
import net.brutex.xservices.util.BrutexNamespaces;
/**
* Different pre-defined date formats.
*
* @author Brian Rosenberger, bru@brutex.de
*/
@XmlEnum(value = String.class)
@XmlEnum()
public enum DateFormatType {
/**
* ISO 8601 format (2011-05-24T14:39Z)
* ISO 8601 format (2011-05-24T14:39+01:00)
*/
@XmlEnumValue("ISO 8601")
ISO8601("ISO 8601", "yyyy-MM-dd'T'HH:mm:ssZ"),
@XmlEnumValue("ISO 8601")
ISO8601("ISO 8601", "yyyy-MM-dd'T'HH:mm:ss.SSSZ"),
/**
* RFC822 format (2011-05-24T14:39+0100)
*/
@XmlEnumValue("RFC 822")
RFC822("RFC 822", "yyyy-MM-dd'T'HH:mm:ss.SSSZ"),
/**
* yyyy/mm/dd
*/
@XmlEnumValue("yyyy/mm/dd")
YYYYMMDD("yyyy/mm/dd", "yyyy/MM/dd"),
@XmlEnumValue("DateOnly-slashed")
YYYYMMDD("DateOnly-slashed", "yyyy/MM/dd"),
/**
* dd.mm.yyyy
*/
@XmlEnumValue("dd.mm.yyyy")
DDMMYY("dd.mm.yyyy", "dd.MM.yyyy");
@XmlEnumValue("DateOnly-dotted")
DDMMYYYY("DateOnly-dotted", "dd.MM.yyyy"),
/**
* dd.mm.yyyy
*/
@XmlEnumValue("DateOnly-dashed")
DDMMYYYYdashed("DateOnly-dashed", "dd-MM-yyyy");
private String value;
private String format;
@ -59,7 +79,33 @@ public enum DateFormatType {
return value;
}
public String format() {
return format;
public String format(Date date, Locale locale, TimeZone timezone) {
if(date==null) return "";
if(locale==null) locale = Locale.getDefault();
if(timezone==null) timezone = TimeZone.getDefault();
String result = "";
SimpleDateFormat f;
if(this.equals(ISO8601)) {
//apply ISO8061 hack
f = new SimpleDateFormat(RFC822.format, locale);
f.setTimeZone(timezone);
result = f.format(date);
result = result.substring(0, 26) + ":" + result.substring(26);
} else {
f = new SimpleDateFormat(this.format, locale);
f.setTimeZone(timezone);
result = f.format(date);
}
return result;
}
public Date parse(String s, Locale locale, TimeZone timezone)
throws ParseException {
if(locale==null) locale = Locale.getDefault();
if(timezone==null) timezone = TimeZone.getDefault();
SimpleDateFormat fin = new SimpleDateFormat(this.format, locale);
fin.setTimeZone(timezone);
Date date = fin.parse(s);
return date;
}
}

View File

@ -0,0 +1,69 @@
/*
* Copyright 2011 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.text.SimpleDateFormat;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import net.brutex.xservices.util.BrutexNamespaces;
/**
* @author Brian Rosenberger
*
*/
@XmlType(namespace=BrutexNamespaces.WS_XSERVICES)
public class DateInfoExtendedType extends DateInfoType {
private GregorianCalendar date = null;
private TimeZone zone = null;
@SuppressWarnings("unused")
public DateInfoExtendedType() {
super();
}
public DateInfoExtendedType(GregorianCalendar date, TimeZone zone) {
this.date = date;
this.zone = zone;
}
@XmlElement(name = "format1")
public String getFormat1() {
return DateFormatType.DDMMYYYY.format(date.getTime(), null, null);
}
/**
* @return
*/
@XmlElement(name = "format2")
public String getFormat2() {
return DateFormatType.YYYYMMDD.format(date.getTime(), null, null);
}
@XmlElement(name = "format3")
public String getFormat3() {
String format = "HH:mm:ss";
SimpleDateFormat f = new SimpleDateFormat(format);
return f.format(date.getTime());
}
// yyyy-MM-dd'T'HH:mm:ssZ
}

View File

@ -0,0 +1,96 @@
/*
* 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.text.SimpleDateFormat;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.TimeZone;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import net.brutex.xservices.util.BrutexNamespaces;
/**
* Date object representation with different formats
*
* @author Brian Rosenberger, bru@brutex.de
*/
@XmlType(name=DateInfoType.XML_NAME, namespace=BrutexNamespaces.WS_XSERVICES,
propOrder={"isoDate","rfcDate", "millis"})
public class DateInfoType {
public static final String XML_NAME="DateInfoType";
private final GregorianCalendar date;
private final TimeZone zone;
/**
* Create a new DateInfoType
* @param date date/time
*/
public DateInfoType(GregorianCalendar date, TimeZone zone) {
this.date = date;
this.zone = zone;
}
/**
* Create a new DateInfoType with current date/time
*/
public DateInfoType() {
this.zone = TimeZone.getDefault();
this.date = new GregorianCalendar(zone);
}
/**
* @return milliseconds since 01.01.1970
*/
@XmlElement(name="timestamp")
public long getMillis() {
return date.getTimeInMillis();
}
/**
* Get date formated according to ISO8601 (done by jaxb->xsd:datetime conversion)
* @return date
*/
@XmlElement(name="iso8601date")
public Date getIsoDate() {
//String format = DateFormatType.ISO8601.format();
//SimpleDateFormat f = new SimpleDateFormat(format);
//String text = f.format(date.getTime());
//Fix missing colon in java timezone
//return text.substring(0, 22) + ":" + text.substring(22);
return date.getTime();
}
/**
* Get date formated according to RFC822 (also java standard)
* @return date string
*/
@XmlElement(name="rfc822date")
public String getRfcDate() {
return DateFormatType.RFC822.format(date.getTime(), null, null);
}
}

View File

@ -53,7 +53,10 @@ public enum DateTimeUnits {
* days
*/
@XmlEnumValue("days")
DAYS("days");
DAYS("days"),
@XmlEnumValue("years")
YEARS("years");
private String value;

View File

@ -0,0 +1,81 @@
/*
* 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.TimeZone;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;
import net.brutex.xservices.util.BrutexNamespaces;
/**
* Different pre-defined date formats.
*
* @author Brian Rosenberger, bru@brutex.de
*/
@XmlType(name=TimeZoneType.XML_NAME, namespace=BrutexNamespaces.WS_XSERVICES)
public class TimeZoneType {
public static final String XML_NAME = "timezone";
private String id;
private String displayname;
private TimeZone timezone;
private long offset;
public TimeZoneType(TimeZone timezone) {
this.timezone = timezone;
this.id = timezone.getID();
this.displayname = timezone.getDisplayName();
this.offset = timezone.getRawOffset()/1000;
}
public TimeZoneType() {
this(TimeZone.getDefault());
}
/**
* @return the id
*/
@XmlElement
public String getId() {
return id;
}
/**
* @return the displayname
*/
@XmlElement
public String getDisplayname() {
return displayname;
}
/**
* @return the timezone
*/
public TimeZone getTimezone() {
return timezone;
}
/**
* @return the offset
*/
@XmlElement
public long getOffset() {
return offset;
}
}

View File

@ -19,8 +19,9 @@ import java.io.ByteArrayOutputStream;
import java.io.PrintStream;
import java.util.HashMap;
import java.util.Map;
import net.brutex.xservices.types.AntProperty;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.AntProperty;
import org.apache.tools.ant.BuildException;
import org.apache.tools.ant.Project;
import org.apache.tools.ant.Target;

View File

@ -18,12 +18,12 @@ package net.brutex.xservices.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import net.brutex.xservices.types.ArchiveResource;
import net.brutex.xservices.types.CompressionType;
import net.brutex.xservices.types.FileResource;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.ArchiveResource;
import net.brutex.xservices.types.ant.FileResource;
import net.brutex.xservices.types.ant.FileSetResource;
import net.brutex.xservices.util.BrutexNamespaces;

View File

@ -17,17 +17,24 @@
package net.brutex.xservices.ws;
import java.math.BigInteger;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.datatype.XMLGregorianCalendar;
import net.brutex.xservices.types.DateFormatType;
import net.brutex.xservices.types.DateInfoExtendedType;
import net.brutex.xservices.types.DateInfoType;
import net.brutex.xservices.types.DateTimeUnits;
import net.brutex.xservices.types.TimeZoneType;
import net.brutex.xservices.util.BrutexNamespaces;
import org.apache.cxf.annotations.WSDLDocumentation;
import org.apache.cxf.annotations.WSDLDocumentationCollection;
@ -45,7 +52,9 @@ import org.apache.cxf.annotations.WSDLDocumentationCollection;
public interface DateService {
public static final String SERVICE_NAME = "DateService";
final String OPERATION_GETDATE = "getDate";
final String OPERATION_GETDATEEXTENDED = "getDateExtended";
final String OPERATION_GETTIMESTAMP = "getTimestamp";
final String OPERATION_GETTIMESTAMP2 = "getTimestamp2";
final String OPERATION_GETINTIMEZONE = "getInTimezone";
@ -56,7 +65,7 @@ public interface DateService {
final String OPERATION_DATETIMEDIFF = "dateTimeDiff";
final String OPERATION_DATETIMEDIFF2 = "dateTimeDiff2";
final String OPERATION_DATEADD = "dateAdd";
final String OPERATION_GETTIMEZONES = "getTimezones";
final String PARAM_TIMEZONE = "timezone";
final String PARAM_DATETIME = "datetime";
final String PARAM_FORMAT = "format";
@ -65,14 +74,24 @@ public interface DateService {
/**
* Get current date and time.
*
* @param timezone Optional timezone. Defaults to server timezone.
* @return Current date and time.
* @throws XServicesFault
*/
@WebMethod(operationName=OPERATION_GETDATE)
@WSDLDocumentation(value="Get current date and time.")
public abstract GregorianCalendar getDate(
@WebParam(name=PARAM_TIMEZONE) String timezone) throws XServicesFault;
public abstract DateInfoType getDate()
throws XServicesFault;
/**
* Get current date and time (extended version).
*
* @return Current date and time.
* @throws XServicesFault
*/
@WebMethod(operationName=OPERATION_GETDATEEXTENDED)
@WSDLDocumentation(value="Get current date and time in different formats.")
public abstract DateInfoExtendedType getDateExtended()
throws XServicesFault;
/**
* Get milliseconds since 01.01.1970.
@ -102,23 +121,26 @@ public interface DateService {
* @throws XServicesFault
*/
@WebMethod(operationName=OPERATION_GETINTIMEZONE)
public abstract GregorianCalendar getInTimezone(
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) GregorianCalendar cal,
public abstract String getInTimezone(
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) Date cal,
@WebParam(name=PARAM_TIMEZONE) @XmlElement(required=true) String timezone) throws XServicesFault;
/**
* Formats a date with pre-defined patterns.
*
* @param cal date time to be formatted
* @param cal date time to be formatted in ISO8601
* @param format Pattern to be used for date formating
* @return formatted date/time string
* @throws XServicesFault
*/
@WebMethod(operationName=OPERATION_FORMATDATE)
public abstract String formatDate(
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) GregorianCalendar cal,
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) Date cal,
@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) DateFormatType format) throws XServicesFault;
@WebMethod(operationName=OPERATION_GETTIMEZONES)
public abstract List<TimeZoneType> getTimezones() throws XServicesFault;
/**
* Formats a date with a free form pattern.
* Uses SimpleDateFormat patterns
@ -151,7 +173,7 @@ public interface DateService {
*/
@WebMethod(operationName=OPERATION_FORMATDATEADVANCED)
public abstract String formatDateAdvanced(
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) GregorianCalendar cal,
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) Date cal,
@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) String format) throws XServicesFault;
/**
@ -164,7 +186,8 @@ public interface DateService {
* @throws XServicesFault
*/
@WebMethod(operationName=OPERATION_PARSEDATE)
public abstract GregorianCalendar parseDate(
@WSDLDocumentation(value="Converts a string into date using pre-defined date formats.")
public abstract Date parseDate(
@WebParam(name=PARAM_DATETIME) @XmlElement(required=true) String s,
@WebParam(name=PARAM_FORMAT) @XmlElement(required=true) DateFormatType format,
@WebParam(name=PARAM_TIMEZONE) String timezone) throws XServicesFault;
@ -192,8 +215,8 @@ public interface DateService {
*/
@WebMethod(operationName=OPERATION_DATETIMEDIFF)
public abstract BigInteger dateTimeDiff(
@WebParam(name="fromDateTime") @XmlElement(required=true) GregorianCalendar fromCal,
@WebParam(name="toDateTime") @XmlElement(required=true) GregorianCalendar toCal) throws XServicesFault;
@WebParam(name="fromDateTime") @XmlElement(required=true) Date fromCal,
@WebParam(name="toDateTime") @XmlElement(required=true) Date toCal) throws XServicesFault;
/**
* Fully elapsed units between two dates.
@ -208,9 +231,9 @@ public interface DateService {
@WebMethod(operationName=OPERATION_DATETIMEDIFF2)
@WSDLDocumentation(value="Get elapsed time between to dates.")
public abstract BigInteger dateTimeDiff2(
@WebParam(name="fromDateTime") @XmlElement(required=true) GregorianCalendar fromCal,
@WebParam(name="toDateTime") @XmlElement(required=true) GregorianCalendar toCal,
@WebParam(name="PARAM_UNIT") DateTimeUnits unit) throws XServicesFault;
@WebParam(name="fromDateTime") @XmlElement(required=true) Date fromCal,
@WebParam(name="toDateTime") @XmlElement(required=true) Date toCal,
@WebParam(name=PARAM_UNIT) DateTimeUnits unit) throws XServicesFault;
/**
* Add or subtract a time span from a date.

View File

@ -26,12 +26,12 @@ import javax.xml.bind.annotation.XmlElement;
import org.apache.cxf.annotations.WSDLDocumentation;
import org.apache.cxf.annotations.WSDLDocumentationCollection;
import net.brutex.xservices.types.ArchiveResource;
import net.brutex.xservices.types.AttachmentType;
import net.brutex.xservices.types.FileResource;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.ReplacePattern;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.ArchiveResource;
import net.brutex.xservices.types.ant.AttachmentType;
import net.brutex.xservices.types.ant.FileResource;
import net.brutex.xservices.types.ant.FileSetResource;
import net.brutex.xservices.util.BrutexNamespaces;
import net.brutex.xservices.util.XServicesDocumentation;
/**

View File

@ -18,14 +18,15 @@ package net.brutex.xservices.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.HostConnection;
import net.brutex.xservices.types.HostinfoType;
import net.brutex.xservices.types.MailMimeType;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.FileSetResource;
import net.brutex.xservices.util.BrutexNamespaces;
import org.apache.cxf.aegis.type.java5.XmlElement;
import org.apache.cxf.aegis.type.java5.XmlReturnType;
import org.apache.cxf.annotations.WSDLDocumentation;
/**

View File

@ -0,0 +1,84 @@
/*
* Copyright 2011 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.ws;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import net.brutex.xservices.types.TargetNodeType;
import net.brutex.xservices.types.ant.AttachmentType;
import net.brutex.xservices.types.ant.CollectionType;
import net.brutex.xservices.util.BrutexNamespaces;
import org.apache.cxf.annotations.WSDLDocumentation;
/**
* Storage management services.
* @author Brian Rosenberger
* @since 0.5.0
*
*/
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES)
public interface StorageService {
public static final String SERVICE_NAME = "StorageService";
final String OPERATION_STORETEXT = "storeText";
final String OPERATION_STOREBINARY = "storeBinary";
final String OPERATION_CREATECOLLECTION = "createCollection";
final String OPERATION_DELIVERCOLLECTION = "deliverCollection";
final String PARAM_TEXT = "text";
final String PARAM_BINARY = "binary";
final String PARAM_NAME = "name";
final String PARAM_COLLECTION = "collection";
final String PARAM_TARGETNODE = "target";
final String PARAM_RAISEEVENT = "event";
;
/**
* Store text based data.
* @param text text to be stored
*
* @return uuid reference to stored object
* @throws XServicesFault
*/
@WebMethod(operationName=OPERATION_STORETEXT)
@WSDLDocumentation(value="Store text based data")
public abstract String storeText(@WebParam(name = PARAM_TEXT) String text) throws XServicesFault;
@WebMethod(operationName=OPERATION_STOREBINARY)
@WSDLDocumentation(value="Store binary data")
public abstract String storeBinary(
@WebParam(name= PARAM_BINARY) AttachmentType binary)
throws XServicesFault;
@WebMethod(operationName=OPERATION_CREATECOLLECTION)
@WSDLDocumentation(value="Create a new Collection by name.")
public abstract String createCollection(
@WebParam(name= PARAM_COLLECTION) CollectionType collection)
throws XServicesFault;
@WebMethod(operationName=OPERATION_DELIVERCOLLECTION)
@WSDLDocumentation(value="Deliver a collection to a target node (asynchronous).")
public abstract void deliverCollection(
@WebParam(name= PARAM_COLLECTION) CollectionType collection,
@WebParam(name= PARAM_TARGETNODE) TargetNodeType targetnode,
@WebParam(name= PARAM_RAISEEVENT) boolean isFiring)
throws XServicesFault;
}

View File

@ -19,11 +19,11 @@ import java.io.File;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import net.brutex.xservices.types.ArchiveResource;
import net.brutex.xservices.types.CompressionType;
import net.brutex.xservices.types.FileResource;
import net.brutex.xservices.types.ResourceInterface;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.ArchiveResource;
import net.brutex.xservices.types.ant.FileResource;
import net.brutex.xservices.types.ant.ResourceInterface;
import net.brutex.xservices.util.BrutexNamespaces;
import net.brutex.xservices.util.RunTask;
import net.brutex.xservices.util.UnRarTask;

View File

@ -18,125 +18,124 @@ package net.brutex.xservices.ws.impl;
import java.math.BigInteger;
import java.text.ParseException;
import java.text.SimpleDateFormat;
import java.util.ArrayList;
import java.util.Date;
import java.util.GregorianCalendar;
import java.util.List;
import java.util.TimeZone;
import javax.jws.WebService;
import net.brutex.xservices.types.DateFormatType;
import net.brutex.xservices.types.DateInfoExtendedType;
import net.brutex.xservices.types.DateInfoType;
import net.brutex.xservices.types.DateTimeUnits;
import net.brutex.xservices.types.TimeZoneType;
import net.brutex.xservices.util.BrutexNamespaces;
import net.brutex.xservices.ws.DateService;
import net.brutex.xservices.ws.XServicesFault;
/**
* @author Brian Rosenberger
*
*
*/
@WebService(
targetNamespace = BrutexNamespaces.WS_XSERVICES,
endpointInterface = "net.brutex.xservices.ws.DateService",
serviceName = DateService.SERVICE_NAME
)
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES, endpointInterface = "net.brutex.xservices.ws.DateService", serviceName = DateService.SERVICE_NAME)
public class DateServiceImpl implements DateService {
private static String ERR_INVALIDFORMAT = "Invalid format pattern.";
private static String ERR_INVALIDTIMEZONE = "Invalid timezone.";
public GregorianCalendar getDate(String timezone) throws XServicesFault {
if (! isValidTimezone(timezone) ) {
String valid_ids = "";
String[] tid = TimeZone.getAvailableIDs();
for (String s : tid) {
valid_ids += s + "\n";
}
throw new XServicesFault("Please supply a valid timezone id or none. Valid timezones are:\n" + valid_ids,
new Exception( ));
}
if (timezone == null || timezone.length()<1 ) timezone = "GMT0";
GregorianCalendar c = new GregorianCalendar(TimeZone.getTimeZone(timezone));
return c;
public DateInfoType getDate() throws XServicesFault {
GregorianCalendar c = new GregorianCalendar();
DateInfoType dateinfo = new DateInfoType(c, TimeZone.getDefault());
return dateinfo;
}
public DateInfoExtendedType getDateExtended() throws XServicesFault {
GregorianCalendar c = new GregorianCalendar();
DateInfoExtendedType dateinfo = new DateInfoExtendedType(c,
TimeZone.getDefault());
return dateinfo;
}
public BigInteger getTimestamp() {
Date d = new Date();
long l = d.getTime();
return new BigInteger(Long.toString(l));
}
public BigInteger getTimestamp2() {
Date d = new Date();
long l = d.getTime()/1000;
long l = d.getTime() / 1000;
return new BigInteger(Long.toString(l));
}
public GregorianCalendar getInTimezone(GregorianCalendar cal,
String timezone) throws XServicesFault {
if(! isValidTimezone(timezone)) throw new XServicesFault(ERR_INVALIDTIMEZONE);
GregorianCalendar c = new GregorianCalendar(TimeZone.getTimeZone(timezone));
c.setTimeInMillis(cal.getTimeInMillis());
return c;
}
public String formatDate(GregorianCalendar cal, DateFormatType format) throws XServicesFault {
return formatDateAdvanced(cal, format.format());
}
public String formatDateAdvanced(GregorianCalendar cal, String format)
public String getInTimezone(Date date, String timezone)
throws XServicesFault {
String result= null;
try {
SimpleDateFormat f = new SimpleDateFormat(format);
result = f.format(cal.getTime());
} catch (IllegalArgumentException e) {
throw new XServicesFault(ERR_INVALIDFORMAT + e.getMessage());
}
return result;
}
public GregorianCalendar parseDate(String s, DateFormatType format, String timezone) throws XServicesFault {
return parseDateAdvanced(s, format.format(), timezone);
if (!isValidTimezone(timezone))
throw new XServicesFault(ERR_INVALIDTIMEZONE);
TimeZone targetzone = TimeZone.getTimeZone(timezone);
String targetstring = DateFormatType.ISO8601.format(date, null, targetzone);
return targetstring;
}
public GregorianCalendar parseDateAdvanced(String s, String format, String timezone) throws XServicesFault {
public String formatDate(Date cal, DateFormatType format)
throws XServicesFault {
return format.format(cal, null, null);
}
public String formatDateAdvanced(Date cal, String format)
throws XServicesFault {
String result = null;
SimpleDateFormat f = new SimpleDateFormat(format);
result = f.format(cal);
return result;
}
public Date parseDate(String s, DateFormatType format, String timezone)
throws XServicesFault {
if (timezone == null | timezone.equals(""))
timezone = TimeZone.getDefault().getID();
if (!isValidTimezone(timezone))
throw new XServicesFault(ERR_INVALIDTIMEZONE);
try {
return format.parse(s, null, TimeZone.getTimeZone(timezone));
} catch (ParseException e) {
throw new XServicesFault(e);
}
}
public GregorianCalendar parseDateAdvanced(String s, String format,
String timezone) throws XServicesFault {
SimpleDateFormat f = null;
Date date = null;
if(timezone==null | timezone.equals("")) timezone = TimeZone.getDefault().getID();
if(! isValidTimezone(timezone)) throw new XServicesFault(ERR_INVALIDTIMEZONE);
if (timezone == null | timezone.equals(""))
timezone = TimeZone.getDefault().getID();
if (!isValidTimezone(timezone))
throw new XServicesFault(ERR_INVALIDTIMEZONE);
try {
f = new SimpleDateFormat(format);
date = f.parse(s);
} catch(IllegalArgumentException e) {
} catch (IllegalArgumentException e) {
throw new XServicesFault(ERR_INVALIDFORMAT + e.getMessage());
} catch (ParseException e) {
throw new XServicesFault("Cannot parse date: "+ e.getMessage());
throw new XServicesFault("Cannot parse date: " + e.getMessage());
}
GregorianCalendar cal = new GregorianCalendar();
cal.setTimeZone(TimeZone.getTimeZone(timezone));
cal.setTime(date);
return cal;
}
public BigInteger dateTimeDiff(GregorianCalendar fromCal,
GregorianCalendar toCal) throws XServicesFault {
long diff = toCal.getTimeInMillis() - fromCal.getTimeInMillis();
public BigInteger dateTimeDiff(Date fromCal, Date toCal)
throws XServicesFault {
long diff = toCal.getTime() - fromCal.getTime();
BigInteger d = new BigInteger(String.valueOf(diff), 10);
return d;
}
public BigInteger dateTimeDiff2(GregorianCalendar fromCal,
GregorianCalendar toCal, DateTimeUnits unit) throws XServicesFault {
public BigInteger dateTimeDiff2(Date fromCal, Date toCal, DateTimeUnits unit)
throws XServicesFault {
BigInteger d = dateTimeDiff(fromCal, toCal);
switch (unit) {
case SECONDS:
@ -150,13 +149,16 @@ public class DateServiceImpl implements DateService {
break;
case DAYS:
d = d.divide(new BigInteger("86400000"));
break;
case YEARS:
d = d.divide(new BigInteger("31536000000"));
break;
}
return d;
}
public GregorianCalendar dateAdd(GregorianCalendar cal, BigInteger value, DateTimeUnits unit)
throws XServicesFault {
public GregorianCalendar dateAdd(GregorianCalendar cal, BigInteger value,
DateTimeUnits unit) throws XServicesFault {
switch (unit) {
case SECONDS:
cal.add(GregorianCalendar.SECOND, value.intValue());
@ -170,16 +172,19 @@ public class DateServiceImpl implements DateService {
case DAYS:
cal.add(GregorianCalendar.DAY_OF_MONTH, value.intValue());
break;
case YEARS:
cal.add(GregorianCalendar.YEAR, value.intValue());
break;
default:
cal.add(GregorianCalendar.MILLISECOND, value.intValue());
}
return cal;
}
private boolean isValidTimezone(String id) {
boolean yes = false;
for( String s: TimeZone.getAvailableIDs()) {
if(s.equals(id)) {
for (String s : TimeZone.getAvailableIDs()) {
if (s.equals(id)) {
yes = true;
break;
}
@ -187,4 +192,11 @@ public class DateServiceImpl implements DateService {
return yes;
}
public List<TimeZoneType> getTimezones() {
List<TimeZoneType> output = new ArrayList<TimeZoneType>();
for (String s : TimeZone.getAvailableIDs()) {
output.add(new TimeZoneType(TimeZone.getTimeZone(s)));
}
return output;
}
}

View File

@ -27,12 +27,12 @@ import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import net.brutex.xservices.types.ArchiveResource;
import net.brutex.xservices.types.AttachmentType;
import net.brutex.xservices.types.FileResource;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.ReplacePattern;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.ArchiveResource;
import net.brutex.xservices.types.ant.AttachmentType;
import net.brutex.xservices.types.ant.FileResource;
import net.brutex.xservices.types.ant.FileSetResource;
import net.brutex.xservices.util.BrutexNamespaces;
import net.brutex.xservices.util.RunTask;
import net.brutex.xservices.ws.FileService;

View File

@ -21,11 +21,11 @@ import java.util.Properties;
import java.util.UUID;
import javax.jws.WebService;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.HostConnection;
import net.brutex.xservices.types.HostinfoType;
import net.brutex.xservices.types.MailMimeType;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.types.ant.FileSetResource;
import net.brutex.xservices.util.BrutexNamespaces;
import net.brutex.xservices.util.RunTask;
import net.brutex.xservices.ws.MiscService;

View File

@ -0,0 +1,56 @@
/*
* Copyright 2011 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.ws.impl;
import javax.jws.WebService;
import net.brutex.xservices.types.TargetNodeType;
import net.brutex.xservices.types.ant.AttachmentType;
import net.brutex.xservices.types.ant.CollectionType;
import net.brutex.xservices.util.BrutexNamespaces;
import net.brutex.xservices.ws.StorageService;
import net.brutex.xservices.ws.XServicesFault;
/**
* @author Brian Rosenberger
* @since 0.5.0
*
*/
@WebService(targetNamespace = BrutexNamespaces.WS_XSERVICES, endpointInterface = "net.brutex.xservices.ws.StorageService", serviceName = StorageService.SERVICE_NAME)
public class StorageServiceImpl implements StorageService {
public String storeText(String text) throws XServicesFault {
// TODO Auto-generated method stub
return null;
}
public String storeBinary(AttachmentType binary) throws XServicesFault {
// TODO Auto-generated method stub
return null;
}
public String createCollection(CollectionType collection)
throws XServicesFault {
return collection.getUuid();
}
public void deliverCollection(CollectionType collection,
TargetNodeType targetnode, boolean isFiring) throws XServicesFault {
// TODO Auto-generated method stub
}
}

File diff suppressed because it is too large Load Diff

View File

@ -1,330 +1,305 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="MiscService" 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="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>
<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="generateUUID" type="tns:generateUUID"/>
<xs:element name="generateUUIDResponse" type="tns:generateUUIDResponse"/>
<xs:element name="getHostinfo" type="tns:getHostinfo"/>
<xs:element name="getHostinfoResponse" type="tns:getHostinfoResponse"/>
<xs:element name="getInfo" type="tns:getInfo"/>
<xs:element name="getInfoResponse" type="tns:getInfoResponse"/>
<xs:element name="sendMail" type="tns:sendMail"/>
<xs:element name="sendMailResponse" type="tns:sendMailResponse"/>
<xs:element name="sendMailSimple" type="tns:sendMailSimple"/>
<xs:element name="sendMailSimpleResponse" type="tns:sendMailSimpleResponse"/>
<xs:element name="sendMailSimpleWithAttachment" type="tns:sendMailSimpleWithAttachment"/>
<xs:element name="sendMailSimpleWithAttachmentResponse" type="tns:sendMailSimpleWithAttachmentResponse"/>
<xs:element name="sleep" type="tns:sleep"/>
<xs:element name="sleepResponse" type="tns:sleepResponse"/>
<xs:complexType name="sendMailSimpleWithAttachment">
<xs:sequence>
<xs:element minOccurs="0" name="mailhost" type="tns:connection"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element minOccurs="0" name="to" type="xs:string"/>
<xs:element minOccurs="0" name="subject" type="xs:string"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
<xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="connection">
<xs:sequence>
<xs:element name="hostname" type="xs:string"/>
<xs:element name="port" type="xs:int"/>
<xs:element minOccurs="0" name="user" type="xs:string"/>
<xs:element minOccurs="0" name="password" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FileSetType">
<xs:sequence>
<xs:element default="FILES" name="FileSetType" type="tns:resourcetype"/>
<xs:element name="source" type="xs:string"/>
<xs:element name="filter" nillable="true" type="tns:patternSetType"/>
<xs:element default="" minOccurs="0" name="excludes" nillable="true" type="xs:string"/>
<xs:element default="true" name="casesensitive" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="patternSetType">
<xs:sequence>
<xs:element default="**/*" maxOccurs="unbounded" minOccurs="0" name="include" type="tns:patternElement"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="exclude" type="tns:patternElement"/>
<xs:element minOccurs="0" name="selector" nillable="true" type="tns:selectorType"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="patternElement">
<xs:restriction base="xs:string"/>
</xs:simpleType>
<xs:complexType abstract="true" name="selectorType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="contains" nillable="true" type="tns:containsSelectorType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="containsSelectorType">
<xs:sequence>
<xs:element name="text" type="xs:string"/>
<xs:element default="true" name="casesensitive" type="xs:boolean"/>
<xs:element default="false" name="ignorewhitespace" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailSimpleWithAttachmentResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ReturnCodeType">
<xs:sequence>
<xs:element name="returnCode" type="xs:int"/>
<xs:element minOccurs="0" name="stdOut" type="xs:string"/>
<xs:element minOccurs="0" name="stdErr" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="propertyList" nillable="true" type="tns:antProperty"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="antProperty">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailSimple">
<xs:sequence>
<xs:element minOccurs="0" name="mailhost" type="tns:connection"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element minOccurs="0" name="to" type="xs:string"/>
<xs:element minOccurs="0" name="subject" type="xs:string"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailSimpleResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getHostinfo">
<xs:sequence>
<xs:element minOccurs="0" name="hostname" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getHostinfoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMail">
<xs:sequence>
<xs:element minOccurs="0" name="mailhost" type="tns:connection"/>
<xs:element minOccurs="0" name="from" type="xs:string"/>
<xs:element minOccurs="0" name="to" type="xs:string"/>
<xs:element minOccurs="0" name="cc" type="xs:string"/>
<xs:element minOccurs="0" name="bcc" type="xs:string"/>
<xs:element minOccurs="0" name="subject" type="xs:string"/>
<xs:element minOccurs="0" name="mimetype" type="tns:mailMimeType"/>
<xs:element minOccurs="0" name="charset" type="xs:string"/>
<xs:element minOccurs="0" name="message" type="xs:string"/>
<xs:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
<xs:element name="useSSL" type="xs:boolean"/>
<xs:element name="useStartTLS" type="xs:boolean"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sendMailResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sleep">
<xs:sequence>
<xs:element name="minutes" type="xs:int"/>
<xs:element name="seconds" type="xs:int"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="sleepResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="generateUUID">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="generateUUIDResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getInfo">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getInfoResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="resourcetype">
<xs:restriction base="xs:string">
<xs:enumeration value="FILES"/>
<xs:enumeration value="ZIP"/>
<xs:enumeration value="TAR"/>
<xs:enumeration value="GZTAR"/>
</xs:restriction>
</xs:simpleType>
<xs:simpleType name="mailMimeType">
<xs:restriction base="xs:string">
<xs:enumeration value="text/plain"/>
<xs:enumeration value="text/html"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>
</wsdl:types>
<wsdl:message name="sendMailSimple">
<wsdl:part element="tns:sendMailSimple" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfo">
<wsdl:part element="tns:getHostinfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getInfoResponse">
<wsdl:part element="tns:getInfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfoResponse">
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleResponse">
<wsdl:part element="tns:sendMailSimpleResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUIDResponse">
<wsdl:part element="tns:generateUUIDResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailResponse">
<wsdl:part element="tns:sendMailResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleepResponse">
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleWithAttachment">
<wsdl:part element="tns:sendMailSimpleWithAttachment" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleep">
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getInfo">
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMail">
<wsdl:part element="tns:sendMail" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUID">
<wsdl:part element="tns:generateUUID" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleWithAttachmentResponse">
<wsdl:part element="tns:sendMailSimpleWithAttachmentResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="MiscService">
<wsdl:documentation>Various service operations.</wsdl:documentation>
<wsdl:operation name="sendMailSimpleWithAttachment">
<wsdl:documentation>Send an email with attachment (simple).</wsdl:documentation>
<wsdl:input message="tns:sendMailSimpleWithAttachment" name="sendMailSimpleWithAttachment"></wsdl:input>
<wsdl:output message="tns:sendMailSimpleWithAttachmentResponse" name="sendMailSimpleWithAttachmentResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMailSimple">
<wsdl:documentation>Send an email (simple).</wsdl:documentation>
<wsdl:input message="tns:sendMailSimple" name="sendMailSimple"></wsdl:input>
<wsdl:output message="tns:sendMailSimpleResponse" name="sendMailSimpleResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getHostinfo">
<wsdl:documentation>Get information about a host.</wsdl:documentation>
<wsdl:input message="tns:getHostinfo" name="getHostinfo"></wsdl:input>
<wsdl:output message="tns:getHostinfoResponse" name="getHostinfoResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMail">
<wsdl:documentation>Send an email (advanced).</wsdl:documentation>
<wsdl:input message="tns:sendMail" name="sendMail"></wsdl:input>
<wsdl:output message="tns:sendMailResponse" name="sendMailResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sleep">
<wsdl:documentation>Delay request response a specified duration.</wsdl:documentation>
<wsdl:input message="tns:sleep" name="sleep"></wsdl:input>
<wsdl:output message="tns:sleepResponse" name="sleepResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="generateUUID">
<wsdl:documentation>Generate a UUID.</wsdl:documentation>
<wsdl:input message="tns:generateUUID" name="generateUUID"></wsdl:input>
<wsdl:output message="tns:generateUUIDResponse" name="generateUUIDResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getInfo">
<wsdl:documentation>Get XService information.</wsdl:documentation>
<wsdl:input message="tns:getInfo" name="getInfo"></wsdl:input>
<wsdl:output message="tns:getInfoResponse" name="getInfoResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MiscServiceSoapBinding" type="tns:MiscService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sendMailSimpleWithAttachment">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMailSimpleWithAttachment">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailSimpleWithAttachmentResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getHostinfo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getHostinfo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getHostinfoResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMailSimple">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMailSimple">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailSimpleResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMail">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMail">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailResponse">
<soap:body use="literal"/>
</wsdl:output>
</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: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="sendMail" bindingOperationName="sendMail" type="Request-Response" outputName="sendMailResponse" inputName="sendMail" 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/MiscService</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<con:soapui-project name="MiscService" 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="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>
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns0="http://types.xservices.brutex.net">
<xsd:import namespace="http://types.xservices.brutex.net"/>
<xsd:complexType name="FileSetType">
<xsd:sequence/>
</xsd:complexType>
<xsd:complexType name="hostinfo">
<xsd:sequence>
<xsd:element minOccurs="0" name="domain" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="ip4" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="ip6" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="name" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:complexType name="ReturnCodeType">
<xsd:sequence>
<xsd:element minOccurs="0" name="stdOut" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sendMailSimpleWithAttachment" type="tns:sendMailSimpleWithAttachment"/>
<xsd:complexType name="sendMailSimpleWithAttachment">
<xsd:sequence>
<xsd:element name="mailhost" type="ns0:connection"/>
<xsd:element name="from" type="xsd:string"/>
<xsd:element name="to" type="xsd:string"/>
<xsd:element minOccurs="0" name="subject" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="message" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="fileset" type="tns:FileSetType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sendMailSimpleWithAttachmentResponse" type="tns:sendMailSimpleWithAttachmentResponse"/>
<xsd:complexType name="sendMailSimpleWithAttachmentResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sendMailSimple" type="tns:sendMailSimple"/>
<xsd:complexType name="sendMailSimple">
<xsd:sequence>
<xsd:element name="mailhost" type="ns0:connection"/>
<xsd:element name="from" type="xsd:string"/>
<xsd:element name="to" type="xsd:string"/>
<xsd:element minOccurs="0" name="subject" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="message" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sendMailSimpleResponse" type="tns:sendMailSimpleResponse"/>
<xsd:complexType name="sendMailSimpleResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getHostinfo" type="tns:getHostinfo"/>
<xsd:complexType name="getHostinfo">
<xsd:sequence>
<xsd:element name="hostname" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getHostinfoResponse" type="tns:getHostinfoResponse"/>
<xsd:complexType name="getHostinfoResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:hostinfo"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sendMail" type="tns:sendMail"/>
<xsd:complexType name="sendMail">
<xsd:sequence>
<xsd:element name="mailhost" type="ns0:connection"/>
<xsd:element name="from" type="xsd:string"/>
<xsd:element name="to" type="xsd:string"/>
<xsd:element minOccurs="0" name="cc" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="bcc" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="subject" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="mimetype" nillable="true" type="ns0:MailMimeType"/>
<xsd:element minOccurs="0" name="charset" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="message" nillable="true" type="xsd:string"/>
<xsd:element minOccurs="0" name="attachments" type="tns:FileSetType"/>
<xsd:element name="useSSL" type="xsd:boolean"/>
<xsd:element name="useStartTLS" type="xsd:boolean"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sendMailResponse" type="tns:sendMailResponse"/>
<xsd:complexType name="sendMailResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sleep" type="tns:sleep"/>
<xsd:complexType name="sleep">
<xsd:sequence>
<xsd:element name="minutes" type="xsd:int"/>
<xsd:element name="seconds" type="xsd:int"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="sleepResponse" type="tns:sleepResponse"/>
<xsd:complexType name="sleepResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="generateUUID" type="tns:generateUUID"/>
<xsd:complexType name="generateUUID">
<xsd:sequence/>
</xsd:complexType>
<xsd:element name="generateUUIDResponse" type="tns:generateUUIDResponse"/>
<xsd:complexType name="generateUUIDResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" nillable="true" type="xsd:string"/>
</xsd:sequence>
</xsd:complexType>
<xsd:element name="getInfo" type="tns:getInfo"/>
<xsd:complexType name="getInfo">
<xsd:sequence/>
</xsd:complexType>
<xsd:element name="getInfoResponse" type="tns:getInfoResponse"/>
<xsd:complexType name="getInfoResponse">
<xsd:sequence>
<xsd:element minOccurs="0" name="return" type="tns:ReturnCodeType"/>
</xsd:sequence>
</xsd:complexType>
</xsd:schema>
<xsd:schema attributeFormDefault="qualified" elementFormDefault="qualified" targetNamespace="http://types.xservices.brutex.net" xmlns:tns="http://types.xservices.brutex.net">
<xsd:complexType name="connection">
<xsd:sequence/>
</xsd:complexType>
<xsd:simpleType name="MailMimeType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="PLAIN"/>
<xsd:enumeration value="HTML"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:schema>
</wsdl:types>
<wsdl:message name="sendMailSimple">
<wsdl:part element="tns:sendMailSimple" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfo">
<wsdl:part element="tns:getHostinfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getInfoResponse">
<wsdl:part element="tns:getInfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfoResponse">
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleResponse">
<wsdl:part element="tns:sendMailSimpleResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUIDResponse">
<wsdl:part element="tns:generateUUIDResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailResponse">
<wsdl:part element="tns:sendMailResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleepResponse">
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleWithAttachment">
<wsdl:part element="tns:sendMailSimpleWithAttachment" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleep">
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getInfo">
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMail">
<wsdl:part element="tns:sendMail" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUID">
<wsdl:part element="tns:generateUUID" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sendMailSimpleWithAttachmentResponse">
<wsdl:part element="tns:sendMailSimpleWithAttachmentResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="MiscService">
<wsdl:documentation>Various service operations.</wsdl:documentation>
<wsdl:operation name="sendMailSimpleWithAttachment">
<wsdl:documentation>Send an email with attachment (simple).</wsdl:documentation>
<wsdl:input message="tns:sendMailSimpleWithAttachment" name="sendMailSimpleWithAttachment"></wsdl:input>
<wsdl:output message="tns:sendMailSimpleWithAttachmentResponse" name="sendMailSimpleWithAttachmentResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMailSimple">
<wsdl:documentation>Send an email (simple).</wsdl:documentation>
<wsdl:input message="tns:sendMailSimple" name="sendMailSimple"></wsdl:input>
<wsdl:output message="tns:sendMailSimpleResponse" name="sendMailSimpleResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getHostinfo">
<wsdl:documentation>Get information about a host.</wsdl:documentation>
<wsdl:input message="tns:getHostinfo" name="getHostinfo"></wsdl:input>
<wsdl:output message="tns:getHostinfoResponse" name="getHostinfoResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMail">
<wsdl:documentation>Send an email (advanced).</wsdl:documentation>
<wsdl:input message="tns:sendMail" name="sendMail"></wsdl:input>
<wsdl:output message="tns:sendMailResponse" name="sendMailResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="sleep">
<wsdl:documentation>Delay request response a specified duration.</wsdl:documentation>
<wsdl:input message="tns:sleep" name="sleep"></wsdl:input>
<wsdl:output message="tns:sleepResponse" name="sleepResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="generateUUID">
<wsdl:documentation>Generate a UUID.</wsdl:documentation>
<wsdl:input message="tns:generateUUID" name="generateUUID"></wsdl:input>
<wsdl:output message="tns:generateUUIDResponse" name="generateUUIDResponse"></wsdl:output>
</wsdl:operation>
<wsdl:operation name="getInfo">
<wsdl:documentation>Get XService information.</wsdl:documentation>
<wsdl:input message="tns:getInfo" name="getInfo"></wsdl:input>
<wsdl:output message="tns:getInfoResponse" name="getInfoResponse"></wsdl:output>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="MiscServiceSoapBinding" type="tns:MiscService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="sendMailSimpleWithAttachment">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMailSimpleWithAttachment">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailSimpleWithAttachmentResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="getHostinfo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getHostinfo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getHostinfoResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMailSimple">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMailSimple">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailSimpleResponse">
<soap:body use="literal"/>
</wsdl:output>
</wsdl:operation>
<wsdl:operation name="sendMail">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="sendMail">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="sendMailResponse">
<soap:body use="literal"/>
</wsdl:output>
</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: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: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/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:getHostinfo>
<!--Optional:-->
<hostname>de3433</hostname>
</ws:getHostinfo>
</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/getHostinfo"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/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:getHostinfo>
<ws:hostname>google.com</ws:hostname>
</ws:getHostinfo>
</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/getHostinfo"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMail" bindingOperationName="sendMail" type="Request-Response" outputName="sendMailResponse" inputName="sendMail" 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/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:sendMail>
@ -332,7 +307,99 @@
<useStartTLS>0</useStartTLS>
</ws:sendMail>
</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/sendMail"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimple" bindingOperationName="sendMailSimple" type="Request-Response" outputName="sendMailSimpleResponse" inputName="sendMailSimple" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sendMailSimpleWithAttachment" bindingOperationName="sendMailSimpleWithAttachment" type="Request-Response" outputName="sendMailSimpleWithAttachmentResponse" inputName="sendMailSimpleWithAttachment" 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: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/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/sendMail"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimple" bindingOperationName="sendMailSimple" type="Request-Response" outputName="sendMailSimpleResponse" inputName="sendMailSimple" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><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:sendMailSimple>
<!--Optional:-->
<ws:mailhost/>
<!--Optional:-->
<ws:from>?</ws:from>
<!--Optional:-->
<ws:to>?</ws:to>
<!--Optional:-->
<ws:subject>?</ws:subject>
<!--Optional:-->
<ws:message>?</ws:message>
</ws:sendMailSimple>
</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/sendMailSimple"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2"><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:sendMailSimple>
<ws:mailhost/>
<ws:from>?</ws:from>
<ws:to>?</ws:to>
<!--Optional:-->
<ws:subject>?</ws:subject>
<!--Optional:-->
<ws:message>?</ws:message>
</ws:sendMailSimple>
</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/sendMailSimple"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="sendMailSimpleWithAttachment" bindingOperationName="sendMailSimpleWithAttachment" type="Request-Response" outputName="sendMailSimpleWithAttachmentResponse" inputName="sendMailSimpleWithAttachment" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><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:sendMailSimpleWithAttachment>
<!--Optional:-->
<ws:mailhost/>
<!--Optional:-->
<ws:from>?</ws:from>
<!--Optional:-->
<ws:to>?</ws:to>
<!--Optional:-->
<ws:subject>?</ws:subject>
<!--Optional:-->
<ws:message>?</ws:message>
<!--Optional:-->
<ws:attachments/>
</ws:sendMailSimpleWithAttachment>
</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/sendMailSimpleWithAttachment"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2"><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:sendMailSimpleWithAttachment>
<ws:mailhost/>
<ws:from>?</ws:from>
<ws:to>?</ws:to>
<!--Optional:-->
<ws:subject>?</ws:subject>
<!--Optional:-->
<ws:message>?</ws:message>
<!--Optional:-->
<ws:attachments/>
</ws:sendMailSimpleWithAttachment>
</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/sendMailSimpleWithAttachment"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 3"><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:sendMailSimpleWithAttachment>
<ws:mailhost/>
<ws:from>?</ws:from>
<ws:to>?</ws:to>
<!--Optional:-->
<ws:subject>?</ws:subject>
<!--Optional:-->
<ws:message>?</ws:message>
<!--Optional:-->
<ws:attachments/>
</ws:sendMailSimpleWithAttachment>
</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/sendMailSimpleWithAttachment"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 4"><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:sendMailSimpleWithAttachment>
<ws:mailhost/>
<ws:from>?</ws:from>
<ws:to>?</ws:to>
<!--Optional:-->
<ws:subject>?</ws:subject>
<!--Optional:-->
<ws:message>?</ws:message>
<!--Optional:-->
<ws:fileset/>
</ws:sendMailSimpleWithAttachment>
</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/sendMailSimpleWithAttachment"/><con:wsrmConfig version="1.2"/></con:call></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: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/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:sleep>
@ -345,11 +412,11 @@
<soapenv:Body>
<ws:getInfo/>
</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: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/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:generateUUID/>
</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: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/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:generateUUID/>
</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/generateUUID"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="TestSuite 1"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="TestCase 1" searchProperties="true"><con:settings/><con:testStep type="request" name="sleep - Request 1"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>sleep</con:operation><con:request name="sleep - Request 1" outgoingWss="" incomingWss="" timeout="" wssPasswordType=""><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/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>

View File

@ -1,190 +1,190 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="StoreService" resourceRoot="" soapui-version="3.6.1" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="StorageServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}StorageServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/StorageServices?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/StorageServices?wsdl"><con:part><con:url>http://localhost:8080/XServices/StorageServices?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="StorageService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="createCollection" type="tns:createCollection"/>
<xs:element name="createCollectionResponse" type="tns:createCollectionResponse"/>
<xs:element name="storeBinary" type="tns:storeBinary"/>
<xs:element name="storeBinaryResponse" type="tns:storeBinaryResponse"/>
<xs:element name="storeText" type="tns:storeText"/>
<xs:element name="storeTextResponse" type="tns:storeTextResponse"/>
<xs:complexType name="storeText">
<xs:sequence>
<xs:element minOccurs="0" name="text" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="storeTextResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="storeBinary">
<xs:sequence>
<xs:element minOccurs="0" name="binary" type="tns:attachmentType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="attachmentType">
<xs:sequence>
<xs:element name="content" ns1:expectedContentTypes="application/octet-stream" type="xs:base64Binary" xmlns:ns1="http://www.w3.org/2005/05/xmlmime"/>
<xs:element minOccurs="0" name="filename" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="storeBinaryResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createCollection">
<xs:sequence>
<xs:element minOccurs="0" name="collection" type="tns:collectionType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="collectionType">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createCollectionResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XServicesFault">
<xs:sequence>
<xs:element name="faultstring" nillable="true" type="xs:string"/>
<xs:element name="username" nillable="true" type="xs:string"/>
<xs:element name="homedir" nillable="true" type="xs:string"/>
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="createCollectionResponse">
<wsdl:part element="tns:createCollectionResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeText">
<wsdl:part element="tns:storeText" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="createCollection">
<wsdl:part element="tns:createCollection" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeBinaryResponse">
<wsdl:part element="tns:storeBinaryResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeTextResponse">
<wsdl:part element="tns:storeTextResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeBinary">
<wsdl:part element="tns:storeBinary" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="StorageService">
<wsdl:operation name="storeText">
<wsdl:documentation>Store text based data</wsdl:documentation>
<wsdl:input message="tns:storeText" name="storeText"></wsdl:input>
<wsdl:output message="tns:storeTextResponse" name="storeTextResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="storeBinary">
<wsdl:documentation>Store binary data</wsdl:documentation>
<wsdl:input message="tns:storeBinary" name="storeBinary"></wsdl:input>
<wsdl:output message="tns:storeBinaryResponse" name="storeBinaryResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createCollection">
<wsdl:documentation>Create a new Collection by name.</wsdl:documentation>
<wsdl:input message="tns:createCollection" name="createCollection"></wsdl:input>
<wsdl:output message="tns:createCollectionResponse" name="createCollectionResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="StorageServiceSoapBinding" type="tns:StorageService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="storeText">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="storeText">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="storeTextResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="storeBinary">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="storeBinary">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="storeBinaryResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createCollection">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="createCollection">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="createCollectionResponse">
<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="StorageService">
<wsdl:port binding="tns:StorageServiceSoapBinding" name="StorageServiceImplPort">
<soap:address location="http://localhost:8080/XServices/StorageServices"/>
</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/StorageServices</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="createCollection" bindingOperationName="createCollection" type="Request-Response" outputName="createCollectionResponse" inputName="createCollection" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:createCollection>
<!--Optional:-->
<collection>
<!--Optional:-->
<name>?</name>
</collection>
</ws:createCollection>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/createCollection"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:createCollection>
<!--Optional:-->
<collection>
<name>kjkjb</name>
</collection>
</ws:createCollection>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/createCollection"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="storeBinary" bindingOperationName="storeBinary" type="Request-Response" outputName="storeBinaryResponse" inputName="storeBinary" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:storeBinary>
<!--Optional:-->
<binary>
<content>cid:1152943655258</content>
<!--Optional:-->
<filename>?</filename>
</binary>
</ws:storeBinary>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/storeBinary"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="storeText" bindingOperationName="storeText" type="Request-Response" outputName="storeTextResponse" inputName="storeText" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:storeText>
<!--Optional:-->
<text>?</text>
</ws:storeText>
</soapenv:Body>
<con:soapui-project name="StoreService" 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="StorageServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}StorageServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/StorageServices?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/StorageServices?wsdl"><con:part><con:url>http://localhost:8080/XServices/StorageServices?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="StorageService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="createCollection" type="tns:createCollection"/>
<xs:element name="createCollectionResponse" type="tns:createCollectionResponse"/>
<xs:element name="storeBinary" type="tns:storeBinary"/>
<xs:element name="storeBinaryResponse" type="tns:storeBinaryResponse"/>
<xs:element name="storeText" type="tns:storeText"/>
<xs:element name="storeTextResponse" type="tns:storeTextResponse"/>
<xs:complexType name="storeText">
<xs:sequence>
<xs:element minOccurs="0" name="text" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="storeTextResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="storeBinary">
<xs:sequence>
<xs:element minOccurs="0" name="binary" type="tns:attachmentType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="attachmentType">
<xs:sequence>
<xs:element name="content" ns1:expectedContentTypes="application/octet-stream" type="xs:base64Binary" xmlns:ns1="http://www.w3.org/2005/05/xmlmime"/>
<xs:element minOccurs="0" name="filename" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="storeBinaryResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createCollection">
<xs:sequence>
<xs:element minOccurs="0" name="collection" type="tns:collectionType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="collectionType">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="createCollectionResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="XServicesFault">
<xs:sequence>
<xs:element name="faultstring" nillable="true" type="xs:string"/>
<xs:element name="username" nillable="true" type="xs:string"/>
<xs:element name="homedir" nillable="true" type="xs:string"/>
<xs:element name="timestamp" nillable="true" type="xs:anySimpleType"/>
<xs:element name="jvmruntime" nillable="true" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:element name="XServicesFault" type="tns:XServicesFault"/>
</xs:schema>
</wsdl:types>
<wsdl:message name="createCollectionResponse">
<wsdl:part element="tns:createCollectionResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeText">
<wsdl:part element="tns:storeText" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="createCollection">
<wsdl:part element="tns:createCollection" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeBinaryResponse">
<wsdl:part element="tns:storeBinaryResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeTextResponse">
<wsdl:part element="tns:storeTextResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="storeBinary">
<wsdl:part element="tns:storeBinary" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="StorageService">
<wsdl:operation name="storeText">
<wsdl:documentation>Store text based data</wsdl:documentation>
<wsdl:input message="tns:storeText" name="storeText"></wsdl:input>
<wsdl:output message="tns:storeTextResponse" name="storeTextResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="storeBinary">
<wsdl:documentation>Store binary data</wsdl:documentation>
<wsdl:input message="tns:storeBinary" name="storeBinary"></wsdl:input>
<wsdl:output message="tns:storeBinaryResponse" name="storeBinaryResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createCollection">
<wsdl:documentation>Create a new Collection by name.</wsdl:documentation>
<wsdl:input message="tns:createCollection" name="createCollection"></wsdl:input>
<wsdl:output message="tns:createCollectionResponse" name="createCollectionResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="StorageServiceSoapBinding" type="tns:StorageService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="storeText">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="storeText">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="storeTextResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="storeBinary">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="storeBinary">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="storeBinaryResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="createCollection">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="createCollection">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="createCollectionResponse">
<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="StorageService">
<wsdl:port binding="tns:StorageServiceSoapBinding" name="StorageServiceImplPort">
<soap:address location="http://localhost:8080/XServices/StorageServices"/>
</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/StorageServices</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="createCollection" bindingOperationName="createCollection" type="Request-Response" outputName="createCollectionResponse" inputName="createCollection" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:createCollection>
<!--Optional:-->
<collection>
<!--Optional:-->
<name>?</name>
</collection>
</ws:createCollection>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/createCollection"/><con:wsrmConfig version="1.2"/></con:call><con:call name="Request 2"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:createCollection>
<!--Optional:-->
<collection>
<name>kjkjb</name>
</collection>
</ws:createCollection>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/createCollection"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="storeBinary" bindingOperationName="storeBinary" type="Request-Response" outputName="storeBinaryResponse" inputName="storeBinary" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:storeBinary>
<!--Optional:-->
<binary>
<content>cid:1152943655258</content>
<!--Optional:-->
<filename>?</filename>
</binary>
</ws:storeBinary>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/storeBinary"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="storeText" bindingOperationName="storeText" type="Request-Response" outputName="storeTextResponse" inputName="storeText" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings/><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/StorageServices</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:storeText>
<!--Optional:-->
<text>?</text>
</ws:storeText>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StorageService/storeText"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>

View File

@ -15,16 +15,10 @@
<jaxws:endpoint id="archiveservice"
implementor="net.brutex.xservices.ws.impl.ArchiveServiceImpl" address="/ArchiveService">
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="dateservice"
implementor="net.brutex.xservices.ws.impl.DateServiceImpl" address="/DateService">
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="fileservice"
@ -32,9 +26,6 @@
<jaxws:properties>
<entry key="mtom-enabled" value="false" />
</jaxws:properties>
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<!-- This is the MTOM enabled FileServices endpoint -->
@ -45,39 +36,24 @@
<entry key="attachment-directory" value="c:\temp" />
<entry key="attachment-memory-threshold" value="2000" />
</jaxws:properties>
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="executeservice"
implementor="net.brutex.xservices.ws.impl.ExecuteServiceImpl" address="/ExecuteService">
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="jobservice"
implementor="net.brutex.xservices.ws.impl.JobServiceImpl" address="/JobService">
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="miscservice"
implementor="net.brutex.xservices.ws.impl.MiscServiceImpl" address="/MiscService">
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="storageservice"
implementor="net.brutex.xservices.ws.impl.StorageServiceImpl" address="/StorageService">
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
<jaxws:endpoint id="storageservice2"
@ -87,8 +63,5 @@
<entry key="attachment-directory" value="c:\temp" />
<entry key="attachment-memory-threshold" value="2000" />
</jaxws:properties>
<jaxws:dataBinding>
<bean class="org.apache.cxf.aegis.databinding.AegisDatabinding" />
</jaxws:dataBinding>
</jaxws:endpoint>
</beans>