cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Dennis Sosnoski <...@sosnoski.com>
Subject Re: Tests failing with no internet connection
Date Sun, 12 Jun 2011 01:25:45 GMT
Ok, I'll try to get this set up.

  - Dennis


On 06/12/2011 01:23 PM, Freeman Fang wrote:
> Hi Dennis,
>
> Yep, we should add xml catalog to avoid downloading xsd remotely.
> We already have local wsrm-policy.xsd in ws/rm module so we just need
> add catalog.xml somewhere to map remote url to the local one.
>
> Freeman
>
> On 2011-6-12, at 上午6:28, Dennis Sosnoski wrote:
>
>> I've been trying to fix some sys test problems with new code while
>> running offline, and have run into problems with Spring apparently
>> trying to load schema definitions. Here's a typical exception:
>>
>> Caused by: org.apache.cxf.binding.soap.SoapFault:
>> org.springframework.beans.factory.xml.XmlBeanDefinitionStoreException:
>> Line 71 in XML document from class path resource
>> [org/apache/cxf/systest/ws/rm/seqlength1.xml] is invalid; nested
>> exception is org.xml.sax.SAXParseException: src-resolve: Cannot resolve
>> the name 'wsrmp:RMAssertion' to a(n) 'element declaration' component.
>>    at
>> org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)
>>
>>    at
>> org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)
>>
>>    at
>> org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:1)
>>
>>    at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
>>
>>    at
>> org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:99)
>>
>>    at
>> org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
>>
>>    at
>> org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:1)
>>
>>    at
>> org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
>>
>>    at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:730)
>> ...
>>
>> From other traces it seems the problem is that Xerces is trying to fetch
>> the schema definition online and failing.
>>
>> When I run the same test with an internet connection it loads the
>> configuration file without any problems.
>>
>> Anyone have any ideas how I can work around this for offline builds? And
>> are we supposed to require an internet connection for full builds, or is
>> this something that should be fixed anyway?
>>
>> Thanks,
>>
>>  - Dennis
>>
>> -- 
>>
>> Dennis M. Sosnoski
>> Java SOA and Web Services Consulting
>> <http://www.sosnoski.com/consult.html>
>> Axis2/CXF/Metro SOA and Web Services Training
>> <http://www.sosnoski.com/training.html>
>> Web Services Jump-Start <http://www.sosnoski.com/jumpstart.html>
>>
>
> ---------------------------------------------
> Freeman Fang
>
> FuseSource
> Email:ffang@fusesource.com
> Web: fusesource.com
> Twitter: freemanfang
> Blog: http://freemanfang.blogspot.com
>
>
>
>
>
>
>
>
>
>

Mime
View raw message