Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Author Message
gallaxe
Post subject: Webservice doesn't find bean  PostPosted: Nov 21, 2008 - 05:15 PM



Joined: Oct 21, 2008
Posts: 4

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:

Code:

<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
Quote:
 
 View user's profile Send private message  
Reply with quote Back to top
support-nipun
Post subject: RE: Webservice doesn  PostPosted: Nov 24, 2008 - 03:24 PM
Registered Member
Registered Member


Joined: Apr 18, 2007
Posts: 6132

Gerhard,
I have asked the web services team to take a look at this issue. They will get back to you with a reply asap.

_________________
Nipun
MyEclipse Support
 
 View user's profile Send private message Send e-mail  
Reply with quote Back to top
Display posts from previous:     
Jump to:  
All times are GMT - 6 Hours
Post new topic   Reply to topic
View previous topic Printable version Log in to check your private messages View next topic
Powered by PNphpBB2 © 2003-2004 The PNphpBB Group
Credits