You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@cxf.apache.org by bi...@apache.org on 2008/01/18 15:35:03 UTC
svn commit: r613175 - in
/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest:
./ DataHandlerBean.java MtomTest.java MtomTestImpl.java
Author: bimargulies
Date: Fri Jan 18 06:35:02 2008
New Revision: 613175
URL: http://svn.apache.org/viewvc?rev=613175&view=rev
Log:
Eclipse messed me up, here is the rest.
Added:
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java (with props)
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java (with props)
incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java (with props)
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java?rev=613175&view=auto
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java Fri Jan 18 06:35:02 2008
@@ -0,0 +1,45 @@
+/**
+ * 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.cxf.systest.aegis.mtom.fortest;
+
+import javax.activation.DataHandler;
+
+public class DataHandlerBean {
+
+ protected String name;
+ protected DataHandler dataHandler;
+
+ public String getName() {
+ return name;
+ }
+
+ public void setName(String value) {
+ this.name = value;
+ }
+
+ public DataHandler getDataHandler() {
+ return dataHandler;
+ }
+
+ public void setDataHandler(DataHandler dataHandler) {
+ this.dataHandler = dataHandler;
+ }
+
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/DataHandlerBean.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java?rev=613175&view=auto
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java Fri Jan 18 06:35:02 2008
@@ -0,0 +1,33 @@
+/**
+ * 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.cxf.systest.aegis.mtom.fortest;
+
+import javax.jws.WebParam;
+import javax.jws.WebService;
+import javax.xml.ws.soap.MTOM;
+
+/**
+ *
+ */
+@WebService(name = "MtomTestService", serviceName = "MtomTestService")
+@MTOM
+public interface MtomTest {
+ void acceptDataHandler(@WebParam(name = "inputDhBean") DataHandlerBean dhBean);
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTest.java
------------------------------------------------------------------------------
svn:keywords = Rev Date
Added: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java?rev=613175&view=auto
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java (added)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java Fri Jan 18 06:35:02 2008
@@ -0,0 +1,42 @@
+/**
+ * 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.cxf.systest.aegis.mtom.fortest;
+
+import javax.jws.WebService;
+
+/**
+ *
+ */
+@WebService
+@javax.xml.ws.soap.MTOM
+public class MtomTestImpl implements MtomTest {
+
+ private DataHandlerBean lastDhBean;
+
+ /** {@inheritDoc}*/
+ public void acceptDataHandler(DataHandlerBean dhBean) {
+ lastDhBean = dhBean;
+ }
+
+ public DataHandlerBean getLastDhBean() {
+ return lastDhBean;
+ }
+
+}
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java
------------------------------------------------------------------------------
svn:eol-style = native
Propchange: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/aegis/mtom/fortest/MtomTestImpl.java
------------------------------------------------------------------------------
svn:keywords = Rev Date