add schema validation explaination for js_browser_client_simple README
----------------------------------------------------------------------
Key: CXF-3640
URL: https://issues.apache.org/jira/browse/CXF-3640
Project: CXF
Issue Type: Improvement
Components: Samples
Reporter: Freeman Fang
Assignee: Freeman Fang
Priority: Minor
In the example js_browser_client_simple, if we run mvn -Pclient we will get
some expected exception like
Invoking greetMe with invalid length string, expecting exception...
Jul 7, 2011 3:09:12 PM org.apache.cxf.phase.PhaseInterceptorChain
doDefaultLogging
WARNING: Interceptor for
{http://apache.org/hello_world_soap_http}SOAPService#{http://apache.org/hello_world_soap_http}greetMe
has thrown exception, unwinding now
org.apache.cxf.interceptor.Fault: 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'.
at
org.apache.cxf.jaxb.JAXBEncoderDecoder.marshall(JAXBEncoderDecoder.java:256)
at org.apache.cxf.jaxb.io.DataWriterImpl.write(DataWriterImpl.java:169)
This is because we enable schemavalidation in this example and it should be
good we add how the exception comes in the README.txt
--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira