Hello, forum users,
I created a Web Service Project with some simple methods that worked.
(How I did this step by step I described in my last posting in the thread
“Problem with Spring and Ibatis”, but I think this is here not important.)
Then I added Spring capabilities and tried to change applicationContext.xml
and web.xml as described on
https://jax-ws-commons.dev.java.net/spring/
applicationContext.xml starts with
<?xml version="1.0" encoding="UTF-8"?>
<beans
xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:ws="http://jax-ws.dev.java.net/spring/core"
xmlns:wss="http://jax-ws.dev.java.net/spring/servlet"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-2.5.xsd
http://jax-ws.dev.java.net/spring/core http://jax-ws.dev.java.net/spring/core.xsd
http://jax-ws.dev.java.net/spring/servlet http://jax-ws.dev.java.net/spring/servlet.xsd">
(actually spring-beans-2.0, but this is the same error).
In the MyEclipse editor I get the following error:
“Referenced file contains errors (http://jax-ws.dev.java.net/spring/servlet.xsd). For more information, right click on the message and select “Show Details…” applicationContext.xml line 1 XML Problem” and “White spaces are required between publicId and systemId.”.
Can anybody help me? I begin to desperate, don’t get that Web Service to work with
Spring. I would really like to use Spring, but if I have no solution next monday I skip it.
Thanks for any help,
Gerhard.