Note that there are some explanatory texts on larger screens.

plurals
  1. POSpring and Jax-WS : where are xsd schema?
    text
    copied!<p>In spring file <strong>applicationConfig.xml</strong>, JAX-WS integration need some specific schemas. I recently successfully use these declarations :</p> <ul></ul> <ul> <li><a href="https://jax-ws.dev.java.net/spring/core.xsd" rel="nofollow">https://jax-ws.dev.java.net/spring/core.xsd</a></li> <li>https jax-ws.dev.java.net/spring/servlet.xsd</li> </ul> <p>[I must remove all url (except one) because it's my first question]</p> <p>The file begins with those declarations : <br> <code>&lt;beans xmlns="http www.springframework.org/schema/beans" xmlns:xsi="http www.w3.org/2001/XMLSchema-instance" xmlns:aop="http www.springframework.org/schema/aop" xmlns:tx="http www.springframework.org/schema/tx" xmlns:context="http www.springframework.org/schema/context" 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.xsd http www.springframework.org/schema/aop http www.springframework.org/schema/aop/spring-aop.xsd http www.springframework.org/schema/tx http www.springframework.org/schema/tx/spring-tx.xsd http www.springframework.org/schema/context http www.springframework.org/schema/context/spring-context.xsd http jax-ws.dev.java.net/spring/core https jax-ws.dev.java.net/spring/core.xsd http jax-ws.dev.java.net/spring/servlet https jax-ws.dev.java.net/spring/servlet.xsd"&gt;</code><br> <code>(...)</code><br> <code>&lt;ws:service id="myService" bean="#myWS" /&gt;</code><br> <code>&lt;wss:binding url="/services/myws" service="#myService" /&gt;</code></p> <p>Now, a migration occurs for website jax-ws.dev.java.net. These files are not found and I have some errors under Tomcat and Eclipse :<br></p> <blockquote> <p>org.xml.sax.SAXParseException: schema_reference.4: Failed to read schema document 'https://jax-ws.dev.java.net/spring/core.xsd', because 1) could not find the document; 2) the document could not be read; 3) the root element of the document is not .</p> </blockquote> <p>Is there a solution or something to prevent this error ?</p> <p>Thanks</p>
 

Querying!

 
Guidance

SQuiL has stopped working due to an internal error.

If you are curious you may find further information in the browser console, which is accessible through the devtools (F12).

Reload