Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problem with webservices.xml
Problem with webservices.xml [message #141545] Fri, 30 September 2005 13:18
Eclipse UserFriend
Originally posted by: lf_killspam.hemmis.be

Hello,

I am creating a webservices.xml file but wtp has trouble parsing it
correctly.

My header is:

<webservices xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd" version="1.1">


But the xml validator states that "Referenced file contains errors
( http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd)". And if
I get the details of that error message I see a warning: "Failed to read
schema document 'j2ee_1_4.xsd', because 1)could not... 2)... 3..." and a
whole lot of errors "Cannot resolve the name 'j2ee:****', which seem to
be related to the fact he can't find the 'j2ee_1_4.xsd'.

The validator is looking up the j2ee_web_services_1_1.xsd from the
internet (I saw it in the wtp cache). So why can't it find
"j2ee_1_4.xsd"? What should I do to make the validator find "j2ee_1_4.xsd"?

By the way, I don't really understand what the
"http://java.sun.com/xml/ns/j2ee" part does in
"xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://www.ibm.com/webservices/xsd/j2ee_web_services_1_1.xsd"
Is it some kind of namespace narrowing or maybe an alias?

Maybe someone could point me to some clear documentation on
"schemaLocation"? That would be real nice, because I feel I don't fully
understand this whole namespaces thing.

Thanks a lot.

Luc Feys
Previous Topic:remote tomcat server
Next Topic:Convert a project to WST nature
Goto Forum:
  


Current Time: Wed Sep 18 22:00:12 GMT 2024

Powered by FUDForum. Page generated in 0.03096 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top