You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@servicemix.apache.org by ff...@apache.org on 2007/09/03 05:29:24 UTC

svn commit: r572227 - in /incubator/servicemix/trunk: ./ deployables/bindingcomponents/servicemix-cxf-bc/ deployables/serviceengines/servicemix-cxf-se/ distributions/apache-servicemix/ distributions/apache-servicemix/src/main/assembly/ samples/ samples...

Author: ffang
Date: Sun Sep  2 20:29:22 2007
New Revision: 572227

URL: http://svn.apache.org/viewvc?rev=572227&view=rev
Log:
[SM-1047] write cxf-wsdl-first sample with servicemix-cxf-se and servicemix-cxf-bc

Added:
    incubator/servicemix/trunk/samples/cxf-wsdl-first/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/src/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml   (with props)
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/
    incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml   (with props)
Modified:
    incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/pom.xml
    incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/pom.xml
    incubator/servicemix/trunk/distributions/apache-servicemix/pom.xml
    incubator/servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml
    incubator/servicemix/trunk/pom.xml
    incubator/servicemix/trunk/samples/pom.xml

Modified: incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/pom.xml?rev=572227&r1=572226&r2=572227&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/pom.xml (original)
+++ incubator/servicemix/trunk/deployables/bindingcomponents/servicemix-cxf-bc/pom.xml Sun Sep  2 20:29:22 2007
@@ -57,6 +57,16 @@
       <scope>provided</scope>
     </dependency>
     <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-common</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-soap2</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-frontend-jaxws</artifactId>
       <version>${cxf-version}</version>
@@ -71,37 +81,31 @@
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-ws-policy</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-ws-addr</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-ws-rm</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-ws-security</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-bindings-soap</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-transports-http-jetty</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
@@ -119,32 +123,27 @@
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-transports-jbi</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.apache.cxf</groupId>
       <artifactId>cxf-rt-bindings-jbi</artifactId>
       <version>${cxf-version}</version>
-      <scope>provided</scope>
     </dependency>
 
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>jetty</artifactId>
       <version>${jetty-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>jetty-sslengine</artifactId>
       <version>${jetty-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>org.mortbay.jetty</groupId>
       <artifactId>jetty-util</artifactId>
       <version>${jetty-version}</version>
-      <scope>provided</scope>
     </dependency>
     <dependency>
       <groupId>junit</groupId>
@@ -200,6 +199,62 @@
       <artifactId>derby</artifactId>
       <version>${derby-version}</version>
       <scope>test</scope>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.woden</groupId>
+      <artifactId>woden</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+      <groupId>commons-logging</groupId>
+      <artifactId>commons-logging</artifactId>
+      <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>org.apache.geronimo.specs</groupId>
+       <artifactId>geronimo-activation_1.1_spec</artifactId>
+       <version>1.0-M1</version>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>org.apache.servicemix</groupId>
+       <artifactId>servicemix-jbi</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>stax</groupId>
+       <artifactId>stax-api</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>org.codehaus.woodstox</groupId>
+       <artifactId>wstx-asl</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>wsdl4j</groupId>
+       <artifactId>wsdl4j</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>xalan</groupId>
+       <artifactId>xalan</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>xerces</groupId>
+       <artifactId>xercesImpl</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>xml-apis</groupId>
+       <artifactId>xml-apis</artifactId>
+       <scope>provided</scope>
+    </dependency>
+    <dependency>
+       <groupId>org.apache.ws.commons</groupId>
+       <artifactId>XmlSchema</artifactId>
+       <scope>provided</scope>
     </dependency>
   </dependencies>
 

Modified: incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/pom.xml?rev=572227&r1=572226&r2=572227&view=diff
==============================================================================
--- incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/pom.xml (original)
+++ incubator/servicemix/trunk/deployables/serviceengines/servicemix-cxf-se/pom.xml Sun Sep  2 20:29:22 2007
@@ -39,80 +39,105 @@
 	<dependencies>
 
 		<dependency>
-			<groupId>org.apache.servicemix</groupId>
-			<artifactId>servicemix-shared</artifactId>
-            <scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.cxf</groupId>
-			<artifactId>cxf-rt-frontend-jaxws</artifactId>
-			<version>${cxf-version}</version>
-            <scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.servicemix</groupId>
-			<artifactId>servicemix-core</artifactId>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>commons-logging</groupId>
-			<artifactId>commons-logging</artifactId>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-support</artifactId>
-			<version>${spring-version}</version>
-            <scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-aop</artifactId>
-			<version>${spring-version}</version>
-            <scope>provided</scope>
-		</dependency>
-        <dependency>
-            <groupId>org.springframework</groupId>
-            <artifactId>spring-jmx</artifactId>
-            <version>${spring-version}</version>
-            <scope>provided</scope>
-        </dependency>
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-context</artifactId>
-			<version>${spring-version}</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-beans</artifactId>
-			<version>${spring-version}</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.springframework</groupId>
-			<artifactId>spring-core</artifactId>
-			<version>${spring-version}</version>
-			<scope>provided</scope>
-		</dependency>
-		<dependency>
-			<groupId>org.apache.cxf</groupId>
-			<artifactId>cxf-rt-transports-jbi</artifactId>
-			<version>${cxf-version}</version>
-            <scope>provided</scope>
+		    <groupId>org.apache.servicemix</groupId>
+		    <artifactId>servicemix-shared</artifactId>
+            	    <scope>provided</scope>
+		</dependency>
+                <dependency>
+                    <groupId>org.apache.servicemix</groupId>
+                    <artifactId>servicemix-common</artifactId>
+                    <version>${servicemix-version}</version>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.servicemix</groupId>
+                    <artifactId>servicemix-jbi</artifactId>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>wsdl4j</groupId>
+                    <artifactId>wsdl4j</artifactId>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>org.apache.geronimo.specs</groupId>
+                    <artifactId>geronimo-activation_1.1_spec</artifactId>
+                    <version>1.0-M1</version>
+                    <scope>provided</scope>
+                </dependency>
+                <dependency>
+                    <groupId>stax</groupId>
+                    <artifactId>stax-api</artifactId>
+                    <scope>provided</scope>
+                </dependency>
+
+		<dependency>
+		    <groupId>org.apache.cxf</groupId>
+		    <artifactId>cxf-rt-frontend-jaxws</artifactId>
+		    <version>${cxf-version}</version>
+		</dependency>
+		<dependency>
+		    <groupId>org.apache.servicemix</groupId>
+		    <artifactId>servicemix-core</artifactId>
+		    <scope>provided</scope>
+		</dependency>
+		<dependency>
+		    <groupId>commons-logging</groupId>
+		    <artifactId>commons-logging</artifactId>
+		    <scope>provided</scope>
+		</dependency>
+		<dependency>
+		    <groupId>org.springframework</groupId>
+		    <artifactId>spring-support</artifactId>
+		    <version>${spring-version}</version>
+ 	            <scope>provided</scope>
+		</dependency>
+		<dependency>
+		    <groupId>org.springframework</groupId>
+		    <artifactId>spring-aop</artifactId>
+		    <version>${spring-version}</version>
+		    <scope>provided</scope>
+		</dependency>
+	        <dependency>
+        	    <groupId>org.springframework</groupId>
+                    <artifactId>spring-jmx</artifactId>
+                    <version>${spring-version}</version>
+                    <scope>provided</scope>
+                </dependency>
+		<dependency>
+		    <groupId>org.springframework</groupId>
+		    <artifactId>spring-context</artifactId>
+		    <version>${spring-version}</version>
+		    <scope>provided</scope>
+		</dependency>
+		<dependency>
+		    <groupId>org.springframework</groupId>
+		    <artifactId>spring-beans</artifactId>
+		    <version>${spring-version}</version>
+		    <scope>provided</scope>
+		</dependency>
+		<dependency>
+		    <groupId>org.springframework</groupId>
+		    <artifactId>spring-core</artifactId>
+		    <version>${spring-version}</version>
+		    <scope>provided</scope>
+		</dependency>
+		<dependency>
+		    <groupId>org.apache.cxf</groupId>
+		    <artifactId>cxf-rt-transports-jbi</artifactId>
+		    <version>${cxf-version}</version>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.cxf</groupId>
 			<artifactId>cxf-rt-bindings-jbi</artifactId>
 			<version>${cxf-version}</version>
-            <scope>provided</scope>
 		</dependency>
 		<dependency>
 			<groupId>org.apache.cxf</groupId>
 			<artifactId>cxf-testutils</artifactId>
 			<version>${cxf-version}</version>
-            <scope>provided</scope>
+                        <scope>provided</scope>
 		</dependency>
+
 	</dependencies>
 	<build>
 		<plugins>

Modified: incubator/servicemix/trunk/distributions/apache-servicemix/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/distributions/apache-servicemix/pom.xml?rev=572227&r1=572226&r2=572227&view=diff
==============================================================================
--- incubator/servicemix/trunk/distributions/apache-servicemix/pom.xml (original)
+++ incubator/servicemix/trunk/distributions/apache-servicemix/pom.xml Sun Sep  2 20:29:22 2007
@@ -144,6 +144,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.servicemix.samples</groupId>
+      <artifactId>cxf-wsdl-first</artifactId>
+      <type>pom</type>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix.samples</groupId>
       <artifactId>loan-broker</artifactId>
       <type>pom</type>
     </dependency>
@@ -501,6 +506,25 @@
             </configuration>
           </execution>
           <execution>
+            <id>copy-cxf-wsdl-first-sa</id>
+            <phase>generate-resources</phase>
+            <goals>
+              <goal>copy</goal>
+            </goals>
+            <configuration>
+                  <id>cxf-wsdl-first</id>
+              <outputDirectory>target/samples/cxf-wsdl-first-${servicemix-version}</outputDirectory>
+              <artifactItems>
+                <artifactItem>
+                  <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
+                  <artifactId>wsdl-first-sa</artifactId>
+                  <version>${servicemix-version}</version>
+                  <type>zip</type>
+                </artifactItem>
+              </artifactItems>
+            </configuration>
+          </execution>
+          <execution>
             <id>unpack-samples</id>
             <phase>generate-resources</phase>
             <goals>
@@ -519,6 +543,13 @@
                 <artifactItem>
                   <groupId>org.apache.servicemix.samples</groupId>
                   <artifactId>wsdl-first</artifactId>
+                  <version>${servicemix-version}</version>
+                  <classifier>src</classifier>
+                  <type>zip</type>
+                </artifactItem>
+                <artifactItem>
+                  <groupId>org.apache.servicemix.samples</groupId>
+                  <artifactId>cxf-wsdl-first</artifactId>
                   <version>${servicemix-version}</version>
                   <classifier>src</classifier>
                   <type>zip</type>

Modified: incubator/servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml?rev=572227&r1=572226&r2=572227&view=diff
==============================================================================
--- incubator/servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml (original)
+++ incubator/servicemix/trunk/distributions/apache-servicemix/src/main/assembly/bin.xml Sun Sep  2 20:29:22 2007
@@ -60,6 +60,10 @@
       <outputDirectory>examples/wsdl-first</outputDirectory>
     </fileSet>
     <fileSet>
+      <directory>target/samples/cxf-wsdl-first-${servicemix-version}</directory>
+      <outputDirectory>examples/cxf-wsdl-first</outputDirectory>
+    </fileSet>
+    <fileSet>
       <directory>target/samples/loan-broker-${servicemix-version}</directory>
       <outputDirectory>examples/loan-broker-bpel</outputDirectory>
     </fileSet>

Modified: incubator/servicemix/trunk/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/pom.xml?rev=572227&r1=572226&r2=572227&view=diff
==============================================================================
--- incubator/servicemix/trunk/pom.xml (original)
+++ incubator/servicemix/trunk/pom.xml Sun Sep  2 20:29:22 2007
@@ -803,6 +803,13 @@
                 <version>3.2-incubating-SNAPSHOT</version>
                 <type>pom</type>
             </dependency>
+            
+            <dependency>
+                <groupId>org.apache.servicemix.samples</groupId>
+                <artifactId>cxf-wsdl-first</artifactId>
+                <version>3.2-incubating-SNAPSHOT</version>
+                <type>pom</type>
+            </dependency>
             <dependency>
                 <groupId>org.apache.servicemix.samples</groupId>
                 <artifactId>loan-broker</artifactId>

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt Sun Sep  2 20:29:22 2007
@@ -0,0 +1,36 @@
+/*
+ * 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.
+ */
+
+Welcome to ServiceMix WSDL design first example
+===============================================
+
+This example shows how to expose a service in servicemix-cxf-se, beginning from the
+WSDL, and exposing it over servicemix-cxf-bc.
+
+First start a ServiceMix server (if not already started) by running
+  bin/servicemix
+in the root dir of this distribution.
+
+To run this sample, launch the following commands:
+  mvn install jbi:projectDeploy
+
+You can browse the WSDL at
+  http://localhost:8192/PersonService?wsdl
+  
+You can also open the client.html page in a browser
+to send a request to the service.
+

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/README.txt
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html Sun Sep  2 20:29:22 2007
@@ -0,0 +1,135 @@
+<!--
+    
+    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.
+
+-->
+<!-- $Rev$ $Date$ -->
+<html>
+<head>
+<title>ServiceMix WSDL-First Example</title>
+<script type="text/javascript">
+var urlToOpen = "http://localhost:8192/PersonService/"; //default URL to open
+
+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 {
+        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");
+           var responseStatus = "";
+           try {
+             responseStatus = xmlhttp.status + "";
+           } catch (e) {
+             responseStatus = "ERROR WHILE RETRIEVING STATUS; MAYBE UNABLE TO CONNECT.";
+           }
+           response.value = "STATUS: " + responseStatus + "\n" + xmlhttp.responseText;
+        }
+     }
+  }
+  return xmlhttp;
+}
+
+function send() {
+  if ((document.getElementById("urlToOpen").value != urlToOpen) && (document.getElementById("urlToOpen").value != "")) {
+    //use user entry only if it at least can be okay
+    urlToOpen = document.getElementById("urlToOpen").value;
+  }  
+  var xmlhttp = getHTTPObject();
+  if (!xmlhttp) {
+    alert('cound not create XMLHttpRequest object');
+    return;
+  }
+  var request = document.getElementById("request");
+  var response = document.getElementById("response");
+  try {
+    netscape.security.PrivilegeManager.enablePrivilege("UniversalBrowserRead UniversalBrowserWrite");
+  } catch (e) {
+  }
+  try {
+    xmlhttp.open("POST", urlToOpen, true);
+  } catch (e) {
+    alert('error opening');
+  }
+  xmlhttp.send(request.value);
+}
+
+</script>
+</head>
+
+<body>
+
+<h1>ServiceMix WSDL-First Example</h1>
+
+<p>Welcome to the WSDL-First example for ServiceMix</p>
+
+<p>Perform a POST into the HTTP binding. This requires JavaScript.</p> 
+<p>Target: <input type="text" size="50" id="urlToOpen" value=""><script type="text/javascript">document.getElementById("urlToOpen").value = urlToOpen;</script>.</p>
+  
+<table>
+  <tr>
+    <td>
+  <textarea id="request" style="width:600px;height:400px" onKeyUp="send();"><?xml version="1.0" encoding="UTF-8"?>
+<env:Envelope xmlns:env="http://schemas.xmlsoap.org/soap/envelope/"
+              xmlns:tns="http://servicemix.apache.org/samples/wsdl-first/types">
+  <env:Body>
+    <tns:GetPerson>
+      <tns:personId>world</tns:personId>
+    </tns:GetPerson>
+  </env:Body>
+</env: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/samples/cxf-wsdl-first/client.html
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/client.html
------------------------------------------------------------------------------
    svn:mime-type = text/html

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix</groupId>
+        <artifactId>samples</artifactId>
+        <version>3.2-incubating-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.samples</groupId>
+    <artifactId>cxf-wsdl-first</artifactId>
+    <name>ServiceMix :: Samples :: CXF WSDL first</name>
+    <packaging>pom</packaging>
+    
+    <!-- Add ServiceMix repositories for snaphots and releases -->
+    <pluginRepositories>
+      <pluginRepository>
+        <id>apache.snapshots</id>
+        <name>Apache Snapshots Repository</name>
+        <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+        <snapshots>
+          <enabled>true</enabled>
+        </snapshots>
+        <releases>
+           <enabled>false</enabled>
+        </releases>
+      </pluginRepository>
+      <pluginRepository>
+        <id>apache.incubating</id>
+        <name>Apache Incubating Repository</name>
+        <url>http://people.apache.org/repo/m2-incubating-repository</url>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+        <releases>
+           <enabled>true</enabled>
+        </releases>
+      </pluginRepository>
+    </pluginRepositories>
+    <repositories>
+      <repository>
+        <id>apache.snapshots</id>
+        <name>Apache Snapshots Repository</name>
+        <url>http://people.apache.org/repo/m2-snapshot-repository</url>
+        <snapshots>
+          <enabled>true</enabled>
+        </snapshots>
+        <releases>
+           <enabled>false</enabled>
+        </releases>
+      </repository>
+      <repository>
+        <id>apache.incubating</id>
+        <name>Apache Incubating Repository</name>
+        <url>http://people.apache.org/repo/m2-incubating-repository</url>
+        <snapshots>
+          <enabled>false</enabled>
+        </snapshots>
+        <releases>
+           <enabled>true</enabled>
+        </releases>
+      </repository>
+    </repositories>
+    
+    <modules>
+      <module>wsdl-first-cxfse-su</module>
+      <module>wsdl-first-cxfbc-su</module>
+      <module>wsdl-first-sa</module>
+    </modules>
+    
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-assembly-plugin</artifactId>
+                <version>2.1</version>
+                <inherited>false</inherited>
+                <executions>
+                    <execution>
+                        <id>src</id>
+                        <phase>package</phase>
+                        <goals>
+                            <goal>single</goal>
+                        </goals>
+                        <configuration>
+                            <descriptors>
+                                <descriptor>src/main/assembly/src.xml</descriptor>
+                            </descriptors>
+                        </configuration>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,40 @@
+<?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.
+
+-->
+<assembly>
+  <id>src</id>
+  <formats>
+    <format>tar.gz</format>
+    <format>zip</format>
+  </formats>
+  <fileSets>
+    <fileSet>
+      <includes>
+        <include>README*</include>
+        <include>LICENSE*</include>
+        <include>NOTICE*</include>
+        <include>pom.xml</include>
+        <include>*.html</include>
+        <include>src/**/*</include>
+        <include>*/pom.xml</include>
+        <include>*/src/**/*</include>
+      </includes>
+    </fileSet>
+  </fileSets>
+</assembly>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/src/main/assembly/src.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,52 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.samples</groupId>
+        <artifactId>cxf-wsdl-first</artifactId>
+        <version>3.2-incubating-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
+    <artifactId>wsdl-first-cxfbc-su</artifactId>
+    <packaging>jbi-service-unit</packaging>
+    <name>ServiceMix :: Samples :: WSDL first :: CXF BC</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-cxf-bc</artifactId>
+            <version>3.2-incubating-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl Sun Sep  2 20:29:22 2007
@@ -0,0 +1,98 @@
+<?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.
+
+-->
+<!-- $Rev$ $Date$ -->
+<wsdl:definitions name="wsdl-first"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:tns="http://servicemix.apache.org/samples/wsdl-first"
+	xmlns:typens="http://servicemix.apache.org/samples/wsdl-first/types"
+	targetNamespace="http://servicemix.apache.org/samples/wsdl-first">
+
+	<wsdl:types>
+		<xsd:schema targetNamespace="http://servicemix.apache.org/samples/wsdl-first/types"
+		            elementFormDefault="qualified">
+			<xsd:element name="GetPerson">
+			  <xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name="personId" type="xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:element name="GetPersonResponse">
+			  <xsd:complexType>
+					<xsd:sequence>
+					    <xsd:element name="personId" type="xsd:string"/>
+						<xsd:element name="ssn" type="xsd:string"/>
+						<xsd:element name="name" type="xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:element name="UnknownPersonFault">
+			  <xsd:complexType>
+					<xsd:sequence>
+					    <xsd:element name="personId" type="xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+		</xsd:schema>
+  </wsdl:types>
+	
+	<wsdl:message name="GetPersonRequest">
+		<wsdl:part name="payload" element="typens:GetPerson"/>
+	</wsdl:message>
+	<wsdl:message name="GetPersonResponse">
+		<wsdl:part name="payload" element="typens:GetPersonResponse"/>
+	</wsdl:message>
+	<wsdl:message name="UnknownPersonFault">
+		<wsdl:part name="payload" element="typens:UnknownPersonFault"/>
+	</wsdl:message>
+
+    <wsdl:portType name="Person">
+		<wsdl:operation name="GetPerson">
+			<wsdl:input message="tns:GetPersonRequest"/>
+			<wsdl:output message="tns:GetPersonResponse"/>
+			<wsdl:fault name="UnknownPerson" message="tns:UnknownPersonFault"/>
+		</wsdl:operation>
+	</wsdl:portType>
+	
+    <wsdl:binding name="PersonSOAPBinding" type="tns:Person">
+    	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+		<wsdl:operation name="GetPerson">
+			<wsdl:input>
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="UnknownPerson">
+				<soap:fault use="literal" name="UnknownPerson" />
+			</wsdl:fault>
+       </wsdl:operation>
+   </wsdl:binding>
+
+	<wsdl:service name="PersonService">
+    	<wsdl:port binding="tns:PersonSOAPBinding" name="soap">
+           <soap:address location="http://localhost:8192/PersonService/" />
+       </wsdl:port>
+   </wsdl:service>
+
+</wsdl:definitions>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<beans xmlns:cxfbc="http://servicemix.apache.org/cxfbc/1.0"
+       xmlns:person="http://servicemix.apache.org/samples/wsdl-first">
+
+  <cxfbc:consumer wsdl="classpath:person.wsdl"
+                      targetEndpoint="soap"
+                      targetService="person:PersonService"
+                      targetInterface="person:Person"/>
+
+</beans>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfbc-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.samples</groupId>
+        <artifactId>cxf-wsdl-first</artifactId>
+        <version>3.2-incubating-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
+    <artifactId>wsdl-first-cxfse-su</artifactId>
+    <packaging>jbi-service-unit</packaging>
+    <name>ServiceMix :: Samples :: WSDL first :: CXF SE</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix</groupId>
+            <artifactId>servicemix-cxf-se</artifactId>
+            <version>${servicemix-version}</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <artifactId>maven-compiler-plugin</artifactId>
+                <configuration>
+                    <source>1.5</source>
+                    <target>1.5</target>
+                </configuration>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.cxf</groupId>
+                <artifactId>cxf-codegen-plugin</artifactId>
+                <version>${cxf-version}</version>
+                <executions>
+                    <execution>
+                        <phase>generate-sources</phase>
+                        <configuration>
+                            <sourceRoot>${basedir}/target/jaxws</sourceRoot>
+                            <wsdlOptions>
+                                <wsdlOption>
+                                    <wsdl>${basedir}/src/main/resources/person.wsdl</wsdl>
+                                    <extraargs>
+                                        <extraarg>-verbose</extraarg>
+                                    </extraargs>
+                                </wsdlOption>
+
+                            </wsdlOptions>
+
+                        </configuration>
+                        <goals>
+                            <goal>wsdl2java</goal>
+                        </goals>
+                    </execution>
+                </executions>
+            </plugin>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <version>${servicemix-version}</version>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java Sun Sep  2 20:29:22 2007
@@ -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.
+ */
+package org.apache.servicemix.samples.wsdl_first;
+
+import javax.jws.WebService;
+import javax.xml.ws.Holder;
+
+import org.apache.servicemix.samples.wsdl_first.types.GetPerson;
+import org.apache.servicemix.samples.wsdl_first.types.GetPersonResponse;
+
+@WebService(serviceName = "PersonService", targetNamespace = "http://servicemix.apache.org/samples/wsdl-first", endpointInterface = "org.apache.servicemix.samples.wsdl_first.Person")
+public class PersonImpl implements Person {
+
+    public void getPerson(Holder<String> personId, Holder<String> ssn, Holder<String> name)
+        throws UnknownPersonFault
+    {
+        if (personId.value == null || personId.value.length() == 0) {
+            org.apache.servicemix.samples.wsdl_first.types.UnknownPersonFault fault = new org.apache.servicemix.samples.wsdl_first.types.UnknownPersonFault();
+            fault.setPersonId(personId.value);
+            throw new UnknownPersonFault(null, fault);
+        }
+        name.value = "Guillaume";
+        ssn.value = "000-000-0000";
+    }
+
+}

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl Sun Sep  2 20:29:22 2007
@@ -0,0 +1,98 @@
+<?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.
+
+-->
+<!-- $Rev$ $Date$ -->
+<wsdl:definitions name="wsdl-first"
+	xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"
+	xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema"
+	xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+	xmlns:tns="http://servicemix.apache.org/samples/wsdl-first"
+	xmlns:typens="http://servicemix.apache.org/samples/wsdl-first/types"
+	targetNamespace="http://servicemix.apache.org/samples/wsdl-first">
+
+	<wsdl:types>
+		<xsd:schema targetNamespace="http://servicemix.apache.org/samples/wsdl-first/types"
+		            elementFormDefault="qualified">
+			<xsd:element name="GetPerson">
+			  <xsd:complexType>
+					<xsd:sequence>
+						<xsd:element name="personId" type="xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:element name="GetPersonResponse">
+			  <xsd:complexType>
+					<xsd:sequence>
+					    <xsd:element name="personId" type="xsd:string"/>
+						<xsd:element name="ssn" type="xsd:string"/>
+						<xsd:element name="name" type="xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+			<xsd:element name="UnknownPersonFault">
+			  <xsd:complexType>
+					<xsd:sequence>
+					    <xsd:element name="personId" type="xsd:string"/>
+					</xsd:sequence>
+				</xsd:complexType>
+			</xsd:element>
+		</xsd:schema>
+  </wsdl:types>
+	
+	<wsdl:message name="GetPersonRequest">
+		<wsdl:part name="payload" element="typens:GetPerson"/>
+	</wsdl:message>
+	<wsdl:message name="GetPersonResponse">
+		<wsdl:part name="payload" element="typens:GetPersonResponse"/>
+	</wsdl:message>
+	<wsdl:message name="UnknownPersonFault">
+		<wsdl:part name="payload" element="typens:UnknownPersonFault"/>
+	</wsdl:message>
+
+    <wsdl:portType name="Person">
+		<wsdl:operation name="GetPerson">
+			<wsdl:input message="tns:GetPersonRequest"/>
+			<wsdl:output message="tns:GetPersonResponse"/>
+			<wsdl:fault name="UnknownPerson" message="tns:UnknownPersonFault"/>
+		</wsdl:operation>
+	</wsdl:portType>
+	
+    <wsdl:binding name="PersonSOAPBinding" type="tns:Person">
+    	<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http" />
+		<wsdl:operation name="GetPerson">
+			<wsdl:input>
+				<soap:body use="literal" />
+			</wsdl:input>
+			<wsdl:output>
+				<soap:body use="literal" />
+			</wsdl:output>
+			<wsdl:fault name="UnknownPerson">
+				<soap:fault use="literal" name="UnknownPerson" />
+			</wsdl:fault>
+       </wsdl:operation>
+   </wsdl:binding>
+
+	<wsdl:service name="PersonService">
+    	<wsdl:port binding="tns:PersonSOAPBinding" name="soap">
+           <soap:address location="http://localhost:8192/PersonService/" />
+       </wsdl:port>
+   </wsdl:service>
+
+</wsdl:definitions>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,28 @@
+<?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.
+
+-->
+<beans xmlns:cxfse="http://servicemix.apache.org/cxfse/1.0">
+
+    <cxfse:endpoint>
+        <cxfse:pojo>
+          <bean class="org.apache.servicemix.samples.wsdl_first.PersonImpl" />
+        </cxfse:pojo>
+    </cxfse:endpoint>
+
+</beans>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-cxfse-su/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml?rev=572227&view=auto
==============================================================================
--- incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml (added)
+++ incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml Sun Sep  2 20:29:22 2007
@@ -0,0 +1,58 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
+
+<!--
+
+    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.
+-->
+
+    <modelVersion>4.0.0</modelVersion>
+
+    <parent>
+        <groupId>org.apache.servicemix.samples</groupId>
+        <artifactId>cxf-wsdl-first</artifactId>
+        <version>3.2-incubating-SNAPSHOT</version>
+    </parent>
+
+    <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
+    <artifactId>wsdl-first-sa</artifactId>
+    <packaging>jbi-service-assembly</packaging>
+    <name>ServiceMix :: Samples :: WSDL first :: SA</name>
+
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
+            <artifactId>wsdl-first-cxfse-su</artifactId>
+            <version>3.2-incubating-SNAPSHOT</version>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.servicemix.samples.cxf-wsdl-first</groupId>
+            <artifactId>wsdl-first-cxfbc-su</artifactId>
+            <version>3.2-incubating-SNAPSHOT</version>
+        </dependency>
+    </dependencies>
+
+    <build>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.servicemix.tooling</groupId>
+                <artifactId>jbi-maven-plugin</artifactId>
+                <extensions>true</extensions>
+            </plugin>
+        </plugins>
+    </build>
+
+</project>

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: incubator/servicemix/trunk/samples/cxf-wsdl-first/wsdl-first-sa/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/servicemix/trunk/samples/pom.xml
URL: http://svn.apache.org/viewvc/incubator/servicemix/trunk/samples/pom.xml?rev=572227&r1=572226&r2=572227&view=diff
==============================================================================
--- incubator/servicemix/trunk/samples/pom.xml (original)
+++ incubator/servicemix/trunk/samples/pom.xml Sun Sep  2 20:29:22 2007
@@ -34,6 +34,7 @@
 
   <modules>
     <module>wsdl-first</module>
+    <module>cxf-wsdl-first</module>
     <module>loan-broker</module>
     <module>bridge</module>
     <module>servicemix-web</module>