cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Freeman Fang (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (CXF-3640) add schema validation explaination for js_browser_client_simple README
Date Thu, 07 Jul 2011 07:35:16 GMT

     [ https://issues.apache.org/jira/browse/CXF-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Freeman Fang resolved CXF-3640.
-------------------------------

    Resolution: Fixed

commit fix
http://svn.apache.org/viewvc?rev=1143685&view=rev for trunk
http://svn.apache.org/viewvc?rev=1143686&view=rev for 2.4.x branch
http://svn.apache.org/viewvc?rev=1143687&view=rev for 2.3.x branch

> 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

        

Mime
View raw message