Author: ningjiang Date: Tue Oct 18 12:08:56 2011 New Revision: 1185607 URL: http://svn.apache.org/viewvc?rev=1185607&view=rev Log: Merged revisions 1185604 via svnmerge from https://svn.apache.org/repos/asf/cxf/branches/2.4.x-fixes
................ r1185604 | ningjiang | 2011-10-18 20:04:40 +0800 (Tue, 18 Oct 2011) | 9 lines Merged revisions 1185594 via svnmerge from https://svn.apache.org/repos/asf/cxf/trunk ........ r1185594 | ningjiang | 2011-10-18 19:56:03 +0800 (Tue, 18 Oct 2011) | 1 line CXF-3860 CXF sample restful_dispatch Readme.txt need to be updated ........ ................ Modified: cxf/branches/2.3.x-fixes/ (props changed) cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/README.txt cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml Propchange: cxf/branches/2.3.x-fixes/ ------------------------------------------------------------------------------ --- svn:mergeinfo (original) +++ svn:mergeinfo Tue Oct 18 12:08:56 2011 @@ -1,2 +1,2 @@ -/cxf/branches/2.4.x-fixes:1183215,1183257,1185464 -/cxf/trunk:1183212,1183253,1185460 +/cxf/branches/2.4.x-fixes:1183215,1183257,1185464,1185604 +/cxf/trunk:1183212,1183253,1185460,1185594 Propchange: cxf/branches/2.3.x-fixes/ ------------------------------------------------------------------------------ Binary property 'svnmerge-integrated' - no diff available. Modified: cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/README.txt URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/README.txt?rev=1185607&r1=1185606&r2=1185607&view=diff ============================================================================== --- cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/README.txt (original) +++ cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/README.txt Tue Oct 18 12:08:56 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/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml?rev=1185607&r1=1185606&r2=1185607&view=diff ============================================================================== --- cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml (original) +++ cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/restful_dispatch/src/main/java/demo/restful/client/CustomerJohnReq.xml Tue Oct 18 12:08:56 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>
