You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cxf.apache.org by mzha <mi...@destatis.de> on 2008/12/16 18:04:15 UTC
Malformed URL
Hi,
my cxf version is 2.1.2 and I use the spring configuration beans.xml to
configure cxf. My web services run in Tomcat.
When I start Tomcat. I get the message "Malformed URL on system identifier:
classpath:/schemas/wsdl"
But the web services can be invoked without any problem.
Even so, I want to solve this malformed URL problem.
I'v read the related previous discussion about this
topic(http://www.nabble.com/malformed-url-exception-with-2.0.3--td14033831.html#a14033831).
It points to the problem of "conflict between http-jetty module and
http-servlet module".
The solution is - don't use the cxf-extension-*.xml to import CXF
components.
I don't know, How can I import CXF components in another way.
I hope, you can help me.
Thank you in advance.
Following is my beans.xml
=================================================
<?xml version="1.0" encoding="ISO-8859-1"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:sec="http://cxf.apache.org/configuration/security"
xmlns:http="http://cxf.apache.org/transports/http/configuration"
xmlns:jaxws="http://cxf.apache.org/jaxws"
xsi:schemaLocation="
http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://cxf.apache.org/jaxws
http://cxf.apache.org/schemas/jaxws.xsd
">
<import resource="classpath:META-INF/cxf/cxf.xml"/>
<import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
<import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
<jaxws:endpoint id="catalogService"
implementor="de.destatis.idb.web.ws.service.cxf.CatalogWebServiceImpl"
address="/CatalogService"
serviceName="CatalogService"/>
</beans>
=================================================
--
View this message in context: http://www.nabble.com/Malformed-URL-tp21037214p21037214.html
Sent from the cxf-user mailing list archive at Nabble.com.
Re: Malformed URL
Posted by Daniel Kulp <dk...@apache.org>.
Can you try with CXF 2.1.3?
Dan
On Tuesday 16 December 2008 12:04:15 pm mzha wrote:
> Hi,
> my cxf version is 2.1.2 and I use the spring configuration beans.xml to
> configure cxf. My web services run in Tomcat.
> When I start Tomcat. I get the message "Malformed URL on system identifier:
> classpath:/schemas/wsdl"
> But the web services can be invoked without any problem.
> Even so, I want to solve this malformed URL problem.
>
> I'v read the related previous discussion about this
> topic(http://www.nabble.com/malformed-url-exception-with-2.0.3--td14033831.
>html#a14033831). It points to the problem of "conflict between http-jetty
> module and http-servlet module".
> The solution is - don't use the cxf-extension-*.xml to import CXF
> components.
> I don't know, How can I import CXF components in another way.
>
> I hope, you can help me.
>
> Thank you in advance.
>
> Following is my beans.xml
> =================================================
> <?xml version="1.0" encoding="ISO-8859-1"?>
> <beans xmlns="http://www.springframework.org/schema/beans"
> xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
> xmlns:sec="http://cxf.apache.org/configuration/security"
> xmlns:http="http://cxf.apache.org/transports/http/configuration"
> xmlns:jaxws="http://cxf.apache.org/jaxws"
> xsi:schemaLocation="
> http://www.springframework.org/schema/beans
> http://www.springframework.org/schema/beans/spring-beans.xsd
> http://cxf.apache.org/jaxws
> http://cxf.apache.org/schemas/jaxws.xsd
> ">
> <import resource="classpath:META-INF/cxf/cxf.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml"/>
> <import resource="classpath:META-INF/cxf/cxf-servlet.xml"/>
> <jaxws:endpoint id="catalogService"
> implementor="de.destatis.idb.web.ws.service.cxf.CatalogWebServiceImpl"
> address="/CatalogService"
> serviceName="CatalogService"/>
> </beans>
> =================================================
--
Daniel Kulp
dkulp@apache.org
http://dankulp.com/blog