Hello,
new attempt for building a Webservice with Spring.
The Webservice I generated with MyEclipse(MS 7.02) wizard using JAX-WS.
When I call a method of the Service from the Webservice Explorer which only
returns a boolean value, all works fine.
But if I call a method which will use another bean (Dao), it fails.
The Webservice runs in MyEclipse Tomcat 6.0.13. The DAO should be injected by
Spring. The config file looks like:
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/applicationContext.xml</param-value>
</context-param>
...
<listener>
<listener-class>
com.sun.xml.ws.transport.http.servlet.WSServletContextListener
</listener-class>
</listener>
It doesn't find the Ibatis-sqlMapClient, although it is configured in applicationContext.xml.
If I use this:
<listener>
<listener-class>org.springframework.web.context.ContextLoaderServlet</listener-class>
</listener>
I get the following error in the Web Service Explorer:
The SOAP response failed schema validation.
What is wrong? Thanks a lot, Gerhard