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

Jim Ma resolved CXF-5237.
-------------------------

    Resolution: Fixed
    
> Schema validatation doesn't work in mtom enabled provider service 
> ------------------------------------------------------------------
>
>                 Key: CXF-5237
>                 URL: https://issues.apache.org/jira/browse/CXF-5237
>             Project: CXF
>          Issue Type: Bug
>          Components: Core
>    Affects Versions: 2.5.10, 2.6.9, 2.7.6
>            Reporter: Jim Ma
>            Assignee: Jim Ma
>             Fix For: 3.0.0, 2.6.10, 2.7.7, 2.5.11
>
>
> 19:02:50,096 WARNING [org.apache.cxf.phase.PhaseInterceptorChain] 
> (http-/127.0.0.1:8080-1) Interceptor for 
> {http://provider.gss.redhat.com/}HelloWS#{http://provider.gss.redhat.com/}hello
>  has thrown exception, unwinding now: org.apache.cxf.interceptor.Fault: Could 
> not parse the XML stream caused by: org.xml.sax.SAXParseException: 
> cvc-type.3.1.2: Element 'file' is a simple type, so it must have no element 
> information item [children]..
>      at 
> org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:160)
>      at 
> org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:75)
>      at 
> org.apache.cxf.databinding.source.XMLStreamDataReader.read(XMLStreamDataReader.java:60)
>      at 
> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:203)
>      at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:262)
>      at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:121)
>      at 
> org.apache.cxf.transport.http.AbstractHTTPDestination.invoke(AbstractHTTPDestination.java:237)
>     

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to