hi

That's what I don't remember. So  I was wondering if anyone had encountered
this error. Also when I did it the first time like you wrote to me it worked
fine so it's a little stupid


cheers, Håkon

2008/6/3 Freeman Fang <[EMAIL PROTECTED]>:

> Hi,
>
> What the change you make cause the exception?
>
> Freeman
>
>
> Håkon Sagehaug wrote:
>
>> Hi
>>
>> I've got this bus config for the apache cxf bc  for validating incoming
>> soap
>> messages like this
>>
>> <beans xmlns="http://www.springframework.org/schema/beans";
>>    xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";
>>    xmlns:http-conf="http://cxf.apache.org/transports/http/configuration";
>>    xmlns:jaxws="http://cxf.apache.org/jaxws";
>>    xmlns:jas="http://bccs.uib.no/Jaspar";
>>    xsi:schemaLocation="
>> http://www.springframework.org/schema/beans
>> http://www.springframework.org/schema/beans/spring-beans-2.0.xsd
>> http://cxf.apache.org/core http://cxf.apache.org/schemas/core.xsd
>> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
>> http://cxf.apache.org/transports/http/configuration
>> http://cxf.apache.org/schemas/configuration/http-conf.xsd";  >
>>
>>    <http-conf:conduit name="{
>> http://bccs.uib.no/Jaspar}JasparDB.http-conduit<http://bccs.uib.no/Jaspar%7DJasparDB.http-conduit>
>> ">
>>        <http-conf:client AllowChunking="false" Connection="Keep-Alive" />
>>    </http-conf:conduit>
>>
>>    <jaxws:endpoint 
>> name="{http://bccs.uib.no/Jaspar}JasparDB<http://bccs.uib.no/Jaspar%7DJasparDB>
>> "
>>        wsdlLocation="service.wsdl"
>>        createdFromAPI="true">
>>        <jaxws:properties>
>>            <entry key="schema-validation-enabled" value="true" />
>>        </jaxws:properties>
>>    </jaxws:endpoint>
>>
>> </beans>
>>
>> and have a consumer like this
>>
>>    <cxfbc:consumer wsdl="classpath:service.wsdl"
>>                      endpoint="JasparDB"
>>                      service="jas:JasparDB"
>>                      targetEndpoint="JasparProxy"
>>                      targetService="jas:JasparDB"
>>                      targetInterface="jas:JasparDB"
>>                      busCfg="cxf-validate.xml"
>>                      >
>>    </cxfbc:consumer>
>>
>> For a while everything worked fine, but then I made a change, and I can't
>> deploy the service again the error looks like this
>>
>> ![CDATA[javax.jbi.management.DeploymentException:
>> java.lang.RuntimeException:
>> org.springframework.beans.factory.parsing.BeanDefinitionParsingException:
>> Configuration problem: Unable to locate Spring NamespaceHandler for XML
>> schema namespace [http://cxf.apache.org/jaxws]
>> Offending resource: class path resource [cxf-validate.xml]
>>
>>        at
>> org.apache.servicemix.cxfbc.CxfBcConsumer.validate(CxfBcConsumer.java:338)
>>
>> so I was wondering if you guys had any tips??
>>
>> cheers, Håkon
>>
>>
>>
>
>


-- 
Håkon Sagehaug, Software Developer
Parallab, Bergen Center for Computational Science (BCCS)
UNIFOB AS (University of Bergen Research Company)

Reply via email to