Files
ofbiz-framework/framework/common/servicedef/services_test.xml
T
Jacques Le Roux dad67935f7 A (large) patch from Scott Gray "Update ASL header" (https://issues.apache.org/jira/browse/OFBIZ-637).
I put also some svn:ignore for shark build and lib diretories and assetmaint/build 

I did some by hand lately, too much to remember. They were files with old header but without copyright. A 1st attempt I suppose, will have to check this after this commit.

I add some problems to commit this patch in one piece because it's so huge (specially with Eclipse I had to turn to Tortoise) !

git-svn-id: https://svn.apache.org/repos/asf/ofbiz/trunk@499486 13f79535-47bb-0310-9956-ffa450edef68
2007-01-24 17:15:54 +00:00

180 lines
9.0 KiB
XML

<?xml version="1.0" encoding="UTF-8" ?>
<!--
Licensed to the Apache Software Foundation (ASF) under one
or more contributor license agreements. See the NOTICE file
distributed with this work for additional information
regarding copyright ownership. The ASF licenses this file
to you 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.
-->
<services xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:noNamespaceSchemaLocation="http://www.ofbiz.org/dtds/services.xsd">
<description>OFBIZ Test Services</description>
<vendor>OFBiz</vendor>
<version>1.0</version>
<service name="testScv" engine="java" export="true" validate="false" require-new-transaction="true"
location="org.ofbiz.common.CommonServices" invoke="testService">
<description>Test service</description>
<attribute name="defaultValue" type="Double" mode="IN" default-value="999.9999"/>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="resp" type="String" mode="OUT"/>
</service>
<service name="blockingTestScv" engine="java" export="true" validate="false" require-new-transaction="true"
location="org.ofbiz.common.CommonServices" invoke="blockingTestService">
<description>Blocking Test service</description>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="resp" type="String" mode="OUT"/>
</service>
<service name="testError" engine="java" export="true" validate="false" require-new-transaction="true" max-retry="1"
location="org.ofbiz.common.CommonServices" invoke="returnErrorService">
</service>
<!-- see serviceengin.xml to configure the rmi location alias -->
<service name="testRmi" engine="rmi" validate="false"
location="main-rmi" invoke="testScv">
<implements service="testScv"/>
</service>
<service name="testRmiFail" engine="rmi" validate="false"
location="main-rmi" invoke="testBsh">
<implements service="testScv"/>
</service>
<service name="testWorkflow" engine="workflow" location="TEST-PKG" invoke="TestWorkflow">
<attribute name="orderId" type="String" mode="IN"/>
<attribute name="partyId" type="String" mode="IN"/>
<attribute name="orderStatusId" type="String" mode="OUT"/>
</service>
<service name="testWorkflowCondition" engine="java"
location="org.ofbiz.common.CommonServices" invoke="testWorkflowCondition">
<attribute name="serviceName" type="String" mode="IN" optional="true"/>
<attribute name="evaluationResult" type="Boolean" mode="OUT"/>
</service>
<service name="testRollback" engine="java" export="true" validate="false"
location="org.ofbiz.common.CommonServices" invoke="testRollbackListener">
<description>Test service</description>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="resp" type="String" mode="OUT"/>
</service>
<service name="testCommit" engine="java" export="true" validate="false"
location="org.ofbiz.common.CommonServices" invoke="testCommitListener">
<description>Test service</description>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="resp" type="String" mode="OUT"/>
</service>
<service name="groupTest" engine="group" location="testGroup" invoke=""/>
<service name="testHttp" engine="http"
location="http://localhost:8080/webtools/control/httpService" invoke="testScv">
<description>HTTP service wrapper around the test service</description>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="resp" type="String" mode="OUT"/>
</service>
<service name="testSoap" engine="soap" export="true"
location="http://nagoya.apache.org:5049/axis/servlet/AxisServlet" invoke="echoString">
<description>Test SOAP service; calls echoString service on Axis server</description>
<namespace>http://soapinterop.org/</namespace>
<attribute name="message" type="String" mode="IN"/>
<attribute name="result" type="String" mode="OUT"/>
</service>
<service name="testBsh" engine="bsh"
location="org/ofbiz/common/BshServiceTest.bsh" invoke="">
<description>Test BeanShell Script Service</description>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="result" type="String" mode="OUT"/>
</service>
<service name="testJMSQueue" engine="jms"
location="serviceMessenger" invoke="testScv">
<description>Test JMS Queue service</description>
<attribute name="message" type="String" mode="IN"/>
</service>
<service name="testJMSTopic" engine="jms"
location="serviceMessenger" invoke="testScv">
<description>Test JMS Topic service</description>
<attribute name="message" type="String" mode="IN"/>
</service>
<service name="testMca" engine="java"
location="org.ofbiz.common.CommonServices" invoke="mcaTest">
<description>Test Service MCA</description>
<implements service="mailProcessInterface"/>
</service>
<service name="testRoute" engine="route" location="" invoke="" auth="true">
<description>Test the Route engine</description>
</service>
<service name="testJavsScript" engine="javascript" auth="false"
location="org/ofbiz/common/JavaScriptTest.js" invoke="">
<description>Test JavaScript Service</description>
<attribute name="message" type="String" mode="IN" optional="true"/>
<attribute name="result" type="String" mode="OUT" optional="true"/>
</service>
<service name="testEntityFailure" engine="java" auth="false" validate="false"
location="org.ofbiz.common.CommonServices" invoke="entityFailTest">
<description>Cause a Referential Integrity Error</description>
</service>
<service name="entitySortTest" engine="java" auth="false" validate="false"
location="org.ofbiz.common.CommonServices" invoke="entitySortTest">
<description>Test Entity Comparable</description>
</service>
<service name="makeALotOfVisits" engine="java" auth="true"
location="org.ofbiz.common.CommonServices" invoke="makeALotOfVisits">
<description>Test JavaScript Service</description>
<attribute name="count" type="Integer" mode="IN" optional="false"/>
<attribute name="rollback" type="Boolean" mode="IN" optional="true"/>
</service>
<service name="byteWrapperTest" engine="java" auth="true"
location="org.ofbiz.common.CommonServices" invoke="byteWrapperTest">
<description>Test Passing ByteWrapper To Service</description>
<attribute name="byteWrapper1" type="org.ofbiz.entity.util.ByteWrapper" mode="IN" optional="false"/>
<attribute name="saveAsFileName1" type="String" mode="IN" optional="false"/>
<attribute name="byteWrapper2" type="org.ofbiz.entity.util.ByteWrapper" mode="IN" optional="false"/>
<attribute name="saveAsFileName2" type="String" mode="IN" optional="false"/>
</service>
<service name="uploadContentTest" engine="java" auth="true"
location="org.ofbiz.common.CommonServices" invoke="uploadTest">
<description>Upload Content Test Service</description>
<attribute name="uploadFile" type="org.ofbiz.entity.util.ByteWrapper" mode="IN" optional="false"/>
<attribute name="_uploadFile_contentType" type="String" mode="IN" optional="false"/>
<attribute name="_uploadFile_fileName" type="String" mode="IN" optional="false"/>
</service>
<service name="conditionReturnTrue" engine="java" auth="true"
location="org.ofbiz.common.CommonServices" invoke="conditionTrueService">
<description>ECA Condition Service - Return TRUE</description>
<implements service="serviceEcaConditionInterface"/>
</service>
<service name="conditionReturnFalse" engine="java" auth="true"
location="org.ofbiz.common.CommonServices" invoke="conditionFalseService">
<description>ECA Condition Service - Return FALSE</description>
<implements service="serviceEcaConditionInterface"/>
</service>
<service name="ping" engine="java" export="true" require-new-transaction="true"
location="org.ofbiz.common.CommonServices" invoke="ping">
<description>Test Ping Service</description>
<attribute name="message" type="String" mode="INOUT" optional="true"/>
</service>
</services>