Added documentation for StringServices

git-svn-id: https://brutex.net/svn/xservices/trunk@88 e7e49efb-446e-492e-b9ec-fcafc1997a86
tag-20130205r
Brian Rosenberger 2012-06-03 11:25:47 +00:00
parent 42c1ab4090
commit ff7e682cf2
6 changed files with 585 additions and 442 deletions

View File

@ -61,6 +61,7 @@
<xi:include href="FileServices.xml" />
<xi:include href="MailServices.xml" />
<xi:include href="MiscServices.xml" />
<xi:include href="StringServices.xml" />
</chapter>
<chapter id="xmltypes">

10
doc/StringServices.xml Normal file
View File

@ -0,0 +1,10 @@
<?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="stringservices">
<title>StringServices</title>
<para>The StringService bundles various operations. Its WSDL is located at
http://server:port/XServices/StringService?wsdl</para>
<xi:include href="StringServices/replaceRegEx.xml" />
</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>replaceRegEx</title>
<para>Search and Replace using regular expression.
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:replaceRegEx>
<string>Hallo Welt</string>
<search>W.*</search>
<replace>Brian</replace>
<regexflags>ig</regexflags>
</ws:replaceRegEx>
</soapenv:Body>
</soapenv:Envelope>
]]></screen>
Sample response:
<programlisting language="xml"><![CDATA[
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/">
<soap:Body>
<ns2:replaceRegExResponse xmlns:ns2="http://ws.xservices.brutex.net">
<return>
<string>Hallo Brian</string>
<count>1</count>
</return>
</ns2:replaceRegExResponse>
</soap:Body>
</soap:Envelope>]]></programlisting>
</para>
<para>Allowed regexflags are case-insensitive (i) and global search (g).</para>
</section>

View File

@ -1,234 +1,234 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="JobServices" resourceRoot="" soapui-version="4.0.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="JobServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}JobServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/JobServices?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/JobServices?wsdl"><con:part><con:url>http://localhost:8080/XServices/JobServices?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="JobService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<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="deleteJob" type="tns:deleteJob"/>
<xs:element name="deleteJobResponse" type="tns:deleteJobResponse"/>
<xs:element name="getJob" type="tns:getJob"/>
<xs:element name="getJobResponse" type="tns:getJobResponse"/>
<xs:element name="getJobs" type="tns:getJobs"/>
<xs:element name="getJobsResponse" type="tns:getJobsResponse"/>
<xs:element name="getStatistics" type="tns:getStatistics"/>
<xs:element name="getStatisticsResponse" type="tns:getStatisticsResponse"/>
<xs:element name="scheduleJob" type="tns:scheduleJob"/>
<xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
<xs:complexType name="getJobs">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getJobsResponse">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="scheduledJob">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element minOccurs="0" name="description" type="xs:string"/>
<xs:element name="datetime" type="xs:dateTime"/>
<xs:element minOccurs="0" name="script" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getJob">
<xs:sequence>
<xs:element name="id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getJobResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getStatistics">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getStatisticsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:schedulerStatisticsType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="schedulerStatisticsType">
<xs:sequence>
<xs:element minOccurs="0" name="calendarNames">
<xs:simpleType>
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="executedJobs" type="xs:int"/>
<xs:element minOccurs="0" name="runningSince" type="tns:DateInfoType"/>
<xs:element name="threadPoolSize" type="xs:int"/>
<xs:element minOccurs="0" name="version" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DateInfoType">
<xs:sequence>
<xs:element minOccurs="0" name="iso8601date" type="xs:dateTime"/>
<xs:element minOccurs="0" name="rfc822date" type="xs:string"/>
<xs:element name="timestamp" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteJob">
<xs:sequence>
<xs:element name="id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteJobResponse">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="scheduleJob">
<xs:sequence>
<xs:element name="job" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="scheduleJobResponse">
<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="scheduleJob">
<wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobResponse">
<wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteJob">
<wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJob">
<wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobs">
<wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getStatisticsResponse">
<wsdl:part element="tns:getStatisticsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobsResponse">
<wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="scheduleJobResponse">
<wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteJobResponse">
<wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getStatistics">
<wsdl:part element="tns:getStatistics" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="JobService">
<wsdl:operation name="getJobs">
<wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
<wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
<wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getJob">
<wsdl:documentation>Get a job by id</wsdl:documentation>
<wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
<wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getStatistics">
<wsdl:documentation>Get scheduler statistics</wsdl:documentation>
<wsdl:input message="tns:getStatistics" name="getStatistics"></wsdl:input>
<wsdl:output message="tns:getStatisticsResponse" name="getStatisticsResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteJob">
<wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
<wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
<wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="scheduleJob">
<wsdl:documentation>Schedule a job</wsdl:documentation>
<wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
<wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getJobs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getJobs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getJobsResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getStatistics">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getStatistics">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getStatisticsResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="deleteJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="deleteJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="scheduleJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="scheduleJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="scheduleJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="JobService">
<wsdl:port binding="tns:JobServiceSoapBinding" name="JobServiceImplPort">
<soap:address location="http://localhost:8080/XServices/JobServices"/>
</wsdl:port>
</wsdl:service>
<con:soapui-project name="JobServices" resourceRoot="" soapui-version="4.0.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="JobServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}JobServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/JobServices?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/JobServices?wsdl"><con:part><con:url>http://localhost:8080/XServices/JobServices?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="JobService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<xs:schema attributeFormDefault="unqualified" elementFormDefault="unqualified" targetNamespace="http://ws.xservices.brutex.net" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:element name="deleteJob" type="tns:deleteJob"/>
<xs:element name="deleteJobResponse" type="tns:deleteJobResponse"/>
<xs:element name="getJob" type="tns:getJob"/>
<xs:element name="getJobResponse" type="tns:getJobResponse"/>
<xs:element name="getJobs" type="tns:getJobs"/>
<xs:element name="getJobsResponse" type="tns:getJobsResponse"/>
<xs:element name="getStatistics" type="tns:getStatistics"/>
<xs:element name="getStatisticsResponse" type="tns:getStatisticsResponse"/>
<xs:element name="scheduleJob" type="tns:scheduleJob"/>
<xs:element name="scheduleJobResponse" type="tns:scheduleJobResponse"/>
<xs:complexType name="getJobs">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getJobsResponse">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="return" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="scheduledJob">
<xs:sequence>
<xs:element name="name" type="xs:string"/>
<xs:element minOccurs="0" name="description" type="xs:string"/>
<xs:element name="datetime" type="xs:dateTime"/>
<xs:element minOccurs="0" name="script" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getJob">
<xs:sequence>
<xs:element name="id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getJobResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getStatistics">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getStatisticsResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:schedulerStatisticsType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="schedulerStatisticsType">
<xs:sequence>
<xs:element minOccurs="0" name="calendarNames">
<xs:simpleType>
<xs:list itemType="xs:string"/>
</xs:simpleType>
</xs:element>
<xs:element name="executedJobs" type="xs:int"/>
<xs:element minOccurs="0" name="runningSince" type="tns:DateInfoType"/>
<xs:element name="threadPoolSize" type="xs:int"/>
<xs:element minOccurs="0" name="version" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="DateInfoType">
<xs:sequence>
<xs:element minOccurs="0" name="iso8601date" type="xs:dateTime"/>
<xs:element minOccurs="0" name="rfc822date" type="xs:string"/>
<xs:element name="timestamp" type="xs:long"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteJob">
<xs:sequence>
<xs:element name="id" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="deleteJobResponse">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="scheduleJob">
<xs:sequence>
<xs:element name="job" type="tns:scheduledJob"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="scheduleJobResponse">
<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="scheduleJob">
<wsdl:part element="tns:scheduleJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobResponse">
<wsdl:part element="tns:getJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteJob">
<wsdl:part element="tns:deleteJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJob">
<wsdl:part element="tns:getJob" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobs">
<wsdl:part element="tns:getJobs" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getStatisticsResponse">
<wsdl:part element="tns:getStatisticsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getJobsResponse">
<wsdl:part element="tns:getJobsResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="scheduleJobResponse">
<wsdl:part element="tns:scheduleJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="deleteJobResponse">
<wsdl:part element="tns:deleteJobResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getStatistics">
<wsdl:part element="tns:getStatistics" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="JobService">
<wsdl:operation name="getJobs">
<wsdl:documentation>Get list of scheduled jobs</wsdl:documentation>
<wsdl:input message="tns:getJobs" name="getJobs"></wsdl:input>
<wsdl:output message="tns:getJobsResponse" name="getJobsResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getJob">
<wsdl:documentation>Get a job by id</wsdl:documentation>
<wsdl:input message="tns:getJob" name="getJob"></wsdl:input>
<wsdl:output message="tns:getJobResponse" name="getJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getStatistics">
<wsdl:documentation>Get scheduler statistics</wsdl:documentation>
<wsdl:input message="tns:getStatistics" name="getStatistics"></wsdl:input>
<wsdl:output message="tns:getStatisticsResponse" name="getStatisticsResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteJob">
<wsdl:documentation>Delete a scheduled job.</wsdl:documentation>
<wsdl:input message="tns:deleteJob" name="deleteJob"></wsdl:input>
<wsdl:output message="tns:deleteJobResponse" name="deleteJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
<wsdl:operation name="scheduleJob">
<wsdl:documentation>Schedule a job</wsdl:documentation>
<wsdl:input message="tns:scheduleJob" name="scheduleJob"></wsdl:input>
<wsdl:output message="tns:scheduleJobResponse" name="scheduleJobResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="JobServiceSoapBinding" type="tns:JobService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="getJobs">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getJobs">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getJobsResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="getStatistics">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getStatistics">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getStatisticsResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="deleteJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="deleteJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="deleteJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
<wsdl:operation name="scheduleJob">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="scheduleJob">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="scheduleJobResponse">
<soap:body use="literal"/>
</wsdl:output>
<wsdl:fault name="XServicesFault">
<soap:fault name="XServicesFault" use="literal"/>
</wsdl:fault>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="JobService">
<wsdl:port binding="tns:JobServiceSoapBinding" name="JobServiceImplPort">
<soap:address location="http://localhost:8080/XServices/JobServices"/>
</wsdl:port>
</wsdl:service>
</wsdl:definitions>]]></con:content><con:type>http://schemas.xmlsoap.org/wsdl/</con:type></con:part></con:definitionCache><con:endpoints><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="getJobs" bindingOperationName="getJobs" type="Request-Response" outputName="getJobsResponse" inputName="getJobs" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
@ -282,9 +282,9 @@ java.lang.System.out.println("hm")
<id>6b3da1f0-ff1c-4422-b2ce-17a6d1c2a990</id>
</ws:deleteJob>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/deleteJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getStatistics" bindingOperationName="getStatistics" type="Request-Response" outputName="getStatisticsResponse" inputName="getStatistics" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getStatistics/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/deleteJob"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="getStatistics" bindingOperationName="getStatistics" type="Request-Response" outputName="getStatisticsResponse" inputName="getStatistics" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:encoding>UTF-8</con:encoding><con:endpoint>http://localhost:8080/XServices/JobServices</con:endpoint><con:request><![CDATA[<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ws="http://ws.xservices.brutex.net">
<soapenv:Header/>
<soapenv:Body>
<ws:getStatistics/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/JobService/getStatistics"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>

View File

@ -1,211 +1,211 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="MiscService" resourceRoot="" soapui-version="4.0.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="MiscServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MiscServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/MiscService?WSDL"><con:part><con:url>http://localhost:8080/XServices/MiscService?WSDL</con:url><con:content><![CDATA[<wsdl:definitions name="MiscService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<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="getMemory" type="tns:getMemory"/>
<xs:element name="getMemoryResponse" type="tns:getMemoryResponse"/>
<xs:element name="sleep" type="tns:sleep"/>
<xs:element name="sleepResponse" type="tns:sleepResponse"/>
<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:hostinfoType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="hostinfoType">
<xs:sequence>
<xs:element minOccurs="0" name="domain" type="xs:string"/>
<xs:element minOccurs="0" name="ip4" type="xs:string"/>
<xs:element minOccurs="0" name="ip6" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getMemory">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getMemoryResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:runtimeInfoType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runtimeInfoType">
<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="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="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:schema>
</wsdl:types>
<wsdl:message name="sleepResponse">
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getMemory">
<wsdl:part element="tns:getMemory" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getMemoryResponse">
<wsdl:part element="tns:getMemoryResponse" 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="getInfo">
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleep">
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfoResponse">
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUID">
<wsdl:part element="tns:generateUUID" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUIDResponse">
<wsdl:part element="tns:generateUUIDResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="MiscService">
<wsdl:documentation>Various service operations.</wsdl:documentation>
<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="getMemory">
<wsdl:documentation>Get memory and processor information</wsdl:documentation>
<wsdl:input message="tns:getMemory" name="getMemory"></wsdl:input>
<wsdl:output message="tns:getMemoryResponse" name="getMemoryResponse"></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="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="getMemory">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getMemory">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getMemoryResponse">
<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>
<con:soapui-project name="MiscService" resourceRoot="" soapui-version="4.0.1" abortOnError="false" runType="SEQUENTIAL" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="MiscServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}MiscServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/MiscService?WSDL"><con:part><con:url>http://localhost:8080/XServices/MiscService?WSDL</con:url><con:content><![CDATA[<wsdl:definitions name="MiscService" targetNamespace="http://ws.xservices.brutex.net" xmlns:ns1="http://schemas.xmlsoap.org/soap/http" xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:tns="http://ws.xservices.brutex.net" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<wsdl:types>
<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="getMemory" type="tns:getMemory"/>
<xs:element name="getMemoryResponse" type="tns:getMemoryResponse"/>
<xs:element name="sleep" type="tns:sleep"/>
<xs:element name="sleepResponse" type="tns:sleepResponse"/>
<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:hostinfoType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="hostinfoType">
<xs:sequence>
<xs:element minOccurs="0" name="domain" type="xs:string"/>
<xs:element minOccurs="0" name="ip4" type="xs:string"/>
<xs:element minOccurs="0" name="ip6" type="xs:string"/>
<xs:element minOccurs="0" name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="getMemory">
<xs:sequence/>
</xs:complexType>
<xs:complexType name="getMemoryResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:runtimeInfoType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="runtimeInfoType">
<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="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="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:schema>
</wsdl:types>
<wsdl:message name="sleepResponse">
<wsdl:part element="tns:sleepResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getMemory">
<wsdl:part element="tns:getMemory" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getMemoryResponse">
<wsdl:part element="tns:getMemoryResponse" 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="getInfo">
<wsdl:part element="tns:getInfo" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="sleep">
<wsdl:part element="tns:sleep" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="getHostinfoResponse">
<wsdl:part element="tns:getHostinfoResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUID">
<wsdl:part element="tns:generateUUID" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="generateUUIDResponse">
<wsdl:part element="tns:generateUUIDResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:portType name="MiscService">
<wsdl:documentation>Various service operations.</wsdl:documentation>
<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="getMemory">
<wsdl:documentation>Get memory and processor information</wsdl:documentation>
<wsdl:input message="tns:getMemory" name="getMemory"></wsdl:input>
<wsdl:output message="tns:getMemoryResponse" name="getMemoryResponse"></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="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="getMemory">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="getMemory">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="getMemoryResponse">
<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:endpoints><con:operation isOneWay="false" action="" name="getHostinfo" bindingOperationName="getHostinfo" type="Request-Response" outputName="getHostinfoResponse" inputName="getHostinfo" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="sleep" bindingOperationName="sleep" type="Request-Response" outputName="sleepResponse" inputName="sleep" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="getInfo" bindingOperationName="getInfo" type="Request-Response" outputName="getInfoResponse" inputName="getInfo" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&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: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:operation><con:operation isOneWay="false" action="" name="getMemory" bindingOperationName="getMemory" type="Request-Response" outputName="getMemoryResponse" inputName="getMemory" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&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:getMemory/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/getInfo"/><con:wsrmConfig version="1.2"/></con:call></con:operation><con:operation isOneWay="false" action="" name="generateUUID" bindingOperationName="generateUUID" type="Request-Response" outputName="generateUUIDResponse" inputName="generateUUID" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/></con:operation><con:operation isOneWay="false" action="" name="getMemory" bindingOperationName="getMemory" type="Request-Response" outputName="getMemoryResponse" inputName="getMemory" receivesAttachments="false" sendsAttachments="false" anonymous="optional"><con:settings/><con:call name="Request 1"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&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:getMemory/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/MiscService/getMemory"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:testSuite name="Basic Call Tests"><con:settings/><con:runType>SEQUENTIAL</con:runType><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="true" maxResults="0" name="Pull WSDL" searchProperties="true" id="2048fa40-8ecb-484e-98ff-6c50df26f33b"><con:settings/><con:testStep type="httprequest" name="http://localhost:8080/XServices/MiscService?WSDL"><con:settings/><con:config method="GET" xsi:type="con:HttpRequest" name="http://localhost:8080/XServices/MiscService?WSDL" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&lt;xml-fragment/></con:setting></con:settings><con:endpoint>http://localhost:8080/XServices/MiscService?WSDL</con:endpoint><con:request/><con:assertion type="HTTP Download all resources" name="HTTP Download all resources"/><con:assertion type="Response SLA Assertion" name="Response SLA"><con:configuration><SLA>200</SLA></con:configuration></con:assertion><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:parameters/></con:config></con:testStep><con:properties/></con:testCase><con:testCase failOnError="true" failTestCaseOnErrors="true" keepSession="false" maxResults="0" name="getHostInfo" searchProperties="true" id="056daaec-9b00-4484-9326-f1f83de86500"><con:settings/><con:testStep type="request" name="getHostInfo-localhost"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getHostinfo</con:operation><con:request name="getHostInfo-localhost"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&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>
@ -272,9 +272,9 @@
<seconds>32</seconds>
</ws:sleep>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMemory"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getMemory</con:operation><con:request name="getMemory"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&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:getMemory/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:testStep type="request" name="getMemory"><con:settings/><con:config xsi:type="con:RequestStep" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:interface>MiscServiceSoapBinding</con:interface><con:operation>getMemory</con:operation><con:request name="getMemory"><con:settings><con:setting id="com.eviware.soapui.impl.wsdl.WsdlRequest@request-headers">&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:getMemory/>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:assertion type="SOAP Response"/><con:assertion type="Schema Compliance"><con:configuration/></con:assertion><con:assertion type="SOAP Fault Assertion"/><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508"/><con:wsrmConfig version="1.2"/></con:request></con:config></con:testStep><con:properties/></con:testCase><con:properties/></con:testSuite><con:properties/><con:wssContainer/></con:soapui-project>

View File

@ -0,0 +1,93 @@
<?xml version="1.0" encoding="UTF-8"?>
<con:soapui-project name="StringService" resourceRoot="" soapui-version="4.0.1" xmlns:con="http://eviware.com/soapui/config"><con:settings/><con:interface xsi:type="con:WsdlInterface" wsaVersion="NONE" name="StringServiceSoapBinding" type="wsdl" bindingName="{http://ws.xservices.brutex.net}StringServiceSoapBinding" soapVersion="1_1" anonymous="optional" definition="http://localhost:8080/XServices/StringService?wsdl" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"><con:settings/><con:definitionCache type="TEXT" rootPart="http://localhost:8080/XServices/StringService?wsdl"><con:part><con:url>http://localhost:8080/XServices/StringService?wsdl</con:url><con:content><![CDATA[<wsdl:definitions name="StringService" 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="replaceRegEx" type="tns:replaceRegEx"/>
<xs:element name="replaceRegExResponse" type="tns:replaceRegExResponse"/>
<xs:complexType name="replaceRegEx">
<xs:sequence>
<xs:element minOccurs="0" name="string" type="xs:string"/>
<xs:element minOccurs="0" name="search" type="xs:string"/>
<xs:element minOccurs="0" name="replace" type="xs:string"/>
<xs:element minOccurs="0" name="regexflags" type="xs:string"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="replaceRegExResponse">
<xs:sequence>
<xs:element minOccurs="0" name="return" type="tns:stringReplaceType"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="stringReplaceType">
<xs:sequence>
<xs:element minOccurs="0" name="string" type="xs:string"/>
<xs:element name="count" type="xs:int"/>
</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="replaceRegExResponse">
<wsdl:part element="tns:replaceRegExResponse" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="replaceRegEx">
<wsdl:part element="tns:replaceRegEx" name="parameters"></wsdl:part>
</wsdl:message>
<wsdl:message name="XServicesFault">
<wsdl:part element="tns:XServicesFault" name="XServicesFault"></wsdl:part>
</wsdl:message>
<wsdl:portType name="StringService">
<wsdl:operation name="replaceRegEx">
<wsdl:documentation>Store text based data</wsdl:documentation>
<wsdl:input message="tns:replaceRegEx" name="replaceRegEx"></wsdl:input>
<wsdl:output message="tns:replaceRegExResponse" name="replaceRegExResponse"></wsdl:output>
<wsdl:fault message="tns:XServicesFault" name="XServicesFault"></wsdl:fault>
</wsdl:operation>
</wsdl:portType>
<wsdl:binding name="StringServiceSoapBinding" type="tns:StringService">
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
<wsdl:operation name="replaceRegEx">
<soap:operation soapAction="" style="document"/>
<wsdl:input name="replaceRegEx">
<soap:body use="literal"/>
</wsdl:input>
<wsdl:output name="replaceRegExResponse">
<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="StringService">
<wsdl:port binding="tns:StringServiceSoapBinding" name="StringServiceImplPort">
<soap:address location="http://localhost:8080/XServices/StringService"/>
</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/StringService</con:endpoint></con:endpoints><con:operation isOneWay="false" action="" name="replaceRegEx" bindingOperationName="replaceRegEx" type="Request-Response" outputName="replaceRegExResponse" inputName="replaceRegEx" 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/StringService</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:replaceRegEx>
<!--Optional:-->
<string>Hallo Welt und ups
da war grad der
Zeilenumbruch</string>
<!--Optional:-->
<search>^H</search>
<!--Optional:-->
<replace></replace>
<!--Optional:-->
<regexflags>ig</regexflags>
</ws:replaceRegEx>
</soapenv:Body>
</soapenv:Envelope>]]></con:request><con:jmsConfig JMSDeliveryMode="PERSISTENT"/><con:jmsPropertyConfig/><con:wsaConfig mustUnderstand="NONE" version="200508" action="http://ws.xservices.brutex.net/StringService/replaceRegEx"/><con:wsrmConfig version="1.2"/></con:call></con:operation></con:interface><con:properties/><con:wssContainer/></con:soapui-project>