Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Archived » XML Schema Definition (XSD) » Schema not referenceable in namespace
Schema not referenceable in namespace [message #1833923] Tue, 27 October 2020 20:30 Go to next message
Brian Lavender is currently offline Brian LavenderFriend
Messages: 20
Registered: July 2009
Junior Member
Hi,
I am trying to use wsimport in Java. It says that on line 96, that s:schema is not referenenceable in the namespace. Below is the output. How can I fix this?

Brian

brian@zigzag:~/src$ wsimport -d generated ASCQuery.wsdl
parsing WSDL...


[WARNING] src-resolve.4.2: Error resolving component 's:schema'. It was detected that 's:schema' is in namespace 'http://www.w3.org/2001/XMLSchema', but components from this namespace are not referenceable from schema document 'file:/home/brian/src/ASCQuery.wsdl#types?schema1'. If this is the incorrect namespace, perhaps the prefix of 's:schema' needs to be changed. If this is the correct namespace, then an appropriate 'import' tag should be added to 'file:/home/brian/src/ASCQuery.wsdl#types?schema1'.
line 96 of file:/home/brian/src/ASCQuery.wsdl#types?schema1

[WARNING] src-resolve: Cannot resolve the name 's:schema' to a(n) 'element declaration' component.
line 96 of file:/home/brian/src/ASCQuery.wsdl#types?schema1

[ERROR] undefined element declaration 's:schema'
line 96 of file:/home/brian/src/ASCQuery.wsdl
Re: Schema not referenceable in namespace [message #1833924 is a reply to message #1833923] Tue, 27 October 2020 20:44 Go to previous messageGo to next message
Brian Lavender is currently offline Brian LavenderFriend
Messages: 20
Registered: July 2009
Junior Member
Oh, I guess after previewing the messages in the forum, this isn't the right place. :(
I wonder if the Eclipse XML tools can help?
Re: Schema not referenceable in namespace [message #1833927 is a reply to message #1833924] Wed, 28 October 2020 06:35 Go to previous message
Ed Merks is currently offline Ed MerksFriend
Messages: 33264
Registered: July 2009
Senior Member
Given wsimport is not provided by Eclipse this is probably not a place to ask about it. I Googled a bit for "wsimport src-resolve.4.2: Error resolving component" and found this:

https://stackoverflow.com/questions/13499860/jax-ws-error-on-wsdl-file-error-resolving-component-sschema


Ed Merks
Professional Support: https://www.macromodeling.com/
Previous Topic:validation markers now permanent
Next Topic:XML Schema Editor black text on dark background
Goto Forum:
  


Current Time: Mon Jan 20 18:14:52 GMT 2025

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

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

Back to the top