title: JAX-WS SPRING INTEGRATION Issue
body: <p>My applicationcontext.xml file is </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;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-3.2.0.xsd 
         http://jax-ws.dev.java.net/spring/core 
         http://jax-ws.java.net/spring/core.xsd
          http://jax-ws.dev.java.net/spring/servlet
          https://jax-ws.dev.java.net/spring/servlet.xsd"&gt;
      &lt;wss:binding url="/details"&gt;
          &lt;wss:service&gt;
              &lt;ws:service bean="#Accountimpl" /&gt;
          &lt;/wss:service&gt;
      &lt;/wss:binding&gt;
  
      &lt;!-- Web service methods --&gt;
      &lt;bean id="accountimpl" class="com.webservice.spring.Accountimpl" /&gt;
  &lt;/beans&gt;
  </code></pre>
  
  <p>Jars I used</p>
  
  <ul>
  <li>spring-context 3.2.5.RELEASE</li>
  <li>spring-core  3.2.5.RELEASE</li>
  <li>spring-beans 3.2.5.RELEASE</li>
  <li>spring-context-support 3.2.5.RELEASE</li>
  <li>jaxws-rt  2.2.3</li>
  <li>jaxws-spring 1.8</li>
  </ul>
  
  <p>My web.xml</p>
  
  <pre><code>&lt;!DOCTYPE web-app PUBLIC
   "-//Sun Microsystems, Inc.//DTD Web Application 2.3//EN"
   "http://java.sun.com/dtd/web-app_2_3.dtd" &gt;
  &lt;web-app&gt;
      &lt;display-name&gt;Spring-Webservice&lt;/display-name&gt;
      &lt;listener&gt;
          &lt;listener-class&gt;
              org.springframework.web.context.ContextLoaderListener
          &lt;/listener-class&gt;
      &lt;/listener&gt;
      &lt;servlet&gt;
          &lt;servlet-name&gt;Details&lt;/servlet-name&gt;
          &lt;servlet-class&gt;
              com.sun.xml.ws.transport.http.servlet.WSSpringServlet
          &lt;/servlet-class&gt;
      &lt;/servlet&gt;
  
      &lt;servlet-mapping&gt;
          &lt;servlet-name&gt;Details&lt;/servlet-name&gt;
          &lt;url-pattern&gt;/details&lt;/url-pattern&gt;
      &lt;/servlet-mapping&gt;
  &lt;/web-app&gt;
  </code></pre>
  
  <p>In my web.xml file showing  warning as listener-class references to non-existent class   org.springframework.web.context.ContextLoaderListener
  servlet-class references to non-existent class "com.sun.xml.ws.transport.http.servlet.WSSpringServlet"  </p>
  
  <p>When iam deploying in jboss server i getting below exception</p>
  
  <pre><code>    17:13:09,569 WARN  [org.springframework.beans.factory.xml.XmlBeanDefinitionReader] (MSC service thread 1-8) Ignored XML validation warning: org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'http://www.springframework.org/schema/beans/spring-beans-3.2.0.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not &lt;xsd:schema&gt;.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:196)
      at org.apache.xerces.util.ErrorHandlerWrapper.warning(ErrorHandlerWrapper.java:97)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:386)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:322)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:281)
      at org.apache.xerces.impl.xs.traversers.XSDHandler.reportSchemaWarning(XSDHandler.java:2529)
  17:13:09,624 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-3) Context initialization failed: org.springframework.beans.factory.BeanDefinitionStoreException: Line -1 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Premature end of file.
  Caused by: org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.impl.XMLNSDocumentScannerImpl.scanStartElement(XMLNSDocumentScannerImpl.java:283)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl$FragmentContentDispatcher.dispatch(XMLDocumentFragmentScannerImpl.java:1653)
      at org.apache.xerces.impl.XMLDocumentFragmentScannerImpl.scanDocument(XMLDocumentFragmentScannerImpl.java:324)
      at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:845)
      at org.apache.xerces.parsers.XML11Configuration.parse(XML11Configuration.java:768)
  17:13:09,631 ERROR [org.springframework.web.context.ContextLoader] (MSC service thread 1-8) Context initialization failed: org.springframework.beans.factory.BeanDefinitionStoreException: Line 11 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:417) [spring-2.0.jar:2.0]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357) [spring-2.0.jar:2.0]
  Caused by: org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:196)
      at org.apache.xerces.util.ErrorHandlerWrapper.error(ErrorHandlerWrapper.java:132)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:390)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:322)
  
  
  17:13:09,667 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/Spring-Webservice]] (MSC service thread 1-3) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanDefinitionStoreException: Line -1 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: Premature end of file.
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:417) [spring-2.0.jar:2.0]
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.loadBeanDefinitions(XmlBeanDefinitionReader.java:357) [spring-2.0.jar:2.0]
  
  Caused by: org.xml.sax.SAXParseException: Premature end of file.
      at org.apache.xerces.util.ErrorHandlerWrapper.createSAXParseException(ErrorHandlerWrapper.java:196)
      at org.apache.xerces.util.ErrorHandlerWrapper.fatalError(ErrorHandlerWrapper.java:175)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:394)
      at org.apache.xerces.impl.XMLErrorReporter.reportError(XMLErrorReporter.java:322)
      at org.apache.xerces.impl.XMLErrorReporter.reportError
  
  17:13:09,695 ERROR [org.apache.catalina.core.ContainerBase.[jboss.web].[default-host].[/SpringWebService]] (MSC service thread 1-8) Exception sending context initialized event to listener instance of class org.springframework.web.context.ContextLoaderListener: org.springframework.beans.factory.BeanDefinitionStoreException: Line 11 in XML document from ServletContext resource [/WEB-INF/applicationContext.xml] is invalid; nested exception is org.xml.sax.SAXParseException: cvc-elt.1: Cannot find the declaration of element 'beans'.
      at org.springframework.beans.factory.xml.XmlBeanDefinitionReader.doLoadBeanDefinitions(XmlBeanDefinitionReader.java:417) [spring-2.0.jar:2.0]
  </code></pre>
  
  <p>When changed my applicationContex.xml file as </p>
  
  <pre><code>&lt;?xml version="1.0" encoding="UTF-8"?&gt;
  &lt;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.java.net/spring/core.xsd
          http://jax-ws.dev.java.net/spring/servlet
          https://jax-ws.dev.java.net/spring/servlet.xsd"&gt;
      &lt;wss:binding url="/details"&gt;
          &lt;wss:service&gt;
              &lt;ws:service bean="#Accountimpl" /&gt;
          &lt;/wss:service&gt;
      &lt;/wss:binding&gt;
  
      &lt;!-- Web service methods --&gt;
      &lt;bean id="accountimpl" class="com.webservice.spring.Accountimpl" /&gt;
  
  &lt;/beans&gt;
  </code></pre>
  
  <p>Iam getting error in xmlfile as below
       cvc-complex-type.2.4.c: The matching wildcard is strict, but no declaration can be found for element 'wss:binding'.
          - schema_reference.4: Failed to read schema document '<a href="https://jax-ws.dev.java.net/spring/servlet.xsd" rel="nofollow">https://jax-ws.dev.java.net/spring/servlet.xsd</a>', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .</p>
  
  <p>Iam unable to resolve this issue can any one help me in solving this issue.</p>
  
  <p>Thanks</p>