You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@cxf.apache.org by "Freeman Fang (JIRA)" <ji...@apache.org> on 2011/07/07 09:13:16 UTC
[jira] [Created] (CXF-3640) add schema validation explaination for
js_browser_client_simple README
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
[jira] [Closed] (CXF-3640) add schema validation explaination for
js_browser_client_simple README
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang closed CXF-3640.
-----------------------------
> 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
> Fix For: 2.3.6, 2.4.2, 2.5
>
>
> 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
[jira] [Updated] (CXF-3640) add schema validation explaination for
js_browser_client_simple README
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ https://issues.apache.org/jira/browse/CXF-3640?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Freeman Fang updated CXF-3640:
------------------------------
Fix Version/s: 2.3.6
2.4.2
2.5
> 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
> Fix For: 2.3.6, 2.4.2, 2.5
>
>
> 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
[jira] [Resolved] (CXF-3640) add schema validation explaination for
js_browser_client_simple README
Posted by "Freeman Fang (JIRA)" <ji...@apache.org>.
[ 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