XServices/test/DateService-soapui-project.xml

347 lines
22 KiB
XML

<?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">&lt;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">&lt;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">&lt;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">&lt;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">&lt;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>