facebook

WebService with Spring – error in xml

  1. MyEclipse IDE
  2.  > 
  3. Off Topic
Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #290257 Reply

    gallaxe
    Member

    Hello, forum users,

    I created a Web Service Project with some simple methods that worked.
    (How I did this step by step I described in my last posting in the thread
    “Problem with Spring and Ibatis”, but I think this is here not important.)
    Then I added Spring capabilities and tried to change applicationContext.xml
    and web.xml as described on

    https://jax-ws-commons.dev.java.net/spring/

    applicationContext.xml starts with

    <?xml version="1.0" encoding="UTF-8"?>
    <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.dev.java.net/spring/core.xsd  
                         http://jax-ws.dev.java.net/spring/servlet http://jax-ws.dev.java.net/spring/servlet.xsd">

    (actually spring-beans-2.0, but this is the same error).

    In the MyEclipse editor I get the following error:

    “Referenced file contains errors (http://jax-ws.dev.java.net/spring/servlet.xsd). For more information, right click on the message and select “Show Details…” applicationContext.xml line 1 XML Problem” and “White spaces are required between publicId and systemId.”.

    Can anybody help me? I begin to desperate, don’t get that Web Service to work with
    Spring. I would really like to use Spring, but if I have no solution next monday I skip it.

    Thanks for any help,

    Gerhard.

    #290270 Reply

    Loyal Water
    Member

    I’m sorry I don’t know how to resolve this issue. Maybe some other user on the forum could help you out with this issue.

    #302768 Reply

    ddelen
    Member

    Hello,

    Somebody an idea how this can be solved. Today I have the same error

    Regards
    Diederik

Viewing 3 posts - 1 through 3 (of 3 total)
Reply To: WebService with Spring – error in xml

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