cxf-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gma...@apache.org
Subject svn commit: r1144139 - in /cxf/branches/2.3.x-fixes: ./ distribution/src/main/release/samples/js_browser_client_simple/README.txt distribution/src/main/release/samples/js_browser_client_simple/build.xml
Date Fri, 08 Jul 2011 03:19:15 GMT
Author: gmazza
Date: Fri Jul  8 03:19:15 2011
New Revision: 1144139

URL: http://svn.apache.org/viewvc?rev=1144139&view=rev
Log:
Merged revisions 1144138 via svnmerge from 
https://svn.apache.org/repos/asf/cxf/branches/2.4.x-fixes

................
  r1144138 | gmazza | 2011-07-07 23:15:36 -0400 (Thu, 07 Jul 2011) | 9 lines
  
  Merged revisions 1144137 via svnmerge from 
  https://svn.apache.org/repos/asf/cxf/trunk
  
  ........
    r1144137 | gmazza | 2011-07-07 23:13:26 -0400 (Thu, 07 Jul 2011) | 1 line
    
    Text clean up, Ant build file removal
  ........
................

Removed:
    cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/build.xml
Modified:
    cxf/branches/2.3.x-fixes/   (props changed)
    cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/README.txt

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/js_browser_client_simple/README.txt
URL: http://svn.apache.org/viewvc/cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/README.txt?rev=1144139&r1=1144138&r2=1144139&view=diff
==============================================================================
--- cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/README.txt
(original)
+++ cxf/branches/2.3.x-fixes/distribution/src/main/release/samples/js_browser_client_simple/README.txt
Fri Jul  8 03:19:15 2011
@@ -1,8 +1,7 @@
 JavaScript Client Demo using Document/Literal Style
-=============================================
-
+===================================================
 This demo illustrates the use of the JavaScript client generator. This
-demo deploys the a service based on the wsdl_first demo, and then
+demo deploys a service based on the wsdl_first demo, and then
 provides a browser-compatible client that communicates with it. Please
 read the README.txt for the wsdl_first sample for more information on
 the service.
@@ -17,34 +16,17 @@ JavaScript client feature.
 
 Prerequisite
 ------------
-
 If your environment already includes cxf-manifest.jar on the
-CLASSPATH, and the JDK and ant bin directories on the PATH
-it is not necessary to set the environment as described in
+CLASSPATH, and the JDK directories on the PATH it is not 
+necessary to set the environment variables as described in
 the samples directory README.  If your environment is not
 properly configured, or if you are planning on using wsdl2java,
 javac, and java to build and run the demos, you must set the
-environment.
+environment variables.
 
 
-Building and running the demo using Ant
----------------------------------------
-From the base directory of this sample (i.e., where this README file is
-located), the Ant build.xml file can be used to build and run the
-server for the demo. 
-
-Using either UNIX or Windows:
-
-  ant server  (from one command line window)
-    
-
-To remove the code generated from the WSDL file and the .class
-files, run "ant clean".
-
-
-Building and running the demo using maven
----------------------------------------
-
+Building and running the demo using Maven
+-----------------------------------------
 From the base directory of this sample (i.e., where this README file is
 located)
 
@@ -109,14 +91,11 @@ On Windows, a new command windows opens 
 client, terminate the server process by issuing Ctrl-C in its command window.
 
 To remove the code generated from the WSDL file and the .class
-files, either delete the build directory and its contents or run:
-
-  ant clean
+files, just delete the build directory and its contents.
 
 
 Running the client in a browser
 -------------------------------
-
 Once the server is running, browse to:
 
   http://HOSTNAME:9000/HelloWorld.html
@@ -127,24 +106,24 @@ On the web page you see, click on the 'i
 very simple sayHi service, which takes no input and returns a single
 string.
 
-Schema Validateion Exception
+Schema Validation Exception
 ----------------------------
-When run the client with mvn -Pclient, we can get some exception like
+When running the client with mvn -Pclient, you may see exceptions like
 Marshalling Error: cvc-maxLength-valid: Value 'Invoking greetMe with 
 invalid length string, expecting exception...' with length = '67' is 
 not facet-valid with respect to maxLength '30' for type 'MyStringType'. 
-This is expected, as in the wsdl we have restriction like
+This is to be expected because in the wsdl we include restrictions such as
             <simpleType name="MyStringType">
                 <restriction base="string">
                     <maxLength value="30" />
                 </restriction>
             </simpleType>
-for greetMe request message,
-and we also enable the schema validation in cxf.xml
+for the greetMe request message,
+and we're also enabling schema validation in our cxf.xml
             <jaxws:properties>
                 <entry key="schema-validation-enabled" value="true" />
             </jaxws:properties>
-so if the greetMe request length is bigger than 30 character, we will see
+so if the greetMe request length is bigger than 30 characters, we will see
 this exception.
 
 



Mime
View raw message