You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ch...@apache.org on 2006/02/22 00:40:29 UTC
svn commit: r379627 [5/34] - in /incubator/servicemix/trunk: ./ etc/
sandbox/servicemix-wsn-1.2/src/sa/META-INF/
sandbox/servicemix-wsn-1.2/src/su/META-INF/ servicemix-assembly/
servicemix-assembly/src/main/assembly/ servicemix-assembly/src/main/releas...
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/Foo.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/Foo.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/Foo.java (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/Foo.java Tue Feb 21 15:40:05 2006
@@ -1,57 +1,57 @@
-/**
- *
- * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com
- *
- * 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.
- *
- **/
-package org.apache.servicemix.web.jmx;
-
-/**
- * A dummy MBean implementation
- *
- * @version $Revision: 356269 $
- */
-public class Foo implements FooMBean {
-
- private int counter;
- private String name = "James";
-
- public Foo() {
- }
-
- public Foo(String name) {
- this.name = name;
- }
-
- public void increment() {
- ++counter;
- }
-
- public int getCounter() {
- return counter;
- }
-
- public void setCounter(int counter) {
- this.counter = counter;
- }
-
- public String getName() {
- return name;
- }
-
- public void setName(String name) {
- this.name = name;
- }
-
-}
+/**
+ *
+ * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com
+ *
+ * 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.
+ *
+ **/
+package org.apache.servicemix.web.jmx;
+
+/**
+ * A dummy MBean implementation
+ *
+ * @version $Revision: 356269 $
+ */
+public class Foo implements FooMBean {
+
+ private int counter;
+ private String name = "James";
+
+ public Foo() {
+ }
+
+ public Foo(String name) {
+ this.name = name;
+ }
+
+ public void increment() {
+ ++counter;
+ }
+
+ public int getCounter() {
+ return counter;
+ }
+
+ public void setCounter(int counter) {
+ this.counter = counter;
+ }
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String name) {
+ this.name = name;
+ }
+
+}
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/Foo.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/FooMBean.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/FooMBean.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/FooMBean.java (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/FooMBean.java Tue Feb 21 15:40:05 2006
@@ -1,37 +1,37 @@
-/**
- *
- * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com
- *
- * 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.
- *
- **/
-
-package org.apache.servicemix.web.jmx;
-
-/**
- *
- * @version $Revision: 356269 $
- */
-public interface FooMBean {
-
- public void increment();
-
- public int getCounter();
-
- public void setCounter(int counter);
-
- public String getName();
-
- public void setName(String name);
-
+/**
+ *
+ * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com
+ *
+ * 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.
+ *
+ **/
+
+package org.apache.servicemix.web.jmx;
+
+/**
+ *
+ * @version $Revision: 356269 $
+ */
+public interface FooMBean {
+
+ public void increment();
+
+ public int getCounter();
+
+ public void setCounter(int counter);
+
+ public String getName();
+
+ public void setName(String name);
+
}
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/FooMBean.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/JMXWriterTest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/JMXWriterTest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/JMXWriterTest.java (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/JMXWriterTest.java Tue Feb 21 15:40:05 2006
@@ -1,71 +1,71 @@
-/**
- *
- * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com
- *
- * 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.
- *
- **/
-package org.apache.servicemix.web.jmx;
-
-import javax.management.MBeanServer;
-import javax.management.ObjectName;
-
-import java.io.OutputStreamWriter;
-import java.io.PrintWriter;
-import java.util.Set;
-
-import junit.framework.TestCase;
-
-/**
- *
- * @version $Revision: 356269 $
- */
-public class JMXWriterTest extends TestCase {
-
- protected PrintWriter writer;
- private JMXWriter jmxWriter;
- private ManagementContext managementContext = new ManagementContext();
-
- public void testDetail() throws Exception {
- Set names = managementContext.getMBeanServer().queryNames(null, null);
- jmxWriter.outputDetail(names);
- }
-
- public void testQuery() throws Exception {
- MBeanServer beanServer = managementContext.getMBeanServer();
-
- beanServer.registerMBean(new Foo("James"), new ObjectName("Bar:type=Foo,name=James"));
- beanServer.registerMBean(new Foo("Rob"), new ObjectName("Bar:type=Foo,name=Rob"));
- beanServer.registerMBean(new Foo("Hiram"), new ObjectName("Bar:type=Foo,name=Hiram"));
-
-
- // now lets try find some MBeans using a query
-
- Set result = beanServer.queryMBeans(null, new ObjectName("*:type=Foo,*"));
- assertEquals("Size of results: " + result, 3, result.size());
- }
-
- protected void setUp() throws Exception {
- writer = new PrintWriter(new OutputStreamWriter(System.out));
- jmxWriter = new JMXWriter(writer, managementContext);
- }
-
- protected void tearDown() throws Exception {
- if (writer != null) {
- writer.close();
- }
- }
-
-
-
-}
+/**
+ *
+ * Copyright 2005 LogicBlaze, Inc. http://www.logicblaze.com
+ *
+ * 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.
+ *
+ **/
+package org.apache.servicemix.web.jmx;
+
+import javax.management.MBeanServer;
+import javax.management.ObjectName;
+
+import java.io.OutputStreamWriter;
+import java.io.PrintWriter;
+import java.util.Set;
+
+import junit.framework.TestCase;
+
+/**
+ *
+ * @version $Revision: 356269 $
+ */
+public class JMXWriterTest extends TestCase {
+
+ protected PrintWriter writer;
+ private JMXWriter jmxWriter;
+ private ManagementContext managementContext = new ManagementContext();
+
+ public void testDetail() throws Exception {
+ Set names = managementContext.getMBeanServer().queryNames(null, null);
+ jmxWriter.outputDetail(names);
+ }
+
+ public void testQuery() throws Exception {
+ MBeanServer beanServer = managementContext.getMBeanServer();
+
+ beanServer.registerMBean(new Foo("James"), new ObjectName("Bar:type=Foo,name=James"));
+ beanServer.registerMBean(new Foo("Rob"), new ObjectName("Bar:type=Foo,name=Rob"));
+ beanServer.registerMBean(new Foo("Hiram"), new ObjectName("Bar:type=Foo,name=Hiram"));
+
+
+ // now lets try find some MBeans using a query
+
+ Set result = beanServer.queryMBeans(null, new ObjectName("*:type=Foo,*"));
+ assertEquals("Size of results: " + result, 3, result.size());
+ }
+
+ protected void setUp() throws Exception {
+ writer = new PrintWriter(new OutputStreamWriter(System.out));
+ jmxWriter = new JMXWriter(writer, managementContext);
+ }
+
+ protected void tearDown() throws Exception {
+ if (writer != null) {
+ writer.close();
+ }
+ }
+
+
+
+}
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/servicemix-web/src/test/java/org/apache/servicemix/web/jmx/JMXWriterTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/README.txt
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/README.txt?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/README.txt (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/README.txt Tue Feb 21 15:40:05 2006
@@ -1,29 +1,29 @@
-Welcome to the soap-binding Example
-=============================================
-
-This example shows how to expose a simple web service with ServiceMix.
-The components are built and run from source using Ant, http://ant.apache.org.
-
-To start the servicemix server using the sample configuration, you must enter the following commands:
-
-ant setup
-../../bin/servicemix servicemix.xml
-
-This will start the soap-binding demo.
-
-A simple client is available with the client.html web page.
-Just launched it in your favorite web browser and modify the content of the left pane.
-You should see the response on the right pane.
-
-For more information on this example please see
-
-http://servicemix.org/soap+binding+example
-
-
-
-NOTES:
- * currently, the demo does not work with FireFox
- * if you experience problems, try rebuilding the demo:
- remove all the directories but the src one,
- type 'ant setup'
- run '../../bin/servicemix servicemix.xml'
+Welcome to the soap-binding Example
+=============================================
+
+This example shows how to expose a simple web service with ServiceMix.
+The components are built and run from source using Ant, http://ant.apache.org.
+
+To start the servicemix server using the sample configuration, you must enter the following commands:
+
+ant setup
+../../bin/servicemix servicemix.xml
+
+This will start the soap-binding demo.
+
+A simple client is available with the client.html web page.
+Just launched it in your favorite web browser and modify the content of the left pane.
+You should see the response on the right pane.
+
+For more information on this example please see
+
+http://servicemix.org/soap+binding+example
+
+
+
+NOTES:
+ * currently, the demo does not work with FireFox
+ * if you experience problems, try rebuilding the demo:
+ remove all the directories but the src one,
+ type 'ant setup'
+ run '../../bin/servicemix servicemix.xml'
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/README.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/build.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/build.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/build.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/build.xml Tue Feb 21 15:40:05 2006
@@ -1,74 +1,74 @@
-<project name="jms-binding" default="run" basedir=".">
-
- <property name="build.dir" value="build"/>
- <property name="comp.build.dir" value="${build.dir}/components"/>
- <property name="client.build.dir" value="${build.dir}/client"/>
-
- <property name="src.dir" value="src"/>
- <property name="comp.src.dir" value="${src.dir}/components"/>
- <property name="client.src.dir" value="${src.dir}/client"/>
- <property name="su.engine.src.dir" value="${src.dir}/engine-su"/>
- <property name="su.binding.src.dir" value="${src.dir}/binding-su"/>
- <property name="sa.src.dir" value="${src.dir}/sa"/>
-
- <target name="clean">
- <delete dir="target" quiet="true"/>
- <delete dir="${build.dir}" quiet="true"/>
- </target>
-
- <target name="init">
- <mkdir dir="${build.dir}"/>
- <mkdir dir="${comp.build.dir}"/>
- <mkdir dir="${client.build.dir}"/>
-
- <path id="javac.classpath">
- <pathelement path="${comp.build.dir}"/>
- <pathelement path="${client.build.dir}"/>
- <pathelement path="../../conf"/>
- <fileset dir="../../lib">
- <include name="**/*.jar"/>
- </fileset>
- <fileset dir="../..">
- <include name="*.jar"/>
- </fileset>
- </path>
- </target>
-
- <target name="build-components" depends="init" description="Build components">
- <javac srcdir="${comp.src.dir}" destdir="${comp.build.dir}" debug="on" source="1.4" target="1.4">
- <classpath refid="javac.classpath"/>
- </javac>
- </target>
-
- <target name="build-engine-su" depends="build-components" description="Build the engine service unit">
- <zip destfile="${build.dir}/engine-su.zip">
- <fileset dir="${comp.build.dir}"/>
- <fileset dir="${su.engine.src.dir}"/>
- </zip>
- </target>
-
- <target name="build-binding-su" description="Build the binding service unit">
- <zip destfile="${build.dir}/binding-su.zip">
- <fileset dir="${su.binding.src.dir}"/>
- </zip>
- </target>
-
- <target name="build-sa" depends="build-engine-su, build-binding-su" description="Build the service assembly">
- <zip destfile="${build.dir}/soap-demo-sa.zip">
- <fileset dir="${build.dir}" includes="engine-su.zip"/>
- <fileset dir="${build.dir}" includes="binding-su.zip"/>
- <fileset dir="${sa.src.dir}"/>
- </zip>
- </target>
-
- <target name="setup" depends="build-sa" description="Setup servicemix">
- <mkdir dir="install"/>
- <mkdir dir="deploy"/>
- <copy todir="install">
- <fileset dir="../../components" includes="*jsr181*"/>
- <fileset dir="../../components" includes="*http*"/>
- </copy>
- <copy file="${build.dir}/soap-demo-sa.zip" todir="deploy"/>
- </target>
-
-</project>
+<project name="jms-binding" default="run" basedir=".">
+
+ <property name="build.dir" value="build"/>
+ <property name="comp.build.dir" value="${build.dir}/components"/>
+ <property name="client.build.dir" value="${build.dir}/client"/>
+
+ <property name="src.dir" value="src"/>
+ <property name="comp.src.dir" value="${src.dir}/components"/>
+ <property name="client.src.dir" value="${src.dir}/client"/>
+ <property name="su.engine.src.dir" value="${src.dir}/engine-su"/>
+ <property name="su.binding.src.dir" value="${src.dir}/binding-su"/>
+ <property name="sa.src.dir" value="${src.dir}/sa"/>
+
+ <target name="clean">
+ <delete dir="target" quiet="true"/>
+ <delete dir="${build.dir}" quiet="true"/>
+ </target>
+
+ <target name="init">
+ <mkdir dir="${build.dir}"/>
+ <mkdir dir="${comp.build.dir}"/>
+ <mkdir dir="${client.build.dir}"/>
+
+ <path id="javac.classpath">
+ <pathelement path="${comp.build.dir}"/>
+ <pathelement path="${client.build.dir}"/>
+ <pathelement path="../../conf"/>
+ <fileset dir="../../lib">
+ <include name="**/*.jar"/>
+ </fileset>
+ <fileset dir="../..">
+ <include name="*.jar"/>
+ </fileset>
+ </path>
+ </target>
+
+ <target name="build-components" depends="init" description="Build components">
+ <javac srcdir="${comp.src.dir}" destdir="${comp.build.dir}" debug="on" source="1.4" target="1.4">
+ <classpath refid="javac.classpath"/>
+ </javac>
+ </target>
+
+ <target name="build-engine-su" depends="build-components" description="Build the engine service unit">
+ <zip destfile="${build.dir}/engine-su.zip">
+ <fileset dir="${comp.build.dir}"/>
+ <fileset dir="${su.engine.src.dir}"/>
+ </zip>
+ </target>
+
+ <target name="build-binding-su" description="Build the binding service unit">
+ <zip destfile="${build.dir}/binding-su.zip">
+ <fileset dir="${su.binding.src.dir}"/>
+ </zip>
+ </target>
+
+ <target name="build-sa" depends="build-engine-su, build-binding-su" description="Build the service assembly">
+ <zip destfile="${build.dir}/soap-demo-sa.zip">
+ <fileset dir="${build.dir}" includes="engine-su.zip"/>
+ <fileset dir="${build.dir}" includes="binding-su.zip"/>
+ <fileset dir="${sa.src.dir}"/>
+ </zip>
+ </target>
+
+ <target name="setup" depends="build-sa" description="Setup servicemix">
+ <mkdir dir="install"/>
+ <mkdir dir="deploy"/>
+ <copy todir="install">
+ <fileset dir="../../components" includes="*jsr181*"/>
+ <fileset dir="../../components" includes="*http*"/>
+ </copy>
+ <copy file="${build.dir}/soap-demo-sa.zip" todir="deploy"/>
+ </target>
+
+</project>
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/build.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/client.html
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/client.html?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/client.html (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/client.html Tue Feb 21 15:40:05 2006
@@ -1,102 +1,102 @@
-<html>
-<head>
-<title>ServiceMix SOAP Binding Example</title>
-<script type="text/javascript">
-
-function getHTTPObject() {
- var xmlhttp = false;
-
- /* Compilation conditionnelle d'IE */
- /*@cc_on
- @if (@_jscript_version >= 5)
- try {
- xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
- } catch (e) {
- try {
- xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
- } catch (E) {
- xmlhttp = false;
- }
- }
- @else
- xmlhttp = false;
- @end @*/
-
- /* on essaie de créer l'objet si ce n'est pas déjà fait */
- if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
- try {
- netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite");
- xmlhttp = new XMLHttpRequest();
- } catch (e) {
- xmlhttp = false;
- }
- }
-
- if (xmlhttp) {
- /* on définit ce qui doit se passer quand la page répondra */
- xmlhttp.onreadystatechange=function() {
- if (xmlhttp.readyState == 4) { /* 4 : état "complete" */
- var response = document.getElementById("response");
- response.value = "STATUS: " + xmlhttp.status + "\n" + xmlhttp.responseText
- }
- }
- }
- return xmlhttp;
-}
-
-function send() {
- var xmlhttp = getHTTPObject();
- if (!xmlhttp) {
- alert('cound not create XMLHttpRequest object');
- return;
- }
- var request = document.getElementById("request");
- var response = document.getElementById("response");
- try {
- xmlhttp.open("POST", "http://localhost:8192/Service/", true);
- } catch (e) {
- alert('error opening');
- }
- xmlhttp.send(request.value);
-}
-
-</script>
-</head>
-
-<body>
-
-<h1>ServiceMix SOAP Binding Example</h1>
-
-<p>Welcome to the soap binding example for ServiceMix</p>
-
-Perform a POST into the HTTP binding <p>
-
-<table>
- <tr>
- <td>
- <textarea id="request" style="width:600px;height:400px" onKeyUp="send();"><?xml version="1.0" encoding="UTF-8"?>
-<e:Envelope xmlns:e="http://schemas.xmlsoap.org/soap/envelope/">
- <e:Body>
- <ping>
- <pingRequest>
- <message xmlns="http://soap">hel lo</message>
- </pingRequest>
- </ping>
- </e:Body>
-</e:Envelope>
-
- </textarea>
- </td>
- <td>
- <textarea id="response" style="width:600px;height:400px">
- </textarea>
- </td>
- </tr>
- <tr>
- <td colspan=2>
- <input type="button" value="Send" onClick="send();"/>
- </td>
- </tr>
-</table>
-</body>
-</html>
+<html>
+<head>
+<title>ServiceMix SOAP Binding Example</title>
+<script type="text/javascript">
+
+function getHTTPObject() {
+ var xmlhttp = false;
+
+ /* Compilation conditionnelle d'IE */
+ /*@cc_on
+ @if (@_jscript_version >= 5)
+ try {
+ xmlhttp = new ActiveXObject("Msxml2.XMLHTTP");
+ } catch (e) {
+ try {
+ xmlhttp = new ActiveXObject("Microsoft.XMLHTTP");
+ } catch (E) {
+ xmlhttp = false;
+ }
+ }
+ @else
+ xmlhttp = false;
+ @end @*/
+
+ /* on essaie de créer l'objet si ce n'est pas déjà fait */
+ if (!xmlhttp && typeof XMLHttpRequest != 'undefined') {
+ try {
+ netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite");
+ xmlhttp = new XMLHttpRequest();
+ } catch (e) {
+ xmlhttp = false;
+ }
+ }
+
+ if (xmlhttp) {
+ /* on définit ce qui doit se passer quand la page répondra */
+ xmlhttp.onreadystatechange=function() {
+ if (xmlhttp.readyState == 4) { /* 4 : état "complete" */
+ var response = document.getElementById("response");
+ response.value = "STATUS: " + xmlhttp.status + "\n" + xmlhttp.responseText
+ }
+ }
+ }
+ return xmlhttp;
+}
+
+function send() {
+ var xmlhttp = getHTTPObject();
+ if (!xmlhttp) {
+ alert('cound not create XMLHttpRequest object');
+ return;
+ }
+ var request = document.getElementById("request");
+ var response = document.getElementById("response");
+ try {
+ xmlhttp.open("POST", "http://localhost:8192/Service/", true);
+ } catch (e) {
+ alert('error opening');
+ }
+ xmlhttp.send(request.value);
+}
+
+</script>
+</head>
+
+<body>
+
+<h1>ServiceMix SOAP Binding Example</h1>
+
+<p>Welcome to the soap binding example for ServiceMix</p>
+
+Perform a POST into the HTTP binding <p>
+
+<table>
+ <tr>
+ <td>
+ <textarea id="request" style="width:600px;height:400px" onKeyUp="send();"><?xml version="1.0" encoding="UTF-8"?>
+<e:Envelope xmlns:e="http://schemas.xmlsoap.org/soap/envelope/">
+ <e:Body>
+ <ping>
+ <pingRequest>
+ <message xmlns="http://soap">hel lo</message>
+ </pingRequest>
+ </ping>
+ </e:Body>
+</e:Envelope>
+
+ </textarea>
+ </td>
+ <td>
+ <textarea id="response" style="width:600px;height:400px">
+ </textarea>
+ </td>
+ </tr>
+ <tr>
+ <td colspan=2>
+ <input type="button" value="Send" onClick="send();"/>
+ </td>
+ </tr>
+</table>
+</body>
+</html>
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/client.html
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/servicemix.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/servicemix.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/servicemix.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/servicemix.xml Tue Feb 21 15:40:05 2006
@@ -1,15 +1,15 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<beans xmlns:sm="http://servicemix.apache.org/config/1.0">
-
- <!-- the JBI container -->
- <sm:container id="jbi"
- rootDir="./wdir"
- installationDirPath="./install"
- deploymentDirPath="./deploy"
- flowName="seda">
-
- <sm:activationSpecs>
-
- </sm:activationSpecs>
- </sm:container>
-</beans>
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns:sm="http://servicemix.apache.org/config/1.0">
+
+ <!-- the JBI container -->
+ <sm:container id="jbi"
+ rootDir="./wdir"
+ installationDirPath="./install"
+ deploymentDirPath="./deploy"
+ flowName="seda">
+
+ <sm:activationSpecs>
+
+ </sm:activationSpecs>
+ </sm:container>
+</beans>
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/servicemix.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/binding-su/xbean.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/binding-su/xbean.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/binding-su/xbean.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/binding-su/xbean.xml Tue Feb 21 15:40:05 2006
@@ -1,12 +1,12 @@
-<?xml version="1.0"?>
-<beans xmlns:http="http://servicemix.apache.org/http/1.0"
- xmlns:demo="urn:servicemix:soap-binding">
-
- <http:endpoint service="demo:simple-service"
- endpoint="simple-service"
- role="consumer"
- locationURI="http://localhost:8192/Service/"
- defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
- soap="true" />
-
-</beans>
+<?xml version="1.0"?>
+<beans xmlns:http="http://servicemix.apache.org/http/1.0"
+ xmlns:demo="urn:servicemix:soap-binding">
+
+ <http:endpoint service="demo:simple-service"
+ endpoint="simple-service"
+ role="consumer"
+ locationURI="http://localhost:8192/Service/"
+ defaultMep="http://www.w3.org/2004/08/wsdl/in-out"
+ soap="true" />
+
+</beans>
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/binding-su/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingRequest.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingRequest.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingRequest.java (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingRequest.java Tue Feb 21 15:40:05 2006
@@ -1,15 +1,15 @@
-package soap;
-
-public class PingRequest {
-
- private String message;
-
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
-}
+package soap;
+
+public class PingRequest {
+
+ private String message;
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+}
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingRequest.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingResponse.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingResponse.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingResponse.java (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingResponse.java Tue Feb 21 15:40:05 2006
@@ -1,15 +1,15 @@
-package soap;
-
-public class PingResponse {
-
- private String message;
-
- public String getMessage() {
- return this.message;
- }
-
- public void setMessage(String message) {
- this.message = message;
- }
-
-}
+package soap;
+
+public class PingResponse {
+
+ private String message;
+
+ public String getMessage() {
+ return this.message;
+ }
+
+ public void setMessage(String message) {
+ this.message = message;
+ }
+
+}
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/PingResponse.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/SimpleService.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/SimpleService.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/SimpleService.java (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/SimpleService.java Tue Feb 21 15:40:05 2006
@@ -1,11 +1,11 @@
-package soap;
-
-public class SimpleService {
-
- public PingResponse ping(PingRequest request) {
- PingResponse response = new PingResponse();
- response.setMessage("Ping: " + request.getMessage());
- return response;
- }
-
-}
+package soap;
+
+public class SimpleService {
+
+ public PingResponse ping(PingRequest request) {
+ PingResponse response = new PingResponse();
+ response.setMessage("Ping: " + request.getMessage());
+ return response;
+ }
+
+}
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/components/soap/SimpleService.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/engine-su/xbean.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/engine-su/xbean.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/engine-su/xbean.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/engine-su/xbean.xml Tue Feb 21 15:40:05 2006
@@ -1,14 +1,14 @@
-<?xml version="1.0"?>
-<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0"
- xmlns:demo="urn:servicemix:soap-binding">
-
- <classpath>
- <location>.</location>
- </classpath>
-
- <jsr181:endpoint pojoClass="soap.SimpleService"
- annotations="none"
- service="demo:simple-service"
- endpoint="simple-service" />
-
-</beans>
+<?xml version="1.0"?>
+<beans xmlns:jsr181="http://servicemix.apache.org/jsr181/1.0"
+ xmlns:demo="urn:servicemix:soap-binding">
+
+ <classpath>
+ <location>.</location>
+ </classpath>
+
+ <jsr181:endpoint pojoClass="soap.SimpleService"
+ annotations="none"
+ service="demo:simple-service"
+ endpoint="simple-service" />
+
+</beans>
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/engine-su/xbean.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/DISCLAIMER.txt
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/DISCLAIMER.txt?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/DISCLAIMER.txt (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/DISCLAIMER.txt Tue Feb 21 15:40:05 2006
@@ -1,7 +1,7 @@
-ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
-accepted projects until a further review indicates that the infrastructure,
-communications, and decision making process have stabilized in a manner
-consistent with other successful ASF projects. While incubation status is not
-necessarily a reflection of the completeness or stability of the code, it does
+ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
+(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
+accepted projects until a further review indicates that the infrastructure,
+communications, and decision making process have stabilized in a manner
+consistent with other successful ASF projects. While incubation status is not
+necessarily a reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/DISCLAIMER.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/jbi.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/jbi.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/jbi.xml (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/jbi.xml Tue Feb 21 15:40:05 2006
@@ -1,31 +1,31 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
-
- <service-assembly>
- <identification>
- <name>soap-demo</name>
- <description>Soap demo</description>
- </identification>
- <service-unit>
- <identification>
- <name>engine-su</name>
- <description>Contains the service</description>
- </identification>
- <target>
- <artifacts-zip>engine-su.zip</artifacts-zip>
- <component-name>servicemix-jsr181</component-name>
- </target>
- </service-unit>
- <service-unit>
- <identification>
- <name>binding-su</name>
- <description>Contains the binding</description>
- </identification>
- <target>
- <artifacts-zip>binding-su.zip</artifacts-zip>
- <component-name>servicemix-http</component-name>
- </target>
- </service-unit>
- </service-assembly>
-
-</jbi>
+<?xml version="1.0" encoding="UTF-8"?>
+<jbi xmlns="http://java.sun.com/xml/ns/jbi" version="1.0">
+
+ <service-assembly>
+ <identification>
+ <name>soap-demo</name>
+ <description>Soap demo</description>
+ </identification>
+ <service-unit>
+ <identification>
+ <name>engine-su</name>
+ <description>Contains the service</description>
+ </identification>
+ <target>
+ <artifacts-zip>engine-su.zip</artifacts-zip>
+ <component-name>servicemix-jsr181</component-name>
+ </target>
+ </service-unit>
+ <service-unit>
+ <identification>
+ <name>binding-su</name>
+ <description>Contains the binding</description>
+ </identification>
+ <target>
+ <artifacts-zip>binding-su.zip</artifacts-zip>
+ <component-name>servicemix-http</component-name>
+ </target>
+ </service-unit>
+ </service-assembly>
+
+</jbi>
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/release/examples/soap-binding/src/sa/META-INF/jbi.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-assembly/src/main/resources/META-INF/DISCLAIMER.txt
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-assembly/src/main/resources/META-INF/DISCLAIMER.txt?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-assembly/src/main/resources/META-INF/DISCLAIMER.txt (original)
+++ incubator/servicemix/trunk/servicemix-assembly/src/main/resources/META-INF/DISCLAIMER.txt Tue Feb 21 15:40:05 2006
@@ -1,7 +1,7 @@
-ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
-(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
-accepted projects until a further review indicates that the infrastructure,
-communications, and decision making process have stabilized in a manner
-consistent with other successful ASF projects. While incubation status is not
-necessarily a reflection of the completeness or stability of the code, it does
+ActiveMQ is an effort undergoing incubation at the Apache Software Foundation
+(ASF), sponsored by the Geronimo PMC. Incubation is required of all newly
+accepted projects until a further review indicates that the infrastructure,
+communications, and decision making process have stabilized in a manner
+consistent with other successful ASF projects. While incubation status is not
+necessarily a reflection of the completeness or stability of the code, it does
indicate that the project has yet to be fully endorsed by the ASF.
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/resources/META-INF/DISCLAIMER.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/servicemix-assembly/src/main/resources/META-INF/LICENSE.txt
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/servicemix-bpe/maven.xml
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/servicemix/trunk/servicemix-bpe/project.properties
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-bpe/project.xml
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-bpe/project.xml?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-bpe/project.xml (original)
+++ incubator/servicemix/trunk/servicemix-bpe/project.xml Tue Feb 21 15:40:05 2006
@@ -1,333 +1,333 @@
-<?xml version="1.0" encoding="ISO-8859-1"?>
-
-<!--
-
- Copyright 2005 The Apache Software Foundation
-
- 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.
-
--->
-
-<!DOCTYPE project>
-<project>
- <pomVersion>3</pomVersion>
- <extend>${basedir}/../etc/project.xml</extend>
-
- <name>ServiceMix :: BPE</name>
- <id>servicemix-bpe</id>
- <shortDescription>BPE service engine</shortDescription>
- <description>BPE service engine</description>
-
- <package>org.apache.servicemix.bpe</package>
- <packageGroups>
- <packageGroup>
- <title>BPE service engine</title>
- <packages>org.apache.servicemix.bpe</packages>
- </packageGroup>
- </packageGroups>
-
- <!-- ============ -->
- <!-- Dependencies -->
- <!-- ============ -->
- <dependencies>
-
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>maven-jbi-plugin</artifactId>
- <version>${pom.currentVersion}</version>
- <type>plugin</type>
- </dependency>
-
- <!-- JBI bundled dependencies -->
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>servicemix-common</artifactId>
- <version>${pom.currentVersion}</version>
- <properties>
- <eclipse.dependency>true</eclipse.dependency>
- <jbi.bundle>true</jbi.bundle>
- <jbi.bootstrap>true</jbi.bootstrap>
- </properties>
- </dependency>
- <dependency>
- <groupId>commons-logging</groupId>
- <artifactId>commons-logging</artifactId>
- <version>${commons_logging_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>backport-util-concurrent</groupId>
- <artifactId>backport-util-concurrent</artifactId>
- <version>${backport_util_concurrent_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>wsdl4j</groupId>
- <artifactId>wsdl4j</artifactId>
- <version>${wsdl4j_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>stax</groupId>
- <artifactId>stax-api</artifactId>
- <version>${stax_api_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>jdom</groupId>
- <artifactId>jdom</artifactId>
- <version>${jdom_version}</version>
- <properties>
- <jbi.bundle>true</jbi.bundle>
- </properties>
- </dependency>
- <dependency>
- <groupId>axis</groupId>
- <artifactId>axis</artifactId>
- <version>${axis_version}</version>
- <properties>
- <jbi.bundle>true</jbi.bundle>
- </properties>
- </dependency>
- <dependency>
- <groupId>msv</groupId>
- <artifactId>xsdlib</artifactId>
- <version>${msv_xsdlib_version}</version>
- <properties>
- <jbi.bundle>true</jbi.bundle>
- </properties>
- </dependency>
- <dependency>
- <groupId>commons-discovery</groupId>
- <artifactId>commons-discovery</artifactId>
- <version>${commons_discovery_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-spring</artifactId>
- <version>${xbean_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-server</artifactId>
- <version>${xbean_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>org.apache.xbean</groupId>
- <artifactId>xbean-kernel</artifactId>
- <version>${xbean_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>springframework</groupId>
- <artifactId>spring</artifactId>
- <version>${spring_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>woodstox</groupId>
- <artifactId>wstx-asl</artifactId>
- <version>${woodstox_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>xmlbeans</groupId>
- <artifactId>xbean</artifactId>
- <version>${xmlbeans_version}</version>
- <properties>
- <jbi.bundle>true</jbi.bundle>
- </properties>
- </dependency>
- <dependency>
- <groupId>org.apache.ode</groupId>
- <artifactId>bpe</artifactId>
- <version>${ode_bpe_version}</version>
- <properties>
- <jbi.bundle>true</jbi.bundle>
- </properties>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-ejb_2.1_spec</artifactId>
- <version>${geronimo_spec_ejb_version}</version>
- <properties>
- </properties>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-activation_1.0.2_spec</artifactId>
- <version>${geronimo_spec_activation_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-javamail_1.3.1_spec</artifactId>
- <version>${geronimo_spec_javamail_version}</version>
- </dependency>
- <dependency>
- <groupId>jaxen</groupId>
- <artifactId>jaxen</artifactId>
- <version>${jaxen_version}</version>
- <properties>
- <jbi.bundle>true</jbi.bundle>
- </properties>
- </dependency>
-
- <!-- Provided dependencies -->
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
- <version>${geronimo_spec_j2ee_connector_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-servlet_2.4_spec</artifactId>
- <version>${geronimo_spec_servlet_version}</version>
- </dependency>
- <dependency>
- <groupId>org.apache.geronimo.specs</groupId>
- <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
- <version>${geronimo_spec_jta_version}</version>
- </dependency>
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>servicemix-jbi</artifactId>
- <version>${pom.currentVersion}</version>
- <properties>
- <eclipse.dependency>true</eclipse.dependency>
- </properties>
- </dependency>
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>servicemix-http</artifactId>
- <version>${pom.currentVersion}</version>
- <properties>
- <eclipse.dependency>true</eclipse.dependency>
- </properties>
- </dependency>
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>servicemix-soap</artifactId>
- <version>${pom.currentVersion}</version>
- <properties>
- <eclipse.dependency>true</eclipse.dependency>
- </properties>
- </dependency>
- <dependency>
- <groupId>mx4j</groupId>
- <artifactId>mx4j</artifactId>
- <version>${mx4j_version}</version>
- </dependency>
- <dependency>
- <groupId>mx4j</groupId>
- <artifactId>mx4j-remote</artifactId>
- <version>${mx4j_version}</version>
- </dependency>
- <dependency>
- <groupId>xfire</groupId>
- <artifactId>XmlSchema</artifactId>
- <version>${xfire_xmlschema_version}</version>
- </dependency>
-
- <!-- Testing only -->
- <dependency>
- <groupId>${pom.groupId}</groupId>
- <artifactId>servicemix-core</artifactId>
- <version>${pom.currentVersion}</version>
- <properties>
- <eclipse.dependency>true</eclipse.dependency>
- </properties>
- </dependency>
- <dependency>
- <groupId>incubator-activemq</groupId>
- <artifactId>activemq</artifactId>
- <version>${activemq_version}</version>
- </dependency>
- <dependency>
- <groupId>jencks</groupId>
- <artifactId>jencks-all</artifactId>
- <version>${jencks_version}</version>
- </dependency>
- <dependency>
- <groupId>concurrent</groupId>
- <artifactId>concurrent</artifactId>
- <version>${concurrent_version}</version>
- </dependency>
- <dependency>
- <groupId>commons-beanutils</groupId>
- <artifactId>commons-beanutils</artifactId>
- <version>${commons_beanutils_version}</version>
- </dependency>
- <dependency>
- <groupId>commons-httpclient</groupId>
- <artifactId>commons-httpclient</artifactId>
- <version>${commons_httpclient_version}</version>
- </dependency>
- <dependency>
- <groupId>servicemix</groupId>
- <artifactId>stax-utils</artifactId>
- <version>${stax_utils_version}</version>
- </dependency>
- <dependency>
- <groupId>jetty</groupId>
- <artifactId>jetty</artifactId>
- <version>${jetty_version}</version>
- </dependency>
- <dependency>
- <groupId>log4j</groupId>
- <artifactId>log4j</artifactId>
- <version>${log4j_version}</version>
- </dependency>
- <dependency>
- <groupId>xalan</groupId>
- <artifactId>xalan</artifactId>
- <version>${xalan_version}</version>
- </dependency>
-
- <dependency>
- <groupId>annogen</groupId>
- <artifactId>annogen</artifactId>
- <version>${annogen_version}</version>
- <properties>
- <scope>compile</scope>
- </properties>
- </dependency>
- <dependency>
- <groupId>qdox</groupId>
- <artifactId>qdox</artifactId>
- <version>${qdox_version}</version>
- <properties>
- <scope>compile</scope>
- </properties>
- </dependency>
- <dependency>
- <groupId>beehive</groupId>
- <artifactId>wsm</artifactId>
- <version>${beehive_wsm_version}</version>
- <url>http://incubator.apache.org/beehive/</url>
- </dependency>
- </dependencies>
-
-</project>
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!--
+
+ Copyright 2005 The Apache Software Foundation
+
+ 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.
+
+-->
+
+<!DOCTYPE project>
+<project>
+ <pomVersion>3</pomVersion>
+ <extend>${basedir}/../etc/project.xml</extend>
+
+ <name>ServiceMix :: BPE</name>
+ <id>servicemix-bpe</id>
+ <shortDescription>BPE service engine</shortDescription>
+ <description>BPE service engine</description>
+
+ <package>org.apache.servicemix.bpe</package>
+ <packageGroups>
+ <packageGroup>
+ <title>BPE service engine</title>
+ <packages>org.apache.servicemix.bpe</packages>
+ </packageGroup>
+ </packageGroups>
+
+ <!-- ============ -->
+ <!-- Dependencies -->
+ <!-- ============ -->
+ <dependencies>
+
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>maven-jbi-plugin</artifactId>
+ <version>${pom.currentVersion}</version>
+ <type>plugin</type>
+ </dependency>
+
+ <!-- JBI bundled dependencies -->
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>servicemix-common</artifactId>
+ <version>${pom.currentVersion}</version>
+ <properties>
+ <eclipse.dependency>true</eclipse.dependency>
+ <jbi.bundle>true</jbi.bundle>
+ <jbi.bootstrap>true</jbi.bootstrap>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>commons-logging</groupId>
+ <artifactId>commons-logging</artifactId>
+ <version>${commons_logging_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>backport-util-concurrent</groupId>
+ <artifactId>backport-util-concurrent</artifactId>
+ <version>${backport_util_concurrent_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>wsdl4j</groupId>
+ <artifactId>wsdl4j</artifactId>
+ <version>${wsdl4j_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>stax</groupId>
+ <artifactId>stax-api</artifactId>
+ <version>${stax_api_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>jdom</groupId>
+ <artifactId>jdom</artifactId>
+ <version>${jdom_version}</version>
+ <properties>
+ <jbi.bundle>true</jbi.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>axis</groupId>
+ <artifactId>axis</artifactId>
+ <version>${axis_version}</version>
+ <properties>
+ <jbi.bundle>true</jbi.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>msv</groupId>
+ <artifactId>xsdlib</artifactId>
+ <version>${msv_xsdlib_version}</version>
+ <properties>
+ <jbi.bundle>true</jbi.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>commons-discovery</groupId>
+ <artifactId>commons-discovery</artifactId>
+ <version>${commons_discovery_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xbean</groupId>
+ <artifactId>xbean-spring</artifactId>
+ <version>${xbean_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xbean</groupId>
+ <artifactId>xbean-server</artifactId>
+ <version>${xbean_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.xbean</groupId>
+ <artifactId>xbean-kernel</artifactId>
+ <version>${xbean_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>springframework</groupId>
+ <artifactId>spring</artifactId>
+ <version>${spring_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>woodstox</groupId>
+ <artifactId>wstx-asl</artifactId>
+ <version>${woodstox_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>xmlbeans</groupId>
+ <artifactId>xbean</artifactId>
+ <version>${xmlbeans_version}</version>
+ <properties>
+ <jbi.bundle>true</jbi.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.ode</groupId>
+ <artifactId>bpe</artifactId>
+ <version>${ode_bpe_version}</version>
+ <properties>
+ <jbi.bundle>true</jbi.bundle>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-ejb_2.1_spec</artifactId>
+ <version>${geronimo_spec_ejb_version}</version>
+ <properties>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-activation_1.0.2_spec</artifactId>
+ <version>${geronimo_spec_activation_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-javamail_1.3.1_spec</artifactId>
+ <version>${geronimo_spec_javamail_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>jaxen</groupId>
+ <artifactId>jaxen</artifactId>
+ <version>${jaxen_version}</version>
+ <properties>
+ <jbi.bundle>true</jbi.bundle>
+ </properties>
+ </dependency>
+
+ <!-- Provided dependencies -->
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-j2ee-connector_1.5_spec</artifactId>
+ <version>${geronimo_spec_j2ee_connector_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-servlet_2.4_spec</artifactId>
+ <version>${geronimo_spec_servlet_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.geronimo.specs</groupId>
+ <artifactId>geronimo-jta_1.0.1B_spec</artifactId>
+ <version>${geronimo_spec_jta_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>servicemix-jbi</artifactId>
+ <version>${pom.currentVersion}</version>
+ <properties>
+ <eclipse.dependency>true</eclipse.dependency>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>servicemix-http</artifactId>
+ <version>${pom.currentVersion}</version>
+ <properties>
+ <eclipse.dependency>true</eclipse.dependency>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>servicemix-soap</artifactId>
+ <version>${pom.currentVersion}</version>
+ <properties>
+ <eclipse.dependency>true</eclipse.dependency>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>mx4j</groupId>
+ <artifactId>mx4j</artifactId>
+ <version>${mx4j_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>mx4j</groupId>
+ <artifactId>mx4j-remote</artifactId>
+ <version>${mx4j_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>xfire</groupId>
+ <artifactId>XmlSchema</artifactId>
+ <version>${xfire_xmlschema_version}</version>
+ </dependency>
+
+ <!-- Testing only -->
+ <dependency>
+ <groupId>${pom.groupId}</groupId>
+ <artifactId>servicemix-core</artifactId>
+ <version>${pom.currentVersion}</version>
+ <properties>
+ <eclipse.dependency>true</eclipse.dependency>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>incubator-activemq</groupId>
+ <artifactId>activemq</artifactId>
+ <version>${activemq_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>jencks</groupId>
+ <artifactId>jencks-all</artifactId>
+ <version>${jencks_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>concurrent</groupId>
+ <artifactId>concurrent</artifactId>
+ <version>${concurrent_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-beanutils</groupId>
+ <artifactId>commons-beanutils</artifactId>
+ <version>${commons_beanutils_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>commons-httpclient</groupId>
+ <artifactId>commons-httpclient</artifactId>
+ <version>${commons_httpclient_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>servicemix</groupId>
+ <artifactId>stax-utils</artifactId>
+ <version>${stax_utils_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>jetty</groupId>
+ <artifactId>jetty</artifactId>
+ <version>${jetty_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>log4j</groupId>
+ <artifactId>log4j</artifactId>
+ <version>${log4j_version}</version>
+ </dependency>
+ <dependency>
+ <groupId>xalan</groupId>
+ <artifactId>xalan</artifactId>
+ <version>${xalan_version}</version>
+ </dependency>
+
+ <dependency>
+ <groupId>annogen</groupId>
+ <artifactId>annogen</artifactId>
+ <version>${annogen_version}</version>
+ <properties>
+ <scope>compile</scope>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>qdox</groupId>
+ <artifactId>qdox</artifactId>
+ <version>${qdox_version}</version>
+ <properties>
+ <scope>compile</scope>
+ </properties>
+ </dependency>
+ <dependency>
+ <groupId>beehive</groupId>
+ <artifactId>wsm</artifactId>
+ <version>${beehive_wsm_version}</version>
+ <url>http://incubator.apache.org/beehive/</url>
+ </dependency>
+ </dependencies>
+
+</project>
Propchange: incubator/servicemix/trunk/servicemix-bpe/project.xml
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEBootstrap.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEBootstrap.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEBootstrap.java (original)
+++ incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEBootstrap.java Tue Feb 21 15:40:05 2006
@@ -1,22 +1,22 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * 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.
- */
-package org.apache.servicemix.bpe;
-
-import org.apache.servicemix.common.BaseBootstrap;
-
-public class BPEBootstrap extends BaseBootstrap {
-
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.servicemix.bpe;
+
+import org.apache.servicemix.common.BaseBootstrap;
+
+public class BPEBootstrap extends BaseBootstrap {
+
+}
Propchange: incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEBootstrap.java
------------------------------------------------------------------------------
svn:eol-style = native
Modified: incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEComponent.java
URL: http://svn.apache.org/viewcvs/incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEComponent.java?rev=379627&r1=379626&r2=379627&view=diff
==============================================================================
--- incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEComponent.java (original)
+++ incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEComponent.java Tue Feb 21 15:40:05 2006
@@ -1,52 +1,52 @@
-/*
- * Copyright 2005-2006 The Apache Software Foundation.
- *
- * 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.
- */
-package org.apache.servicemix.bpe;
-
-import org.apache.servicemix.common.BaseComponent;
-import org.apache.servicemix.common.BaseLifeCycle;
-import org.apache.servicemix.common.BaseServiceUnitManager;
-import org.apache.servicemix.common.Deployer;
-
-import org.apache.ode.bped.EventDirector;
-
-public class BPEComponent extends BaseComponent {
-
- public static String PART_PAYLOAD = "payload";
-
- private static BPEComponent INSTANCE;
-
- public static BPEComponent getInstance() {
- return INSTANCE;
- }
-
- public BPEComponent() {
- INSTANCE = this;
- }
-
- protected BaseLifeCycle createLifeCycle() {
- return new BPELifeCycle(this);
- }
-
- protected BaseServiceUnitManager createServiceUnitManager() {
- return new BaseServiceUnitManager(this,
- new Deployer[] { new BPEDeployer(this) });
- }
-
- public EventDirector getEventDirector() {
- return ((BPELifeCycle) getLifeCycle()).getEventDirector();
- }
-
-}
+/*
+ * Copyright 2005-2006 The Apache Software Foundation.
+ *
+ * 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.
+ */
+package org.apache.servicemix.bpe;
+
+import org.apache.servicemix.common.BaseComponent;
+import org.apache.servicemix.common.BaseLifeCycle;
+import org.apache.servicemix.common.BaseServiceUnitManager;
+import org.apache.servicemix.common.Deployer;
+
+import org.apache.ode.bped.EventDirector;
+
+public class BPEComponent extends BaseComponent {
+
+ public static String PART_PAYLOAD = "payload";
+
+ private static BPEComponent INSTANCE;
+
+ public static BPEComponent getInstance() {
+ return INSTANCE;
+ }
+
+ public BPEComponent() {
+ INSTANCE = this;
+ }
+
+ protected BaseLifeCycle createLifeCycle() {
+ return new BPELifeCycle(this);
+ }
+
+ protected BaseServiceUnitManager createServiceUnitManager() {
+ return new BaseServiceUnitManager(this,
+ new Deployer[] { new BPEDeployer(this) });
+ }
+
+ public EventDirector getEventDirector() {
+ return ((BPELifeCycle) getLifeCycle()).getEventDirector();
+ }
+
+}
Propchange: incubator/servicemix/trunk/servicemix-bpe/src/main/java/org/apache/servicemix/bpe/BPEComponent.java
------------------------------------------------------------------------------
svn:eol-style = native