Added new DateService
git-svn-id: https://brutex.net/svn/xservices/trunk@67 e7e49efb-446e-492e-b9ec-fcafc1997a86tag-20130205r
parent
44f01bfd90
commit
c72e7a9ae6
|
@ -154,6 +154,12 @@
|
|||
located at
|
||||
http://server:port/XServices/ArchiveService?wsdl</para>
|
||||
</section>
|
||||
<section id="dateservices" version="5.0" xml:base="DateServices.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<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>
|
||||
|
||||
</section>
|
||||
<section id="executeservices" version="5.0" xml:base="ExecuteServices.xml" xmlns="http://docbook.org/ns/docbook" xmlns:xi="http://www.w3.org/2001/XInclude">
|
||||
<title>ExecuteServices</title>
|
||||
<para>The ExecuteService bundles local and remote command
|
||||
|
|
|
@ -42,6 +42,7 @@
|
|||
<title>Available Services</title>
|
||||
<para>List of available web services and their operations.</para>
|
||||
<xi:include href="ArchiveServices.xml" />
|
||||
<xi:include href="DateServices.xml" />
|
||||
<xi:include href="ExecuteServices.xml" />
|
||||
<xi:include href="FileServices.xml" />
|
||||
<xi:include href="MiscServices.xml" />
|
||||
|
|
|
@ -0,0 +1,9 @@
|
|||
<?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">
|
||||
<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>
|
||||
|
||||
</section>
|
|
@ -0,0 +1,347 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<con:soapui-project name="DateService" 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="DateServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}DateServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/DateService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/DateService?wsdl"><con:part><con:url>http://localhost:8080/XServices/DateService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="DateService" 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:documentation>/*
|
||||
* Copyright 2010 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.
|
||||
*/</wsdl:documentation>
|
||||
<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="formatDate" type="tns:formatDate"/>
|
||||
<xs:element name="formatDateAdvanced" type="tns:formatDateAdvanced"/>
|
||||
<xs:element name="formatDateAdvancedResponse" type="tns:formatDateAdvancedResponse"/>
|
||||
<xs:element name="formatDateResponse" type="tns:formatDateResponse"/>
|
||||
<xs:element name="getDate" type="tns:getDate"/>
|
||||
<xs:element name="getDateResponse" type="tns:getDateResponse"/>
|
||||
<xs:element name="getInTimezone" type="tns:getInTimezone"/>
|
||||
<xs:element name="getInTimezoneResponse" type="tns:getInTimezoneResponse"/>
|
||||
<xs:element name="getTimestamp" type="tns:getTimestamp"/>
|
||||
<xs:element name="getTimestampResponse" type="tns:getTimestampResponse"/>
|
||||
<xs:element name="parseDate" type="tns:parseDate"/>
|
||||
<xs:element name="parseDateAdvanced" type="tns:parseDateAdvanced"/>
|
||||
<xs:element name="parseDateAdvancedResponse" type="tns:parseDateAdvancedResponse"/>
|
||||
<xs:element name="parseDateResponse" type="tns:parseDateResponse"/>
|
||||
<xs:complexType name="getDate">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="timezone" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="getDateResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:dateTime"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="getInTimezone">
|
||||
<xs:sequence>
|
||||
<xs:element name="datetime" type="xs:dateTime"/>
|
||||
<xs:element name="timezone" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="getInTimezoneResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:dateTime"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="formatDate">
|
||||
<xs:sequence>
|
||||
<xs:element name="datetime" type="xs:dateTime"/>
|
||||
<xs:element name="format" type="tns:dateFormatType"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="formatDateResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="formatDateAdvanced">
|
||||
<xs:sequence>
|
||||
<xs:element name="datetime" type="xs:dateTime"/>
|
||||
<xs:element name="format" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="formatDateAdvancedResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="parseDate">
|
||||
<xs:sequence>
|
||||
<xs:element name="datetime" type="xs:string"/>
|
||||
<xs:element name="format" type="tns:dateFormatType"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="parseDateResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:dateTime"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="parseDateAdvanced">
|
||||
<xs:sequence>
|
||||
<xs:element name="datetime" type="xs:string"/>
|
||||
<xs:element name="format" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="parseDateAdvancedResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:dateTime"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="getTimestamp">
|
||||
<xs:sequence/>
|
||||
</xs:complexType>
|
||||
<xs:complexType name="getTimestampResponse">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="return" type="xs:integer"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
<xs:simpleType name="dateFormatType">
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="ISO 8601"/>
|
||||
<xs:enumeration value="yyyy/mm/dd"/>
|
||||
<xs:enumeration value="dd.mm.yyyy"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
<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="getDate">
|
||||
<wsdl:part element="tns:getDate" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getTimestamp">
|
||||
<wsdl:part element="tns:getTimestamp" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="formatDateAdvanced">
|
||||
<wsdl:part element="tns:formatDateAdvanced" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="parseDateAdvancedResponse">
|
||||
<wsdl:part element="tns:parseDateAdvancedResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getDateResponse">
|
||||
<wsdl:part element="tns:getDateResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="formatDateAdvancedResponse">
|
||||
<wsdl:part element="tns:formatDateAdvancedResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="parseDateResponse">
|
||||
<wsdl:part element="tns:parseDateResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="parseDate">
|
||||
<wsdl:part element="tns:parseDate" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getInTimezoneResponse">
|
||||
<wsdl:part element="tns:getInTimezoneResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="parseDateAdvanced">
|
||||
<wsdl:part element="tns:parseDateAdvanced" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="XServicesFault">
|
||||
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="formatDate">
|
||||
<wsdl:part element="tns:formatDate" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="formatDateResponse">
|
||||
<wsdl:part element="tns:formatDateResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getTimestampResponse">
|
||||
<wsdl:part element="tns:getTimestampResponse" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:message name="getInTimezone">
|
||||
<wsdl:part element="tns:getInTimezone" name="parameters"></wsdl:part>
|
||||
</wsdl:message>
|
||||
<wsdl:portType name="DateService">
|
||||
<wsdl:operation name="getDate">
|
||||
<wsdl:input message="tns:getDate" name="getDate"></wsdl:input>
|
||||
<wsdl:output message="tns:getDateResponse" name="getDateResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getInTimezone">
|
||||
<wsdl:input message="tns:getInTimezone" name="getInTimezone"></wsdl:input>
|
||||
<wsdl:output message="tns:getInTimezoneResponse" name="getInTimezoneResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="formatDate">
|
||||
<wsdl:input message="tns:formatDate" name="formatDate"></wsdl:input>
|
||||
<wsdl:output message="tns:formatDateResponse" name="formatDateResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="formatDateAdvanced">
|
||||
<wsdl:input message="tns:formatDateAdvanced" name="formatDateAdvanced"></wsdl:input>
|
||||
<wsdl:output message="tns:formatDateAdvancedResponse" name="formatDateAdvancedResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="parseDate">
|
||||
<wsdl:input message="tns:parseDate" name="parseDate"></wsdl:input>
|
||||
<wsdl:output message="tns:parseDateResponse" name="parseDateResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="parseDateAdvanced">
|
||||
<wsdl:input message="tns:parseDateAdvanced" name="parseDateAdvanced"></wsdl:input>
|
||||
<wsdl:output message="tns:parseDateAdvancedResponse" name="parseDateAdvancedResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getTimestamp">
|
||||
<wsdl:input message="tns:getTimestamp" name="getTimestamp"></wsdl:input>
|
||||
<wsdl:output message="tns:getTimestampResponse" name="getTimestampResponse"></wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:portType>
|
||||
<wsdl:binding name="DateServiceSoapBinding" type="tns:DateService">
|
||||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
|
||||
<wsdl:operation name="getDate">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="getDate">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="getDateResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getInTimezone">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="getInTimezone">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="getInTimezoneResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="formatDate">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="formatDate">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="formatDateResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="formatDateAdvanced">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="formatDateAdvanced">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="formatDateAdvancedResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="parseDate">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="parseDate">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="parseDateResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="parseDateAdvanced">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="parseDateAdvanced">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="parseDateAdvancedResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="getTimestamp">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
<wsdl:input name="getTimestamp">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:input>
|
||||
<wsdl:output name="getTimestampResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
</wsdl:operation>
|
||||
</wsdl:binding>
|
||||
<wsdl:service name="DateService">
|
||||
<wsdl:port binding="tns:DateServiceSoapBinding" name="DateServiceImplPort">
|
||||
<soap:address location="http://localhost:8080/XServices/DateService"/>
|
||||
</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/DateService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getDate" bindingOperationName="getDate" type="Request-Response" outputName="getDateResponse" inputName="getDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</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:getDate>
|
||||
</ws:getDate>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getTimestamp" bindingOperationName="getTimestamp" type="Request-Response" outputName="getTimestampResponse" inputName="getTimestamp" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</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:getTimestamp/>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getTimestamp"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getInTimezone" bindingOperationName="getInTimezone" type="Request-Response" outputName="getInTimezoneResponse" inputName="getInTimezone" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</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:getInTimezone>
|
||||
<datetime>2011-05-30T16:05:36-11:00</datetime>
|
||||
<timezone>Europe/Amsterdam</timezone>
|
||||
</ws:getInTimezone>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/getInTimezone"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="formatDate" bindingOperationName="formatDate" type="Request-Response" outputName="formatDateResponse" inputName="formatDate" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</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:formatDate>
|
||||
<datetime>2010-06-15Z</datetime>
|
||||
<format>ISO 8601</format>
|
||||
</ws:formatDate>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/formatDate"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="formatDateAdvanced" bindingOperationName="formatDateAdvanced" type="Request-Response" outputName="formatDateAdvancedResponse" inputName="formatDateAdvanced" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/DateService</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:formatDateAdvanced>
|
||||
<datetime>2011-05-24T17:22:42+02:00</datetime>
|
||||
<format>mmddyyyy-WW</format>
|
||||
</ws:formatDateAdvanced>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/formatDateAdvanced"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="parseDate" bindingOperationName="parseDate" type="Request-Response" outputName="parseDateResponse" inputName="parseDate" 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/DateService</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:parseDate>
|
||||
<datetime>?</datetime>
|
||||
<format>?</format>
|
||||
</ws:parseDate>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/parseDate"/></con:call></con:operation><con:operation isOneWay="false" action="" name="parseDateAdvanced" bindingOperationName="parseDateAdvanced" type="Request-Response" outputName="parseDateAdvancedResponse" inputName="parseDateAdvanced" 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/DateService</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:parseDateAdvanced>
|
||||
<datetime>?</datetime>
|
||||
<format>?</format>
|
||||
</ws:parseDateAdvanced>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/parseDateAdvanced"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>
|
|
@ -1,5 +1,5 @@
|
|||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<con:soapui-project name="FileServices" soapui-version="3.6.1" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="FileServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}FileServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/FileService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/FileService?wsdl"><con:part><con:url>http://localhost:8080/XServices/FileService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="FileService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
|
||||
<con:soapui-project name="FileServices" 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="FileServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}FileServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/FileService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/FileService?wsdl"><con:part><con:url>http://localhost:8080/XServices/FileService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="FileService" 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:documentation>/*
|
||||
* Copyright 2010 Brian Rosenberger (Brutex Network)
|
||||
*
|
||||
|
@ -228,7 +228,7 @@
|
|||
</xs:complexType>
|
||||
<xs:complexType name="loadResource">
|
||||
<xs:sequence>
|
||||
<xs:element minOccurs="0" name="resource" type="tns:FileResourceType"/>
|
||||
<xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
|
||||
<xs:element minOccurs="0" name="encoding" type="xs:string"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
@ -307,6 +307,7 @@
|
|||
<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"/>
|
||||
|
@ -407,8 +408,10 @@
|
|||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="replaceInFileRegEx">
|
||||
<wsdl:documentation>Replaces every <regex pattern> with a string in an ascii file</wsdl:documentation>
|
||||
<wsdl:input message="tns:replaceInFileRegEx" name="replaceInFileRegEx"></wsdl:input>
|
||||
<wsdl:output message="tns:replaceInFileRegExResponse" name="replaceInFileRegExResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="changeMode">
|
||||
<wsdl:input message="tns:changeMode" name="changeMode"></wsdl:input>
|
||||
|
@ -435,8 +438,10 @@
|
|||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="replaceInFile2">
|
||||
<wsdl:documentation>Replaces every <pattern> with a string in an ascii file</wsdl:documentation>
|
||||
<wsdl:input message="tns:replaceInFile2" name="replaceInFile2"></wsdl:input>
|
||||
<wsdl:output message="tns:replaceInFile2Response" name="replaceInFile2Response"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="copy">
|
||||
<wsdl:documentation>Copies a fileset locally on the server.</wsdl:documentation>
|
||||
|
@ -445,8 +450,10 @@
|
|||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="replaceInFile">
|
||||
<wsdl:documentation>Replaces every <pattern> with a string in an ascii file</wsdl:documentation>
|
||||
<wsdl:input message="tns:replaceInFile" name="replaceInFile"></wsdl:input>
|
||||
<wsdl:output message="tns:replaceInFileResponse" name="replaceInFileResponse"></wsdl:output>
|
||||
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="loadResource">
|
||||
<wsdl:documentation>Load the content of a resource</wsdl:documentation>
|
||||
|
@ -503,6 +510,9 @@
|
|||
<wsdl:output name="replaceInFileRegExResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="changeOwner">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
|
@ -542,6 +552,9 @@
|
|||
<wsdl:output name="replaceInFile2Response">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="uploadFile">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
|
@ -575,6 +588,9 @@
|
|||
<wsdl:output name="replaceInFileResponse">
|
||||
<soap:body use="literal"/>
|
||||
</wsdl:output>
|
||||
<wsdl:fault name="XServicesFault">
|
||||
<soap:fault name="XServicesFault" use="literal"/>
|
||||
</wsdl:fault>
|
||||
</wsdl:operation>
|
||||
<wsdl:operation name="loadResource">
|
||||
<soap:operation soapAction="" style="document"/>
|
||||
|
@ -636,7 +652,7 @@
|
|||
<suffix>?</suffix>
|
||||
</ws:basename>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/basename"/></con:call></con:operation><con:operation isOneWay="false" action="" name="changeGroup" bindingOperationName="changeGroup" type="Request-Response" outputName="changeGroupResponse" inputName="changeGroup" 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/FileService</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/FileService/basename"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="changeGroup" bindingOperationName="changeGroup" type="Request-Response" outputName="changeGroupResponse" inputName="changeGroup" 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/FileService</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:changeGroup>
|
||||
|
@ -779,18 +795,18 @@
|
|||
</file>
|
||||
</ws:downloadFile>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/downloadFile"/></con:call></con:operation><con:operation isOneWay="false" action="" name="echoToFile" bindingOperationName="echoToFile" type="Request-Response" outputName="echoToFileResponse" inputName="echoToFile" 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/FileService</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:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/downloadFile"/></con:call></con:operation><con:operation isOneWay="false" action="" name="echoToFile" bindingOperationName="echoToFile" type="Request-Response" outputName="echoToFileResponse" inputName="echoToFile" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers"><xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/FileService</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:echoToFile>
|
||||
<message>?</message>
|
||||
<file>?</file>
|
||||
<message>Here is some text with german umlauts (äöü).</message>
|
||||
<file>c:/temp/somefile.txt</file>
|
||||
<!--Optional:-->
|
||||
<encoding>?</encoding>
|
||||
<append>?</append>
|
||||
<encoding>utf-8</encoding>
|
||||
<append>false</append>
|
||||
</ws:echoToFile>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/echoToFile"/></con:call></con:operation><con:operation isOneWay="false" action="" name="loadResource" bindingOperationName="loadResource" type="Request-Response" outputName="loadResourceResponse" inputName="loadResource" 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/FileService</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/FileService/echoToFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="loadResource" bindingOperationName="loadResource" type="Request-Response" outputName="loadResourceResponse" inputName="loadResource" 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/FileService</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:loadResource>
|
||||
|
@ -829,7 +845,7 @@
|
|||
<replace>?</replace>
|
||||
</ws:replaceInFile>
|
||||
</soapenv:Body>
|
||||
</soapenv:Envelope>]]></con:request><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/FileService/replaceInFile"/></con:call></con:operation><con:operation isOneWay="false" action="" name="replaceInFile2" bindingOperationName="replaceInFile2" type="Request-Response" outputName="replaceInFile2Response" inputName="replaceInFile2" 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/FileService</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/FileService/replaceInFile"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="replaceInFile2" bindingOperationName="replaceInFile2" type="Request-Response" outputName="replaceInFile2Response" inputName="replaceInFile2" 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/FileService</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:replaceInFile2>
|
||||
|
|
|
@ -17,6 +17,9 @@
|
|||
<jaxws:endpoint id="archiveservice"
|
||||
implementor="net.brutex.xservices.ws.impl.ArchiveServiceImpl" address="/ArchiveService" />
|
||||
|
||||
<jaxws:endpoint id="dateservice"
|
||||
implementor="net.brutex.xservices.ws.impl.DateServiceImpl" address="/DateService" />
|
||||
|
||||
<jaxws:endpoint id="fileservice"
|
||||
implementor="net.brutex.xservices.ws.impl.FileServiceImpl" address="/FileService">
|
||||
<jaxws:properties>
|
||||
|
|
Loading…
Reference in New Issue