From c72e7a9ae6d4aea7540dd49d7005bd0ed2a1fcbb Mon Sep 17 00:00:00 2001 From: Brian Rosenberger Date: Wed, 25 May 2011 11:55:09 +0000 Subject: [PATCH] Added new DateService git-svn-id: https://brutex.net/svn/xservices/trunk@67 e7e49efb-446e-492e-b9ec-fcafc1997a86 --- doc/BruteXServices_User_Guide.dbk | 6 + doc/BruteXServices_User_Guide.xml | 1 + doc/DateServices.xml | 9 + test/DateService-soapui-project.xml | 347 ++++++ test/FileService-soapui-project.xml | 1738 ++++++++++++++------------- web/WEB-INF/cxf-beans.xml | 3 + 6 files changed, 1243 insertions(+), 861 deletions(-) create mode 100644 doc/DateServices.xml create mode 100644 test/DateService-soapui-project.xml diff --git a/doc/BruteXServices_User_Guide.dbk b/doc/BruteXServices_User_Guide.dbk index 17fb2d2..e6db149 100644 --- a/doc/BruteXServices_User_Guide.dbk +++ b/doc/BruteXServices_User_Guide.dbk @@ -154,6 +154,12 @@ located at http://server:port/XServices/ArchiveService?wsdl +
+ DateServices + The DateService bundles various date and time related operations. Its WSDL is located at + http://server:port/XServices/DateService?wsdl + +
ExecuteServices The ExecuteService bundles local and remote command diff --git a/doc/BruteXServices_User_Guide.xml b/doc/BruteXServices_User_Guide.xml index e192fb3..949245b 100644 --- a/doc/BruteXServices_User_Guide.xml +++ b/doc/BruteXServices_User_Guide.xml @@ -42,6 +42,7 @@ Available Services List of available web services and their operations. + diff --git a/doc/DateServices.xml b/doc/DateServices.xml new file mode 100644 index 0000000..13dd6ab --- /dev/null +++ b/doc/DateServices.xml @@ -0,0 +1,9 @@ + +
+ DateServices + The DateService bundles various date and time related operations. Its WSDL is located at + http://server:port/XServices/DateService?wsdl + +
\ No newline at end of file diff --git a/test/DateService-soapui-project.xml b/test/DateService-soapui-project.xml new file mode 100644 index 0000000..2b31dc5 --- /dev/null +++ b/test/DateService-soapui-project.xml @@ -0,0 +1,347 @@ + +http://localhost:8080/XServices/DateService?wsdl + /* +* 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. +*/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://schemas.xmlsoap.org/wsdl/http://localhost:8080/XServices/DateService<xml-fragment/>UTF-8http://localhost:8080/XServices/DateService + + + + + +]]><xml-fragment/>UTF-8http://localhost:8080/XServices/DateService + + + + +]]><xml-fragment/>UTF-8http://localhost:8080/XServices/DateService + + + + 2011-05-30T16:05:36-11:00 + Europe/Amsterdam + + +]]><xml-fragment/>UTF-8http://localhost:8080/XServices/DateService + + + + 2010-06-15Z + ISO 8601 + + +]]><xml-fragment/>UTF-8http://localhost:8080/XServices/DateService + + + + 2011-05-24T17:22:42+02:00 + mmddyyyy-WW + + +]]>UTF-8http://localhost:8080/XServices/DateService + + + + ? + ? + + +]]>UTF-8http://localhost:8080/XServices/DateService + + + + ? + ? + + +]]> \ No newline at end of file diff --git a/test/FileService-soapui-project.xml b/test/FileService-soapui-project.xml index 64827c5..276d946 100644 --- a/test/FileService-soapui-project.xml +++ b/test/FileService-soapui-project.xml @@ -1,5 +1,5 @@ -http://localhost:8080/XServices/FileService?wsdl +http://localhost:8080/XServices/FileService?wsdl /* * Copyright 2010 Brian Rosenberger (Brutex Network) * @@ -14,864 +14,880 @@ * 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. -*/ - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - Download a file from the maschine where the service is running in order to process it with the client. The file is either downloaded as a MTOM attachment or as inline base64 encoded block. Keep in mind that unless you are using MTOM, a lot of java heap memory is used. - - - - - - - - - - - - - - - - - - - - - - Write or append a string to a file - - - - - - Send a file from client to web service server using either MTOM attachment or base64 inline attachment. - - - - - - - - - - Copies a fileset locally on the server. - - - - - - - - - - Load the content of a resource - - - - - - The base name of the given file excluding the suffix. - - - - - Load the content of a resource - - - - - - Copies a single file locally on the server - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -]]>http://schemas.xmlsoap.org/wsdl/http://localhost:8080/XServices/FileServiceUTF-8http://localhost:8080/XServices/FileService - - - - ? - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILES - ? - - - **/* - - ? - - - - - ? - true - false - - - - - - true - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILES - ? - - - **/* - - ? - - - - - ? - true - false - - - - - - true - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILES - ? - - - **/* - - ? - - - - - ? - true - false - - - - - - true - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - FILES - ? - - - **/* - - ? - - - - - ? - true - false - - - - - - true - - ? - ? - ? - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - ? - ? - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILE - ? - - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - ? - ? - - ? - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILE - ? - - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - ZIP - ? - ? - - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - FILE - ? - - ? - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILE - ? - - - - ? - ? - - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - FILE - ? - - - ? - - ? - - ? - - -]]>UTF-8http://localhost:8080/XServices/FileService - - - - - - cid:1190185022376 - - ? - - - +*/ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + Download a file from the maschine where the service is running in order to process it with the client. The file is either downloaded as a MTOM attachment or as inline base64 encoded block. Keep in mind that unless you are using MTOM, a lot of java heap memory is used. + + + + + + Replaces every <regex pattern> with a string in an ascii file + + + + + + + + + + + + + + + + + + Write or append a string to a file + + + + + + Send a file from client to web service server using either MTOM attachment or base64 inline attachment. + + + + + + Replaces every <pattern> with a string in an ascii file + + + + + + Copies a fileset locally on the server. + + + + + + Replaces every <pattern> with a string in an ascii file + + + + + + Load the content of a resource + + + + + + The base name of the given file excluding the suffix. + + + + + Load the content of a resource + + + + + + Copies a single file locally on the server + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +]]>http://schemas.xmlsoap.org/wsdl/http://localhost:8080/XServices/FileServiceUTF-8http://localhost:8080/XServices/FileService + + + + ? + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILES + ? + + + **/* + + ? + + + + + ? + true + false + + + + + + true + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILES + ? + + + **/* + + ? + + + + + ? + true + false + + + + + + true + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILES + ? + + + **/* + + ? + + + + + ? + true + false + + + + + + true + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + FILES + ? + + + **/* + + ? + + + + + ? + true + false + + + + + + true + + ? + ? + ? + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + ? + ? + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILE + ? + + + +]]><xml-fragment/>UTF-8http://localhost:8080/XServices/FileService + + + + Here is some text with german umlauts (äöü). + c:/temp/somefile.txt + + utf-8 + false + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILE + ? + + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + ZIP + ? + ? + + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + FILE + ? + + ? + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILE + ? + + + + ? + ? + + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + FILE + ? + + + ? + + ? + + ? + + +]]>UTF-8http://localhost:8080/XServices/FileService + + + + + + cid:1190185022376 + + ? + + + ]]> \ No newline at end of file diff --git a/web/WEB-INF/cxf-beans.xml b/web/WEB-INF/cxf-beans.xml index 99b1e5b..b5662af 100644 --- a/web/WEB-INF/cxf-beans.xml +++ b/web/WEB-INF/cxf-beans.xml @@ -17,6 +17,9 @@ + +