Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c731.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c731.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c731.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c741.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c741.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c741.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c751.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c751.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c751.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c761.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c761.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c761.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c770.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c770.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c770.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c781.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c781.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c781.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c791.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c791.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c791.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c7a1.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c7a1.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c7a1.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c81.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c81.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c81.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c90.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c90.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/c90.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/ca1.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/ca1.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/ca1.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cb1.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cb1.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cb1.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cc0.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cc0.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cc0.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cd1.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cd1.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cd1.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/ce1.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/ce1.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/ce1.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cf0.dat
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cf0.dat?rev=772922&view=auto
==============================================================================
Binary file - no diff available.

Propchange: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/seg0/cf0.dat
------------------------------------------------------------------------------
    svn:mime-type = application/octet-stream

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/service.properties
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/service.properties?rev=772922&view=auto
==============================================================================
--- 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/service.properties
 (added)
+++ 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/resources/jpadb/service.properties
 Fri May  8 10:21:32 2009
@@ -0,0 +1,22 @@
+#/home/mriou/dev/projects/ode-rel/dao-jpa-ojpa-derby/target/derby/jpadb
+# ********************************************************************
+# ***                Please do NOT edit this file.                 ***
+# *** CHANGING THE CONTENT OF THIS FILE MAY CAUSE DATA CORRUPTION. ***
+# ********************************************************************
+#Wed Jan 09 10:30:36 PST 2008
+SysschemasIndex2Identifier=225
+SyscolumnsIdentifier=144
+SysconglomeratesIndex1Identifier=49
+SysconglomeratesIdentifier=32
+SyscolumnsIndex2Identifier=177
+SysschemasIndex1Identifier=209
+SysconglomeratesIndex3Identifier=81
+SystablesIndex2Identifier=129
+SyscolumnsIndex1Identifier=161
+derby.serviceProtocol=org.apache.derby.database.Database
+SysschemasIdentifier=192
+derby.storage.propertiesId=16
+SysconglomeratesIndex2Identifier=65
+derby.serviceLocale=en_US
+SystablesIdentifier=96
+SystablesIndex1Identifier=113

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/META-INF/sca-contribution.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/META-INF/sca-contribution.xml?rev=772922&view=auto
==============================================================================
--- 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/META-INF/sca-contribution.xml
 (added)
+++ 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/META-INF/sca-contribution.xml
 Fri May  8 10:21:32 2009
@@ -0,0 +1,23 @@
+<?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.    
+-->
+<contribution xmlns="http://www.osoa.org/xmlns/sca/1.0";
+              xmlns:sample="http://sample";>
+   <deployable composite="sample:HelloWorld"/>
+</contribution>
\ No newline at end of file

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml?rev=772922&view=auto
==============================================================================
--- tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml 
(added)
+++ tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/WEB-INF/web.xml 
Fri May  8 10:21:32 2009
@@ -0,0 +1,41 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!--
+  * 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.    
+-->
+
+<!DOCTYPE web-app PUBLIC "-//Sun Microsystems, Inc.//DTD Web
+Application 2.3//EN" "http://java.sun.com/dtd/web-app_2_3.dtd";>
+<web-app>
+
+  <display-name>Apache Tuscany BPEL HelloWorld Sample</display-name>
+
+  <filter>
+    <filter-name>tuscany</filter-name> 
+    
<filter-class>org.apache.tuscany.sca.host.webapp.TuscanyServletFilter</filter-class>
 
+  </filter>
+
+  <filter-mapping>
+    <filter-name>tuscany</filter-name> 
+    <url-pattern>/*</url-pattern> 
+  </filter-mapping>
+
+  <welcome-file-list id="WelcomeFileList">
+    <welcome-file>hello.jsp</welcome-file>
+  </welcome-file-list>
+  
+</web-app>

Added: tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/hello.jsp
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/hello.jsp?rev=772922&view=auto
==============================================================================
--- tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/hello.jsp (added)
+++ tuscany/sandbox/ant/helloworld-bpel-webapp/src/main/webapp/hello.jsp Fri 
May  8 10:21:32 2009
@@ -0,0 +1,40 @@
+<%--
+ * 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.
+--%>
+
+<%@ page import="org.apache.tuscany.sca.host.embedded.SCADomain"%>
+<%@ page import="helloworld.HelloWorldService" %>
+
+<%@ page contentType="text/html;charset=UTF-8" language="java" %>
+<%
+   SCADomain scaDomain = (SCADomain) 
application.getAttribute("org.apache.tuscany.sca.SCADomain");
+   HelloWorldService helloWorldService = 
(HelloWorldService)scaDomain.getService(HelloWorldService.class, 
"BPELHelloWorldComponent");
+%>
+<html>
+<head><title>HelloWorld BPEL sample</title></head>
+
+<body>
+
+If this sample is working correctly you should see "Hello World" on the next 
line...
+<p>
+<%= helloWorldService.hello("world") %>
+<p>
+If you do not see "Hello World" on the line above then there has been a 
problem, check the server log files for details.
+
+</body>
+</html>

Added: 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/test/java/helloworld/BPELHelloWorldTestCaseFIXME.java
URL: 
http://svn.apache.org/viewvc/tuscany/sandbox/ant/helloworld-bpel-webapp/src/test/java/helloworld/BPELHelloWorldTestCaseFIXME.java?rev=772922&view=auto
==============================================================================
--- 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/test/java/helloworld/BPELHelloWorldTestCaseFIXME.java
 (added)
+++ 
tuscany/sandbox/ant/helloworld-bpel-webapp/src/test/java/helloworld/BPELHelloWorldTestCaseFIXME.java
 Fri May  8 10:21:32 2009
@@ -0,0 +1,58 @@
+/*
+ * 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.    
+ */
+
+package helloworld;
+
+import junit.framework.TestCase;
+
+import org.apache.tuscany.sca.host.embedded.SCADomain;
+
+/**
+ * Tests the BPEL service
+ * 
+ * @version $Rev: 636807 $ $Date: 2008-03-13 17:32:45 +0000 (Thu, 13 Mar 2008) 
$
+ */
+public class BPELHelloWorldTestCaseFIXME extends TestCase {
+
+    private SCADomain scaDomain;
+    HelloWorldService bpelService = null;
+    
+    /**
+     * @throws java.lang.Exception
+     */
+    @Override
+    protected void setUp() throws Exception {
+        scaDomain = SCADomain.newInstance("HelloWorld.composite");
+        bpelService = scaDomain.getService(HelloWorldService.class, 
"BPELHelloWorldComponent");
+
+    }
+
+    /**
+     * @throws java.lang.Exception
+     */
+    @Override
+    protected void tearDown() throws Exception {
+        scaDomain.close();
+    }
+    
+    public void testInvoke() throws Exception {
+        String response = bpelService.hello("Hello");
+        assertEquals("Hello World", response);
+    }
+}


Reply via email to