Subversion Repositories XServices

Compare Revisions

No changes between revisions

Regard whitespace Rev 94 → Rev 122

/xservices/trunk/test/DateService-soapui-project.xml
637,11 → 637,11
<soapenv:Header/>
<soapenv:Body>
<ws:dateTimeDiff>
<ws:fromDateTime>2011-05-24T19:59:29+02:00</ws:fromDateTime>
<ws:toDateTime>2012-05-24T19:59:34+03:00</ws:toDateTime>
<fromDateTime>2012-06-06T08:45:00+01:00</fromDateTime>
<toDateTime>2012-06-06T08:23:00+01:00</toDateTime>
</ws:dateTimeDiff>
</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/dateTimeDiff"/><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/DateService</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:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff"/><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/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:dateTimeDiff>
649,15 → 649,17
<toDateTime>2012-06-06T08:45:00+01:00</toDateTime>
</ws:dateTimeDiff>
</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/dateTimeDiff"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateTimeDiff2" bindingOperationName="dateTimeDiff2" type="Request-Response" outputName="dateTimeDiff2Response" inputName="dateTimeDiff2" 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:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateTimeDiff2" bindingOperationName="dateTimeDiff2" type="Request-Response" outputName="dateTimeDiff2Response" inputName="dateTimeDiff2" 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:dateTimeDiff2>
<fromDateTime>2012-05-24T19:59:29.233+02:00</fromDateTime>
<toDateTime>2011-06-24T21:01:59.234+02:00</toDateTime>
<!--Optional:-->
<unit>years</unit>
</ws:dateTimeDiff2>
</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/dateTimeDiff2"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateAdd" bindingOperationName="dateAdd" type="Request-Response" outputName="dateAddResponse" inputName="dateAdd" 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:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/DateService/dateTimeDiff2"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="dateAdd" bindingOperationName="dateAdd" type="Request-Response" outputName="dateAddResponse" inputName="dateAdd" 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:dateAdd>
/xservices/trunk/test/XmlServices-soapui-project.xml
0,0 → 1,190
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project activeEnvironment="Default" name="XmlServices" resourceRoot="" soapui-version="4.5.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="XmlServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}XmlServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/XmlService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/XmlService?wsdl"><con:part><con:url>http://localhost:8080/XServices/XmlService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="XmlService" 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="appendTo" type="tns:appendTo"/>
<xs:element name="appendToResponse" type="tns:appendToResponse"/>
<xs:element name="namespaceListType" type="tns:namespaceListType"/>
<xs:element name="replaceNode" type="tns:replaceNode"/>
<xs:element name="replaceNodeResponse" type="tns:replaceNodeResponse"/>
<xs:complexType name="appendTo">
<xs:sequence>
<xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
<xs:element minOccurs="0" name="xpath" type="xs:string"/>
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="FileResourceType">
<xs:sequence>
<xs:element default="FILE" name="type" type="tns:type"/>
<xs:element name="uri" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="namespaceListType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="namespace" type="tns:namespaceType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="namespaceType">
<xs:sequence>
<xs:element minOccurs="0" name="prefix" type="xs:string"/>
<xs:element minOccurs="0" name="uri" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="appendToResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="replaceNode">
<xs:sequence>
<xs:element minOccurs="0" name="file" type="tns:FileResourceType"/>
<xs:element minOccurs="0" name="namespaceList" type="tns:namespaceListType"/>
<xs:element minOccurs="0" name="xpath" type="xs:string"/>
<xs:element minOccurs="0" name="xmldata" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="replaceNodeResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:simpleType name="type">
<xs:restriction base="xs:string">
<xs:enumeration value="FILE"/>
<xs:enumeration value="URL"/>
<xs:enumeration value="GZIP"/>
<xs:enumeration value="BZIP2"/>
</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="appendTo">
<wsdl:part element="tns:appendTo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="replaceNodeResponse">
<wsdl:part element="tns:replaceNodeResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="replaceNode">
<wsdl:part element="tns:replaceNode" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="appendToResponse">
<wsdl:part element="tns:appendToResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="XmlService">
<wsdl:operation name="appendTo">
<wsdl:documentation>Appends an XML node to all elements matched by the Xpath expression.</wsdl:documentation>
<wsdl:input message="tns:appendTo" name="appendTo"></wsdl:input>
<wsdl:output message="tns:appendToResponse" name="appendToResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="replaceNode">
<wsdl:documentation>Replace an XML node matched by the Xpath expression.</wsdl:documentation>
<wsdl:input message="tns:replaceNode" name="replaceNode"></wsdl:input>
<wsdl:output message="tns:replaceNodeResponse" name="replaceNodeResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="XmlServiceSoapBinding" type="tns:XmlService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="appendTo">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="appendTo">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="appendToResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="replaceNode">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="replaceNode">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="replaceNodeResponse">
<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="XmlService">
<wsdl:port binding="tns:XmlServiceSoapBinding" name="XmlServiceImplPort">
<soap:address location="http://localhost:8080/XServices/XmlService"/>
</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/XmlService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="appendTo" bindingOperationName="appendTo" type="Request-Response" outputName="appendToResponse" inputName="appendTo" 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/XmlService</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:appendTo>
<file>
<type>FILE</type>
<uri>c:/TEMP/test-the-best.chr</uri>
</file>
<namespaceList>
<!-- in order to use xpath you must define namespace correctly.
If there is only a default Namespace defined, it must be specified
as well. Note that the "null" namespace and "" namespaces are treated
different.
-->
<!--Zero or more repetitions:-->
<namespace>
<prefix>zz</prefix>
<uri/>
</namespace>
</namespaceList>
<!--
Search for <document><property></property></document>
-->
<xpath>/zz:document/zz:property</xpath>
<!--
The XML to append into the matched element.
You must specify a valid XML fragment.
-->
<xmldata><![CDATA[ <blub id="some_attr">Viel Neues</blub>text1<blubber/>text2]]]]>><![CDATA[</xmldata>
</ws:appendTo>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/XmlService/appendTo"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="replaceNode" bindingOperationName="replaceNode" type="Request-Response" outputName="replaceNodeResponse" inputName="replaceNode" 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/XmlService</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:replaceNode>
<!--Optional:-->
<file>
<type>FILE</type>
<uri>c:/TEMP/test-the-best.chr</uri>
</file>
<!--Optional:-->
<namespaceList>
<!--Zero or more repetitions:-->
<namespace>
<!--Optional:-->
<prefix>zz</prefix>
<!--Optional:-->
<uri></uri>
</namespace>
</namespaceList>
<!--Optional:-->
<xpath>/zz:document/zz:property[@name="current_problem"]</xpath>
<!--Optional:-->
<xmldata><![CDATA[ <blub>Viel Neues</blub>Auch &lt; text]]]]>><![CDATA[</xmldata>
</ws:replaceNode>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:credentials><con:authType>Global HTTP Settings</con:authType></con:credentials><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/XmlService/replaceNode"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>
Property changes:
Added: svn:mime-type
+text/plain
\ No newline at end of property