cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sortakool <raymond.manal...@ubs.com>
Subject Re: Error after turning on Schema Validation
Date Mon, 03 Aug 2009 14:30:23 GMT

I've come across this problem before because my WSDL had import/include
references to other schema files that were inside a jar. To fix the problem
I had to unpack the schema files in the WEB-INF directory of my webapp.



sshah wrote:
> 
> Hello,
> 
> I am getting the following error after turning on schema validation in 
> my services.
> I am using SoapUI to test the services. What am I doing wrong and how I 
> can get past this?
> 
> thanks
> 
> Aug 1, 2009 12:38:10 AM org.apache.cxf.phase.PhaseInterceptorChain 
> doIntercept
> INFO: Interceptor has thrown exception, unwinding now
>    org.apache.cxf.interceptor.Fault: Unmarshalling Error: cvc-elt.1: 
> Cannot find the declaration of element 'arg0'.
>         at 
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:622)
>         at 
> org.apache.cxf.jaxb.JAXBEncoderDecoder.unmarshall(JAXBEncoderDecoder.java:527)
>         at 
> org.apache.cxf.jaxb.io.DataReaderImpl.read(DataReaderImpl.java:114)
>         at 
> org.apache.cxf.interceptor.DocLiteralInInterceptor.getPara(DocLiteralInInterceptor.java:242)
>         at 
> org.apache.cxf.interceptor.DocLiteralInInterceptor.handleMessage(DocLiteralInInterceptor.java:120)
>         at 
> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:236)
>         at 
> org.apache.cxf.transport.ChainInitiationObserver.onMessage(ChainInitiationObserver.java:89)
>         at 
> org.apache.cxf.transport.servlet.ServletDestination.invoke(ServletDestination.java:99)
> 
> 

-- 
View this message in context: http://www.nabble.com/Error-after-turning-on-Schema-Validation-tp24766048p24791876.html
Sent from the cxf-user mailing list archive at Nabble.com.


Mime
View raw message