Author: cschneider
Date: Wed Oct 7 22:46:54 2009
New Revision: 822954
URL: http://svn.apache.org/viewvc?rev=822954&view=rev
Log:
Added test for writing wsdl to repo and reading wsdl from repo
Added:
cxf/trunk/systests/wsdl_maven/ (with props)
cxf/trunk/systests/wsdl_maven/codegen/ (with props)
cxf/trunk/systests/wsdl_maven/codegen/pom.xml (with props)
cxf/trunk/systests/wsdl_maven/java2ws/ (with props)
cxf/trunk/systests/wsdl_maven/java2ws/src/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
(with props)
cxf/trunk/systests/wsdl_maven/java2ws/src/main/resources/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/MANIFEST.MF
(with props)
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/beans.xml
(with props)
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/lib/
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/web.xml
(with props)
cxf/trunk/systests/wsdl_maven/pom.xml
Propchange: cxf/trunk/systests/wsdl_maven/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Oct 7 22:46:54 2009
@@ -0,0 +1,7 @@
+target
+
+.settings
+
+.classpath
+
+.project
Propchange: cxf/trunk/systests/wsdl_maven/codegen/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Oct 7 22:46:54 2009
@@ -0,0 +1,2 @@
+.settings
+target
Added: cxf/trunk/systests/wsdl_maven/codegen/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/codegen/pom.xml?rev=822954&view=auto
==============================================================================
--- cxf/trunk/systests/wsdl_maven/codegen/pom.xml (added)
+++ cxf/trunk/systests/wsdl_maven/codegen/pom.xml Wed Oct 7 22:46:54 2009
@@ -0,0 +1,74 @@
+<!--
+ 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>org.apache.cxf.systests.wsdl_maven</groupId>
+ <artifactId>cxf-systests-codegen</artifactId>
+ <version>2.3.0-SNAPSHOT</version>
+ <name>Test for reading wsdl from repo and generating code from it</name>
+ <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>${project.version}</version>
+ <executions>
+ <execution>
+ <id>generate-sources</id>
+ <phase>generate-sources</phase>
+ <configuration>
+ <wsdlOptions>
+ <wsdlOption>
+ <wsdlArtifact>
+
<groupId>org.apache.cxf.systests.wsdl_maven</groupId>
+
<artifactId>cxf-systests-java2ws</artifactId>
+ <version>${project.version}</version>
+ </wsdlArtifact>
+ </wsdlOption>
+ </wsdlOptions>
+ </configuration>
+ <goals>
+ <goal>wsdl2java</goal>
+ </goals>
+ </execution>
+ </executions>
+ </plugin>
+ </plugins>
+ </build>
+
+ <dependencies>
+ <dependency>
+ <groupId>org.apache.cxf</groupId>
+ <artifactId>cxf-rt-frontend-jaxws</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ <dependency>
+ <groupId>org.apache.cxf.systests.wsdl_maven</groupId>
+ <artifactId>cxf-systests-java2ws</artifactId>
+ <version>${project.version}</version>
+ </dependency>
+ </dependencies>
+</project>
Propchange: cxf/trunk/systests/wsdl_maven/codegen/pom.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Propchange: cxf/trunk/systests/wsdl_maven/java2ws/
------------------------------------------------------------------------------
--- svn:ignore (added)
+++ svn:ignore Wed Oct 7 22:46:54 2009
@@ -0,0 +1,4 @@
+.classpath
+.project
+.settings
+target
Added:
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java?rev=822954&view=auto
==============================================================================
---
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
(added)
+++
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
Wed Oct 7 22:46:54 2009
@@ -0,0 +1,9 @@
+package org.apache.cxf.systests.java2ws;
+
+import javax.jws.WebService;
+
+...@webservice
+public interface HelloWorld {
+ String sayHi(String text);
+}
+
Propchange:
cxf/trunk/systests/wsdl_maven/java2ws/src/main/java/org/apache/cxf/systests/java2ws/HelloWorld.java
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added:
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/MANIFEST.MF
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/MANIFEST.MF?rev=822954&view=auto
==============================================================================
--- cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/MANIFEST.MF
(added)
+++ cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/MANIFEST.MF
Wed Oct 7 22:46:54 2009
@@ -0,0 +1,3 @@
+Manifest-Version: 1.0
+Class-Path:
+
Propchange:
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/META-INF/MANIFEST.MF
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/beans.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/beans.xml?rev=822954&view=auto
==============================================================================
--- cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/beans.xml
(added)
+++ cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/beans.xml Wed
Oct 7 22:46:54 2009
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<beans xmlns="http://www.springframework.org/schema/beans"
+ xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
+ xmlns:jaxws="http://cxf.apache.org/jaxws"
+ xsi:schemaLocation="
+ http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
+ http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd">
+
+
+ <import resource="classpath:META-INF/cxf/cxf.xml" />
+ <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
+ <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />
+
+ <jaxws:endpoint
+ id="helloWorld"
+ implementor="net.lr.java2wstest.HelloWorldImpl"
+ address="/HelloWorld" />
+
+</beans>
Propchange:
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/beans.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/web.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/web.xml?rev=822954&view=auto
==============================================================================
--- cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/web.xml
(added)
+++ cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/web.xml Wed
Oct 7 22:46:54 2009
@@ -0,0 +1,33 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+
+<!DOCTYPE web-app
+ PUBLIC "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
+ "http://java.sun.com/dtd/web-app_2_3.dtd">
+
+
+<web-app>
+ <context-param>
+ <param-name>contextConfigLocation</param-name>
+ <param-value>WEB-INF/beans.xml</param-value>
+ </context-param>
+
+ <listener>
+ <listener-class>
+ org.springframework.web.context.ContextLoaderListener
+ </listener-class>
+ </listener>
+
+ <servlet>
+ <servlet-name>CXFServlet</servlet-name>
+ <display-name>CXF Servlet</display-name>
+ <servlet-class>
+ org.apache.cxf.transport.servlet.CXFServlet
+ </servlet-class>
+ <load-on-startup>1</load-on-startup>
+ </servlet>
+
+ <servlet-mapping>
+ <servlet-name>CXFServlet</servlet-name>
+ <url-pattern>/*</url-pattern>
+ </servlet-mapping>
+</web-app>
Propchange:
cxf/trunk/systests/wsdl_maven/java2ws/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
svn:mime-type = text/plain
Added: cxf/trunk/systests/wsdl_maven/pom.xml
URL:
http://svn.apache.org/viewvc/cxf/trunk/systests/wsdl_maven/pom.xml?rev=822954&view=auto
==============================================================================
--- cxf/trunk/systests/wsdl_maven/pom.xml (added)
+++ cxf/trunk/systests/wsdl_maven/pom.xml Wed Oct 7 22:46:54 2009
@@ -0,0 +1,44 @@
+<!--
+ 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>org.apache.cxf.systests</groupId>
+ <artifactId>cxf-wsdl-maven</artifactId>
+ <packaging>pom</packaging>
+ <version>2.3.0-SNAPSHOT</version>
+ <name>Apache CXF System Tests for WSDL generation and retrieval</name>
+ <url>http://cxf.apache.org</url>
+
+ <parent>
+ <groupId>org.apache.cxf.systests</groupId>
+ <artifactId>cxf-systests</artifactId>
+ <version>2.3.0-SNAPSHOT</version>
+ </parent>
+
+ <modules>
+ <module>codegen</module>
+ <module>java2ws</module>
+ </modules>
+
+ <scm>
+
<connection>scm:svn:http://svn.apache.org/repos/asf/cxf/trunk/systests/cxf-wsdl-maven</connection>
+
<developerConnection>scm:svn:https://svn.apache.org/repos/asf/cxf/trunk/systests/cxf-wsdl-maven</developerConnection>
+ </scm>
+
+</project>