Author: ffang
Date: Wed Jun 11 22:40:48 2008
New Revision: 666960

URL: http://svn.apache.org/viewvc?rev=666960&view=rev
Log:
[SM-1380]maven archetype to support wsdl-first development with 
servicemix-cxf-se

Added:
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java
   (with props)
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.classpath
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.project
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
   (with props)
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
   (with props)
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
   (with props)
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
   (with props)
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
   (with props)
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
   (with props)
Modified:
    servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml
    
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/pom.xml
    
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch
    
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat

Modified: servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml?rev=666960&r1=666959&r2=666960&view=diff
==============================================================================
--- servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml (original)
+++ servicemix/smx3/branches/servicemix-3.2/archetypes/pom.xml Wed Jun 11 
22:40:48 2008
@@ -60,6 +60,7 @@
         <module>servicemix-drools-service-unit</module>
         <module>servicemix-cxf-bc-service-unit</module>
         <module>servicemix-cxf-se-service-unit</module>
+        <module>servicemix-cxf-se-wsdl-first-service-unit</module>
         <module>servicemix-osworkflow-service-unit</module>
         <module>servicemix-project-root</module>
         <module>servicemix-archetype-catalog</module>
@@ -91,6 +92,7 @@
                                        <filters>
                                                
<servicemix-version>${servicemix-version}</servicemix-version>
                                                
<xbean-version>${xbean-version}</xbean-version>
+                                                
<cxf-version>${cxf-version}</cxf-version>
                                                
<camel-version>${camel-version}</camel-version>
                                                
<xfire-version>${xfire-version}</xfire-version>
                                                 
<activemq-version>${activemq-version}</activemq-version>

Modified: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/pom.xml?rev=666960&r1=666959&r2=666960&view=diff
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/pom.xml
 (original)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/pom.xml
 Wed Jun 11 22:40:48 2008
@@ -163,6 +163,11 @@
     </dependency>
     <dependency>
       <groupId>org.apache.servicemix.tooling</groupId>
+      <artifactId>servicemix-cxf-se-wsdl-first-service-unit</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>org.apache.servicemix.tooling</groupId>
       <artifactId>servicemix-cxf-bc-service-unit</artifactId>
       <version>${servicemix-version}</version>
     </dependency>

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,25 @@
+/*
+ * 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.tooling;
+
+public class CxfSEWsdlFirstServiceUnitTest extends AbstractArchetypeTest {
+
+    public void testCxfWsdlFirstSEServiceUnit() throws Exception {
+        testServiceMixArchetype("cxf-se-wsdl-first-service-unit");
+    }
+
+}

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-archetypes-itests/src/test/java/org/apache/servicemix/tooling/CxfSEWsdlFirstServiceUnitTest.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.classpath
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.classpath?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.classpath
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.classpath
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,5 @@
+<classpath>
+  <classpathentry kind="src" path="src/main/resources" including="**/*" 
excluding="**/*.java"/>
+  <classpathentry kind="output" path="target/classes"/>
+  <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+</classpath>
\ No newline at end of file

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.project
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.project?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.project
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/.project
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,22 @@
+<projectDescription>
+  <name>servicemix-cxf-se-service-unit</name>
+  <comment>ServiceMix is an open source ESB based on the Java Business
+    Integration framework - JSR-208</comment>
+  <projects/>
+  <buildSpec>
+    <buildCommand>
+      <name>org.eclipse.jdt.core.javabuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>com.atlassw.tools.eclipse.checkstyle.CheckstyleBuilder</name>
+    </buildCommand>
+    <buildCommand>
+      <name>net.sourceforge.pmd.runtime.pmdBuilder</name>
+    </buildCommand>
+  </buildSpec>
+  <natures>
+    <nature>org.eclipse.jdt.core.javanature</nature>
+    <nature>com.atlassw.tools.eclipse.checkstyle.CheckstyleNature</nature>
+    <nature>net.sourceforge.pmd.runtime.pmdNature</nature>
+  </natures>
+</projectDescription>
\ No newline at end of file

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,34 @@
+<?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>archetypes</artifactId>
+    <version>3.2.2-SNAPSHOT</version>
+  </parent>
+
+  <groupId>org.apache.servicemix.tooling</groupId>
+  <artifactId>servicemix-cxf-se-wsdl-first-service-unit</artifactId>
+  <name>ServiceMix :: Archetypes :: CxfSEWsdlFirstServiceUnit</name>
+
+</project>

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,29 @@
+<?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.
+
+-->
+<archetype>
+  <id>servicemix-cxf-se-service-unit</id>
+  <sources>
+    
<source>src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java</source>
+  </sources>
+  <resources>
+    <resource>src/main/resources/xbean.xml</resource>
+    <resource>src/main/resources/person.wsdl</resource>
+  </resources>
+</archetype>

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/META-INF/maven/archetype.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,99 @@
+<?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.
+
+-->
+<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";>
+  <modelVersion>4.0.0</modelVersion>
+  <groupId>${groupId}</groupId>
+  <artifactId>${artifactId}</artifactId>
+  <packaging>jbi-service-unit</packaging>
+  <version>${version}</version>
+  <name>A custom project</name>
+  <url>http://www.myorganization.org</url>
+  @{repositories}
+  <properties>
+    <servicemix-version>@{servicemix-version}</servicemix-version>
+    <cxf-version>@{cxf-version}</cxf-version>
+  </properties>
+  <dependencies>
+    <dependency>
+      <groupId>org.apache.servicemix</groupId>
+      <artifactId>servicemix-cxf-se</artifactId>
+      <version>${servicemix-version}</version>
+    </dependency>
+    <dependency>
+      <groupId>junit</groupId>
+      <artifactId>junit</artifactId>
+      <version>3.8.1</version>
+      <scope>test</scope>
+  </dependency>
+  </dependencies>
+  <build>
+    <resources>
+      <resource>
+        <directory>src/main/resources</directory>
+        <includes>
+          <include>**/*</include>
+        </includes>
+      </resource>
+    </resources>
+    <plugins>
+      <plugin>
+        <artifactId>maven-compiler-plugin</artifactId>
+        <configuration>
+          <source>1.5</source>
+          <target>1.5</target>
+        </configuration>
+      </plugin>
+      <plugin>
+      <groupId>org.apache.servicemix.tooling</groupId>
+        <artifactId>jbi-maven-plugin</artifactId>
+        <version>${servicemix-version}</version>
+        <extensions>true</extensions>
+        <configuration>
+          <type>service-unit</type>
+        </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>./target/jaxws</sourceRoot>
+                          <wsdlOptions>
+                              <wsdlOption>
+                                  <wsdl>./src/main/resources/person.wsdl</wsdl>
+                                  <extraargs>
+                                      <extraarg>-verbose</extraarg>
+                                  </extraargs>
+                              </wsdlOption>
+                          </wsdlOptions>
+                      </configuration>
+                      <goals>
+                          <goal>wsdl2java</goal>
+                      </goals>
+                  </execution>
+              </executions>
+       </plugin>
+    </plugins>
+  </build>
+</project>

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
 Wed Jun 11 22:40:48 2008
@@ -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;
+
[EMAIL PROTECTED](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: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/java/org/apache/servicemix/samples/wsdl_first/PersonImpl.java
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
 Wed Jun 11 22:40:48 2008
@@ -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:8092/PersonService/"; />
+       </wsdl:port>
+   </wsdl:service>
+
+</wsdl:definitions>

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/person.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml?rev=666960&view=auto
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 (added)
+++ 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
 Wed Jun 11 22:40:48 2008
@@ -0,0 +1,32 @@
+<?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";
+       xmlns="http://www.springframework.org/schema/beans";
+       xmlns:xsi="http://http://www.w3.org/2001/XMLSchema-instance";
+       xsi:schemaLocation="http://servicemix.apache.org/cxfse/1.0 
http://servicemix.apache.org/schema/[EMAIL PROTECTED]
+       http://www.springframework.org/schema/beans 
http://www.springframework.org/schema/beans/spring-beans-2.0.xsd";>
+
+    <cxfse:endpoint>
+        <cxfse:pojo>
+          <bean class="org.apache.servicemix.samples.wsdl_first.PersonImpl" />
+        </cxfse:pojo>
+    </cxfse:endpoint>
+
+</beans>

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:keywords = Rev Date

Propchange: 
servicemix/smx3/branches/servicemix-3.2/archetypes/servicemix-cxf-se-wsdl-first-service-unit/src/main/resources/archetype-resources/src/main/resources/xbean.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: 
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch?rev=666960&r1=666959&r2=666960&view=diff
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch
 (original)
+++ 
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch
 Wed Jun 11 22:40:48 2008
@@ -80,7 +80,7 @@
   echo "                    jsr181-annotated, jsr181-wsdl-first,"
   echo "                    saxon-xquery, saxon-xslt, osworkflow,"
   echo "                    eip, lwcontainer, bean, ode, camel"
-  echo "                   cxf-se, cxf-bc"
+  echo "                   cxf-se, cxf-se-wsdl-first, cxf-bc"
   echo "Optional arguments:"
   echo "  -DgroupId=xxxx"
   echo "  -DartifactId=xxxx"

Modified: 
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
URL: 
http://svn.apache.org/viewvc/servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat?rev=666960&r1=666959&r2=666960&view=diff
==============================================================================
--- 
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
 (original)
+++ 
servicemix/smx3/branches/servicemix-3.2/distributions/apache-servicemix/src/main/release/bin/smx-arch.bat
 Wed Jun 11 22:40:48 2008
@@ -51,7 +51,7 @@
 echo                     jsr181-annotated, jsr181-wsdl-first,
 echo                     saxon-xquery, saxon-xslt, osworkflow,
 echo                     eip, lwcontainer, bean, ode, camel
-echo                    cxf-se, cxf-bc
+echo                    cxf-se, cxf-se-wsdl-first, cxf-bc
 echo Optional arguments:
 echo   -DgroupId=xxxx
 echo   -DartifactId=xxxx


Reply via email to