Schema not referenceable in namespace [message #1833923] |
Tue, 27 October 2020 16:30  |
Eclipse User |
|
|
|
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
|
|
|
|
|
Powered by
FUDForum. Page generated in 0.05052 seconds