cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ningji...@apache.org
Subject svn commit: r1185594 - in /cxf/trunk/distribution/src/main/release/samples/restful_dispatch: README.txt src/main/java/demo/restful/client/CustomerJohnReq.xml
Date Tue, 18 Oct 2011 11:56:03 GMT
Author: ningjiang
Date: Tue Oct 18 11:56:03 2011
New Revision: 1185594

URL: http://svn.apache.org/viewvc?rev=1185594&view=rev
Log:
CXF-3860 CXF sample restful_dispatch Readme.txt need to be updated

Modified:
    cxf/trunk/distribution/src/main/release/samples/restful_dispatch/README.txt
    cxf/trunk/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml

Modified: cxf/trunk/distribution/src/main/release/samples/restful_dispatch/README.txt
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/restful_dispatch/README.txt?rev=1185594&r1=1185593&r2=1185594&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/restful_dispatch/README.txt (original)
+++ cxf/trunk/distribution/src/main/release/samples/restful_dispatch/README.txt Tue Oct 18
11:56:03 2011
@@ -34,7 +34,6 @@ returns a customer instance whose id is 
 
 A HTTP POST request to URL http://localhost:9000/customerservice/customer 
 with the data:
-
 <Customer>
   <id>1234</id>
   <name>John</name>
@@ -43,11 +42,18 @@ with the data:
 
 updates customer 1234 with the data provided. 
 
+The XML document returned:
+<Customer>
+  <name>John</name>
+  <id>123456</id>
+</Customer>
+
 The client code demonstrates how to send HTTP POST with XML data using 
 JAX-WS Dispatch and how to send HTTP GET using URL.openStream(). The 
 server code demonstrates how to build a RESTful endpoints through 
 JAX-WS Provider interface.
 
+
 Please review the README in the samples directory before continuing.
 
 

Modified: cxf/trunk/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml
URL: http://svn.apache.org/viewvc/cxf/trunk/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml?rev=1185594&r1=1185593&r2=1185594&view=diff
==============================================================================
--- cxf/trunk/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml
(original)
+++ cxf/trunk/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml
Tue Oct 18 11:56:03 2011
@@ -17,6 +17,8 @@
   specific language governing permissions and limitations
   under the License.
 -->
-<tns:Customer xmlns:tns="http://apache.org/hello_world_soap_http/types">
-  <tns:id>123456</tns:id>
-</tns:Customer>
+<Customer>
+  <id>1234</id>
+  <name>John</name>
+  <phoneNumber>123456</phoneNumber>
+</Customer>



Mime
View raw message