facebook

Webservice doesn’t find bean

  1. MyEclipse Archived
  2.  > 
  3. Web Services
Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #291291 Reply

    gallaxe
    Member

    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

    #291330 Reply

    Loyal Water
    Member

    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.

Viewing 2 posts - 1 through 2 (of 2 total)
Reply To: Webservice doesn’t find bean

You must be logged in to post in the forum log in