cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t..@apache.org
Subject svn commit: r449958 [2/2] - in /incubator/cxf/trunk: distribution/src/main/release/samples/hello_world_xml_bare/ distribution/src/main/release/samples/hello_world_xml_bare/src/ distribution/src/main/release/samples/hello_world_xml_bare/src/demo/ distri...
Date Tue, 26 Sep 2006 09:15:20 GMT
Added: incubator/cxf/trunk/distribution/src/main/release/samples/mtom/wsdl/wsi-swa.xsd
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/distribution/src/main/release/samples/mtom/wsdl/wsi-swa.xsd?view=auto&rev=449958
==============================================================================
--- incubator/cxf/trunk/distribution/src/main/release/samples/mtom/wsdl/wsi-swa.xsd (added)
+++ incubator/cxf/trunk/distribution/src/main/release/samples/mtom/wsdl/wsi-swa.xsd Tue Sep
26 02:15:18 2006
@@ -0,0 +1,60 @@
+<?xml version="1.0" encoding="UTF-8" ?>
+<!--
+	Copyright (c) 2002-2004 by The Web Services-Interoperability Organization (WS-I) and 
+	Certain of its Members. All Rights Reserved.
+	
+	Notice
+	The material contained herein is not a license, either expressly or impliedly, to any 
+	intellectual property owned or controlled by any of the authors or developers of this 
+	material or WS-I. The material contained herein is provided on an "AS IS" basis and to 
+	the maximum extent permitted by applicable law, this material is provided AS IS AND WITH

+	ALL FAULTS, and the authors and developers of this material and WS-I hereby disclaim all

+	other warranties and conditions, either express, implied or statutory, including, but not

+	limited to, any (if any) implied warranties, duties or conditions of  merchantability, 
+	of fitness for a particular purpose, of accuracy or completeness of responses, of results,

+	of workmanlike effort, of lack of viruses, and of lack of negligence. ALSO, THERE IS NO

+	WARRANTY OR CONDITION OF TITLE, QUIET ENJOYMENT, QUIET POSSESSION, CORRESPONDENCE TO 
+	DESCRIPTION OR NON-INFRINGEMENT WITH REGARD TO THIS MATERIAL.
+	
+	IN NO EVENT WILL ANY AUTHOR OR DEVELOPER OF THIS MATERIAL OR WS-I BE LIABLE TO ANY OTHER

+	PARTY FOR THE COST OF PROCURING SUBSTITUTE GOODS OR SERVICES, LOST PROFITS, LOSS OF USE,

+	LOSS OF DATA, OR ANY INCIDENTAL, CONSEQUENTIAL, DIRECT, INDIRECT, OR SPECIAL DAMAGES 
+	WHETHER UNDER CONTRACT, TORT, WARRANTY, OR OTHERWISE, ARISING IN ANY WAY OUT OF THIS OR

+	ANY OTHER AGREEMENT RELATING TO THIS MATERIAL, WHETHER OR NOT SUCH PARTY HAD ADVANCE 
+	NOTICE OF THE POSSIBILITY OF SUCH DAMAGES.
+	
+	WS-I License Information
+	Use of this WS-I Material is governed by the WS-I Test License and other licenses.  Information
on these 
+	licenses are contained in the README.txt and ReleaseNotes.txt files.  By downloading this
file, you agree 
+	to the terms of these licenses.
+	
+	How To Provide Feedback
+	The Web Services-Interoperability Organization (WS-I) would like to receive input, 
+	suggestions and other feedback ("Feedback") on this work from a wide variety of 
+	industry participants to improve its quality over time. 
+	
+	By sending email, or otherwise communicating with WS-I, you (on behalf of yourself if 
+	you are an individual, and your company if you are providing Feedback on behalf of the 
+	company) will be deemed to have granted to WS-I, the members of WS-I, and other parties

+	that have access to your Feedback, a non-exclusive, non-transferable, worldwide, perpetual,

+	irrevocable, royalty-free license to use, disclose, copy, license, modify, sublicense or

+	otherwise distribute and exploit in any manner whatsoever the Feedback you provide regarding

+	the work. You acknowledge that you have no expectation of confidentiality with respect to

+	any Feedback you provide. You represent and warrant that you have rights to provide this

+	Feedback, and if you are providing Feedback on behalf of a company, you represent and warrant

+	that you have the rights to provide Feedback on behalf of your company. You also acknowledge

+	that WS-I is not required to review, discuss, use, consider or in any way incorporate your

+	Feedback into future versions of its work. If WS-I does incorporate some or all of your

+	Feedback in a future version of the work, it may, but is not obligated to include your name

+	(or, if you are identified as acting on behalf of your company, the name of your company)
on 
+	a list of contributors to the work. If the foregoing is not acceptable to you and any company

+	on whose behalf you are acting, please do not provide any Feedback.
+	
+	Feedback on this document should be directed to wsi-test-comments@ws-i.org. 
+-->
+<xsd:schema targetNamespace="http://ws-i.org/profiles/basic/1.1/xsd"
+	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
+	<xsd:simpleType name="swaRef">
+		<xsd:restriction base="xsd:anyURI" />
+	</xsd:simpleType>
+</xsd:schema>
\ No newline at end of file

Propchange: incubator/cxf/trunk/distribution/src/main/release/samples/mtom/wsdl/wsi-swa.xsd
------------------------------------------------------------------------------
    svn:eol-style = native

Propchange: incubator/cxf/trunk/distribution/src/main/release/samples/mtom/wsdl/wsi-swa.xsd
------------------------------------------------------------------------------
    svn:mime-type = text/xml

Modified: incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom/ClientServerMtomXopTest.java
URL: http://svn.apache.org/viewvc/incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom/ClientServerMtomXopTest.java?view=diff&rev=449958&r1=449957&r2=449958
==============================================================================
--- incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom/ClientServerMtomXopTest.java
(original)
+++ incubator/cxf/trunk/systests/src/test/java/org/apache/cxf/systest/mtom/ClientServerMtomXopTest.java
Tue Sep 26 02:15:18 2006
@@ -80,7 +80,7 @@
             }
 
             ByteArrayDataSource bads = new ByteArrayDataSource(this.getClass().getResourceAsStream(
-                            "/wsdl/mtom_xop.wsdl"), "application/oct-stream");
+                            "/wsdl/mtom_xop.wsdl"), "application/octet-stream");
             DataHandler dh = new DataHandler(bads);
             DataHandler dhResp = hello.claimForm(dh);
             DataSource ds = dhResp.getDataSource();
@@ -108,9 +108,9 @@
             param.value = new byte[(int) fileSize];
             this.getClass().getResourceAsStream("/wsdl/mtom_xop.wsdl").read(param.value);
             String target = new String(param.value);
-            Holder<String> name = new Holder<String>("call echoDataWithEnableMIMEContent");
+            Holder<String> name = new Holder<String>("call detail");
             hello.detail(name, param);
-            assertEquals("name unchanged", "return detail + call echoDataWithEnableMIMEContent",
name.value);
+            assertEquals("name unchanged", "return detail + call detail", name.value);
             assertEquals("attachinfo changed", target, new String(param.value));
         } catch (UndeclaredThrowableException ex) {
             throw (Exception) ex.getCause();



Mime
View raw message