geronimo-scm mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ga...@apache.org
Subject svn commit: r725899 [3/3] - in /geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests: ./ provider-common/ provider-common/src/ provider-common/src/main/ provider-common/src/main/java/ provider-common/src/main/java/org/ provider-co...
Date Fri, 12 Dec 2008 04:48:53 GMT
Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl Thu Dec 11 20:48:50 2008
@@ -0,0 +1,116 @@
+<?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.
+-->
+<wsdl:definitions xmlns:soap11="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+    xmlns:tns="http://geronimo.apache.org/greeter_provider" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://geronimo.apache.org/greeter_provider" name="Greeter">
+    <wsdl:types>
+        <schema targetNamespace="http://geronimo.apache.org/greeter_provider" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+            <element name="sayHi">
+                <complexType>
+                    <sequence>
+                        <element name="requestarg" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="sayHiResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responsearg" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+    </wsdl:types>
+    <wsdl:message name="sayHiRequest">
+        <wsdl:part element="tns:sayHi" name="sayHiRequestPart"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part element="tns:sayHiResponse" name="sayHiResponsePart"/>
+    </wsdl:message>
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="GreeterSOAP11Binding" type="tns:Greeter">
+        <soap11:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="sayHi">
+            <soap11:operation soapAction="" style="document"/>
+            <wsdl:input name="sayHiRequest">
+                <soap11:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <soap11:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="GreeterSOAP12Binding" type="tns:Greeter">
+        <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="sayHi">
+            <soap12:operation soapAction="" style="document"/>
+            <wsdl:input name="sayHiRequest">
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="GreeterHTTPBinding" type="tns:Greeter">
+        <http:binding verb="POST"/>
+        <wsdl:operation name="sayHi">
+            <http:operation location="sayHi"/>
+            <wsdl:input name="sayHiRequest">
+                <mime:content type="text/xml"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <mime:content type="text/xml"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="GreeterService">
+        <!--wsdl:port binding="tns:GreeterHTTPBinding" name="GreeterHTTPDataSourcePort">
+            <http:address location="http://localhost:8080/provider-war/provider/http/datasource"/>
+        </wsdl:port-->
+        <wsdl:port binding="tns:GreeterHTTPBinding" name="GreeterHTTPSourceMessageModePort">
+            <http:address location="http://localhost:8080/provider-war/provider/http/source/message"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterHTTPBinding" name="GreeterHTTPSourcePayloadModePort">
+            <http:address location="http://localhost:8080/provider-war/provider/http/source/payload"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP11Binding" name="GreeterSOAP11SOAPMessagePort">
+            <soap11:address location="http://localhost:8080/provider-war/provider/soap11/soapmessage"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP11Binding" name="GreeterSOAP11SourceMessageModePort">
+            <soap11:address location="http://localhost:8080/provider-war/provider/soap11/source/message"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP11Binding" name="GreeterSOAP11SourcePayloadModePort">
+            <soap11:address location="http://localhost:8080/provider-war/provider/soap11/source/payload"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP12Binding" name="GreeterSOAP12SOAPMessagePort">
+            <soap12:address location="http://localhost:8080/provider-war/provider/soap12/soapmessage"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP12Binding" name="GreeterSOAP12SourceMessageModePort">
+            <soap12:address location="http://localhost:8080/provider-war/provider/soap12/source/message"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP12Binding" name="GreeterSOAP12SourcePayloadModePort">
+            <soap12:address location="http://localhost:8080/provider-war/provider/soap12/source/payload"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-test-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml Thu Dec 11 20:48:50 2008
@@ -0,0 +1,92 @@
+<?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>
+    <parent>
+        <groupId>org.apache.geronimo.testsuite</groupId>
+        <artifactId>jaxws-provider-tests</artifactId>
+        <version>2.2-SNAPSHOT</version>
+    </parent>
+    <artifactId>provider-war</artifactId>
+    <name>Geronimo TestSuite :: WebServices TestSuite :: JAX-WS Provider WAR</name>
+    <packaging>war</packaging>
+    <dependencies>
+        <dependency>
+            <groupId>org.apache.geronimo.testsuite</groupId>
+            <artifactId>provider-common</artifactId>            
+            <version>${version}</version>
+            <optional>true</optional>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-servlet_2.5_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.javamail</groupId>
+            <artifactId>geronimo-javamail_1.4_mail</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-jaxws_2.1_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-annotation_1.0_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>org.apache.geronimo.specs</groupId>
+            <artifactId>geronimo-saaj_1.3_spec</artifactId>
+            <scope>provided</scope>
+        </dependency>
+        <dependency>
+            <groupId>javax.xml.bind</groupId>
+            <artifactId>jaxb-api</artifactId>
+            <scope>provided</scope>
+        </dependency>
+    </dependencies>
+    <build>
+        <resources>
+            <resource>
+                <directory>src/main/java</directory>
+                <includes>
+                    <include>**/*.xml</include>
+                </includes>
+            </resource>
+        </resources>
+        <plugins>
+            <plugin>
+                <groupId>org.apache.maven.plugins</groupId>
+                <artifactId>maven-war-plugin</artifactId>
+                <configuration>
+                    <archive>
+                        <manifest>
+                            <addClasspath>true</addClasspath>
+                        </manifest>
+                    </archive>
+                </configuration>
+            </plugin>
+        </plugins>
+    </build>
+</project>

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/pom.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import java.io.IOException;
+
+import javax.activation.DataSource;
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.http.HTTPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = HTTPBinding.HTTP_BINDING)
+@ServiceMode(value = Service.Mode.MESSAGE)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterHTTPDataSourcePort", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterHTTPDataSourceProvider implements Provider<DataSource> {
+
+    @Resource(type = WebServiceContext.class)
+    protected WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public DataSource invoke(DataSource dataSource) {
+        try {
+            return MessageUtils.createResponseHTTPDataSource();
+        } catch (IOException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPDataSourceProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,57 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.transform.Source;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.http.HTTPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = HTTPBinding.HTTP_BINDING)
+@ServiceMode(value = Service.Mode.MESSAGE)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterHTTPSourceMessageModePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterHTTPSourceMessageModeProvider implements Provider<Source> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public Source invoke(Source source) {
+        return MessageUtils.createResponseHTTPSource();
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,57 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.transform.Source;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.http.HTTPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = HTTPBinding.HTTP_BINDING)
+@ServiceMode(value = Service.Mode.PAYLOAD)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterHTTPSourcePayloadModePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterHTTPSourcePayloadModeProvider implements Provider<Source> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public Source invoke(Source source) {
+        return MessageUtils.createResponseHTTPSource();
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterHTTPSourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = SOAPBinding.SOAP11HTTP_BINDING)
+@ServiceMode(value = Service.Mode.MESSAGE)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterSOAP11SOAPMessagePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterSOAP11SOAPMessageProvider implements Provider<SOAPMessage> {
+
+    @Resource(type = WebServiceContext.class)
+    protected WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public SOAPMessage invoke(SOAPMessage soapMessage) throws WebServiceException {
+        try {
+            return MessageUtils.createResponseSOAPMessage(SOAPConstants.SOAP_1_1_PROTOCOL);
+        } catch (SOAPException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SOAPMessageProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.transform.Source;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = SOAPBinding.SOAP11HTTP_BINDING)
+@ServiceMode(value = Service.Mode.MESSAGE)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterSOAP11SourceMessageModePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterSOAP11SourceMessageModeProvider implements Provider<Source> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public Source invoke(Source source) throws WebServiceException {
+        try {
+            return MessageUtils.createResponseSOAPSource(SOAPConstants.SOAP_1_1_PROTOCOL, Service.Mode.MESSAGE);
+        } catch (SOAPException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.transform.Source;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = SOAPBinding.SOAP11HTTP_BINDING)
+@ServiceMode(value = Service.Mode.PAYLOAD)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterSOAP11SourcePayloadModePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterSOAP11SourcePayloadModeProvider implements Provider<Source> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public Source invoke(Source source) throws WebServiceException {
+        try {
+            return MessageUtils.createResponseSOAPSource(SOAPConstants.SOAP_1_1_PROTOCOL, Service.Mode.PAYLOAD);
+        } catch (SOAPException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP11SourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.soap.SOAPMessage;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
+@ServiceMode(value = Service.Mode.MESSAGE)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterSOAP12SOAPMessagePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterSOAP12SOAPMessageProvider implements Provider<SOAPMessage> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public SOAPMessage invoke(SOAPMessage soapMessage) {
+        try {
+            return MessageUtils.createResponseSOAPMessage(SOAPConstants.SOAP_1_2_PROTOCOL);
+        } catch (SOAPException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SOAPMessageProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.transform.Source;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
+@ServiceMode(value = Service.Mode.MESSAGE)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterSOAP12SourceMessageModePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterSOAP12SourceMessageModeProvider implements Provider<Source> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public Source invoke(Source source) {
+        try {
+            return MessageUtils.createResponseSOAPSource(SOAPConstants.SOAP_1_2_PROTOCOL, Service.Mode.MESSAGE);
+        } catch (SOAPException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourceMessageModeProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java Thu Dec 11 20:48:50 2008
@@ -0,0 +1,64 @@
+/*
+ * 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.geronimo.jaxws.greeter_provider.web;
+
+import javax.annotation.PostConstruct;
+import javax.annotation.PreDestroy;
+import javax.annotation.Resource;
+import javax.xml.soap.SOAPConstants;
+import javax.xml.soap.SOAPException;
+import javax.xml.transform.Source;
+import javax.xml.ws.BindingType;
+import javax.xml.ws.Provider;
+import javax.xml.ws.Service;
+import javax.xml.ws.ServiceMode;
+import javax.xml.ws.WebServiceContext;
+import javax.xml.ws.WebServiceException;
+import javax.xml.ws.WebServiceProvider;
+import javax.xml.ws.soap.SOAPBinding;
+
+import org.apache.geronimo.jaxws.greeter_provider.common.MessageUtils;
+
+@BindingType(value = SOAPBinding.SOAP12HTTP_BINDING)
+@ServiceMode(value = Service.Mode.PAYLOAD)
+@WebServiceProvider(serviceName = "GreeterService", portName = "GreeterSOAP12SourcePayloadModePort", wsdlLocation = "WEB-INF/wsdl/greeter_provider.wsdl", targetNamespace = "http://geronimo.apache.org/greeter_provider")
+public class GreeterSOAP12SourcePayloadModeProvider implements Provider<Source> {
+
+    @Resource(type = WebServiceContext.class)
+    private WebServiceContext webServiceContext;
+
+    @PreDestroy()
+    public void destroy() {
+        System.out.println(this + " PreDestroy");
+    }
+
+    @PostConstruct
+    public void init() {
+        System.out.println(this + " PostConstruct");
+    }
+
+    public Source invoke(Source source) {
+        try {
+            return MessageUtils.createResponseSOAPSource(SOAPConstants.SOAP_1_2_PROTOCOL, Service.Mode.PAYLOAD);
+        } catch (SOAPException e) {
+            throw new WebServiceException(e);
+        }
+    }
+}
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/java/org/apache/geronimo/jaxws/greeter_provider/web/GreeterSOAP12SourcePayloadModeProvider.java
------------------------------------------------------------------------------
    svn:mime-type = text/plain

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml Thu Dec 11 20:48:50 2008
@@ -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.
+-->
+<web-app xmlns="http://geronimo.apache.org/xml/ns/j2ee/web-1.1" xmlns:dep="http://geronimo.apache.org/xml/ns/deployment-1.1" xmlns:naming="http://geronimo.apache.org/xml/ns/naming-1.1">
+  <dep:environment>
+    <dep:moduleId>
+      <dep:groupId>${pom.groupId}</dep:groupId>
+      <dep:artifactId>${pom.artifactId}</dep:artifactId>
+      <dep:version>${version}</dep:version>
+      <dep:type>war</dep:type>
+    </dep:moduleId>
+  </dep:environment>
+ 	<context-root>/${pom.artifactId}</context-root> 
+</web-app>
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/geronimo-web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml Thu Dec 11 20:48:50 2008
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--
+    Copyright 2006 The Apache Software Foundation
+    Licensed  under the  Apache License,  Version 2.0  (the "License");
+    you may not use  this file  except in  compliance with the License.
+    You may obtain a copy of the License at
+    
+    http://www.apache.org/licenses/LICENSE-2.0
+    
+    Unless required by applicable law or agreed to in writing, software
+    distributed  under the  License is distributed on an "AS IS" BASIS,
+    WITHOUT  WARRANTIES OR CONDITIONS  OF ANY KIND, either  express  or
+    implied.
+    
+    See the License for the specific language governing permissions and
+    limitations under the License.
+-->
+<web-app xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_5.xsd"
+    version="2.5">
+    <display-name>Geronimo WS Provider</display-name>
+    <servlet>
+        <display-name>Provider SOAP11 SOAPMessage</display-name>
+        <servlet-name>providerSOAP11SoapMessage</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterSOAP11SOAPMessageProvider</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerSOAP11SoapMessage</servlet-name>
+        <url-pattern>/provider/soap11/soapmessage</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider SOAP11 Message Mode Source</display-name>
+        <servlet-name>providerSOAP11SourceMessageMode</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterSOAP11SourceMessageModeProvider
+        </servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerSOAP11SourceMessageMode</servlet-name>
+        <url-pattern>/provider/soap11/source/message</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider SOAP11 Payload Mode Source</display-name>
+        <servlet-name>providerSOAP11SourcePayloadMode</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterSOAP11SourcePayloadModeProvider
+        </servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerSOAP11SourcePayloadMode</servlet-name>
+        <url-pattern>/provider/soap11/source/payload</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider SOAP12 SOAPMessage</display-name>
+        <servlet-name>providerSOAP12SoapMessage</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterSOAP12SOAPMessageProvider</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerSOAP12SoapMessage</servlet-name>
+        <url-pattern>/provider/soap12/soapmessage</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider SOAP12 Message Mode Source</display-name>
+        <servlet-name>providerSOAP12SourceMessageMode</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterSOAP12SourceMessageModeProvider
+        </servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerSOAP12SourceMessageMode</servlet-name>
+        <url-pattern>/provider/soap12/source/message</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider SOAP12 Payload Mode Source</display-name>
+        <servlet-name>providerSOAP12SourcePayloadMode</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterSOAP12SourcePayloadModeProvider
+        </servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerSOAP12SourcePayloadMode</servlet-name>
+        <url-pattern>/provider/soap12/source/payload</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider HTTP DataSource</display-name>
+        <servlet-name>providerHTTPDataSource</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterHTTPDataSourceProvider</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerHTTPDataSource</servlet-name>
+        <url-pattern>/provider/http/datasource</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider HTTP Source Message Mode</display-name>
+        <servlet-name>providerHTTPSourceMessageMode</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterHTTPSourceMessageModeProvider</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerHTTPSourceMessageMode</servlet-name>
+        <url-pattern>/provider/http/source/message</url-pattern>
+    </servlet-mapping>
+    <servlet>
+        <display-name>Provider HTTP Source Payload Mode</display-name>
+        <servlet-name>providerHTTPSourcePayloadMode</servlet-name>
+        <servlet-class>org.apache.geronimo.jaxws.greeter_provider.web.GreeterHTTPSourcePayloadModeProvider</servlet-class>
+        <load-on-startup>0</load-on-startup>
+    </servlet>
+    <servlet-mapping>
+        <servlet-name>providerHTTPSourcePayloadMode</servlet-name>
+        <url-pattern>/provider/http/source/payload</url-pattern>
+    </servlet-mapping>
+</web-app>
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/web.xml
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Added: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
URL: http://svn.apache.org/viewvc/geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl?rev=725899&view=auto
==============================================================================
--- geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl (added)
+++ geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl Thu Dec 11 20:48:50 2008
@@ -0,0 +1,116 @@
+<?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.
+-->
+<wsdl:definitions xmlns:soap11="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:wsaw="http://www.w3.org/2006/05/addressing/wsdl"
+    xmlns:tns="http://geronimo.apache.org/greeter_provider" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:http="http://schemas.xmlsoap.org/wsdl/http/"
+    xmlns:mime="http://schemas.xmlsoap.org/wsdl/mime/" targetNamespace="http://geronimo.apache.org/greeter_provider" name="Greeter">
+    <wsdl:types>
+        <schema targetNamespace="http://geronimo.apache.org/greeter_provider" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">
+            <element name="sayHi">
+                <complexType>
+                    <sequence>
+                        <element name="requestarg" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+            <element name="sayHiResponse">
+                <complexType>
+                    <sequence>
+                        <element name="responsearg" type="xsd:string"/>
+                    </sequence>
+                </complexType>
+            </element>
+        </schema>
+    </wsdl:types>
+    <wsdl:message name="sayHiRequest">
+        <wsdl:part element="tns:sayHi" name="sayHiRequestPart"/>
+    </wsdl:message>
+    <wsdl:message name="sayHiResponse">
+        <wsdl:part element="tns:sayHiResponse" name="sayHiResponsePart"/>
+    </wsdl:message>
+    <wsdl:portType name="Greeter">
+        <wsdl:operation name="sayHi">
+            <wsdl:input message="tns:sayHiRequest" name="sayHiRequest"/>
+            <wsdl:output message="tns:sayHiResponse" name="sayHiResponse"/>
+        </wsdl:operation>
+    </wsdl:portType>
+    <wsdl:binding name="GreeterSOAP11Binding" type="tns:Greeter">
+        <soap11:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="sayHi">
+            <soap11:operation soapAction="" style="document"/>
+            <wsdl:input name="sayHiRequest">
+                <soap11:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <soap11:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="GreeterSOAP12Binding" type="tns:Greeter">
+        <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/>
+        <wsdl:operation name="sayHi">
+            <soap12:operation soapAction="" style="document"/>
+            <wsdl:input name="sayHiRequest">
+                <soap12:body use="literal"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <soap12:body use="literal"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:binding name="GreeterHTTPBinding" type="tns:Greeter">
+        <http:binding verb="POST"/>
+        <wsdl:operation name="sayHi">
+            <http:operation location="sayHi"/>
+            <wsdl:input name="sayHiRequest">
+                <mime:content type="text/xml"/>
+            </wsdl:input>
+            <wsdl:output name="sayHiResponse">
+                <mime:content type="text/xml"/>
+            </wsdl:output>
+        </wsdl:operation>
+    </wsdl:binding>
+    <wsdl:service name="GreeterService">        
+        <!--wsdl:port binding="tns:GreeterHTTPBinding" name="GreeterHTTPDataSourcePort">
+            <http:address location="http://localhost:8080/provider-war/provider/http/datasource"/>
+        </wsdl:port-->
+        <wsdl:port binding="tns:GreeterHTTPBinding" name="GreeterHTTPSourceMessageModePort">
+            <http:address location="http://localhost:8080/provider-war/provider/http/source/message"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterHTTPBinding" name="GreeterHTTPSourcePayloadModePort">
+            <http:address location="http://localhost:8080/provider-war/provider/http/source/payload"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP11Binding" name="GreeterSOAP11SOAPMessagePort">
+            <soap11:address location="http://localhost:8080/provider-war/provider/soap11/soapmessage"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP11Binding" name="GreeterSOAP11SourceMessageModePort">
+            <soap11:address location="http://localhost:8080/provider-war/provider/soap11/source/message"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP11Binding" name="GreeterSOAP11SourcePayloadModePort">
+            <soap11:address location="http://localhost:8080/provider-war/provider/soap11/source/payload"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP12Binding" name="GreeterSOAP12SOAPMessagePort">
+            <soap12:address location="http://localhost:8080/provider-war/provider/soap12/soapmessage"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP12Binding" name="GreeterSOAP12SourceMessageModePort">
+            <soap12:address location="http://localhost:8080/provider-war/provider/soap12/source/message"/>
+        </wsdl:port>
+        <wsdl:port binding="tns:GreeterSOAP12Binding" name="GreeterSOAP12SourcePayloadModePort">
+            <soap12:address location="http://localhost:8080/provider-war/provider/soap12/source/payload"/>
+        </wsdl:port>
+    </wsdl:service>
+</wsdl:definitions>
\ No newline at end of file

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
------------------------------------------------------------------------------
    svn:keywords = Date Revision

Propchange: geronimo/server/trunk/testsuite/webservices-testsuite/jaxws-provider-tests/provider-war/src/main/webapp/WEB-INF/wsdl/greeter_provider.wsdl
------------------------------------------------------------------------------
    svn:mime-type = text/xml



Mime
View raw message