[oXygen-user] Oxygen Problems
Radu Coravu
Thu Mar 17 07:06:17 CST 2005
Hello Matthew,
The wsdl validator in Oxygen only tries to validate the wsdl file
against the wsdl schema with soap extensions.
This means that the validator does not try to resolve part names to
schema types and does not validate the included/imported schemas from
the wsdl.
When the SOAP Analyser dialog appears, if you select a certain operation
from the combo box the analyser will try to find the schema elements or
types needed to compose the SOAP request and if this fails then
supplementary errors may appear in the Errors Tab.
In a 'portType' element an 'operation' specifies messages both for the
output (the response from the server) and the input (the request sent to
the server).
The SOAP Client only looks that the input message is decoded because
only the input message is used to compose a correct request to the server.
Probably the server tries to make the stubs from the output message of a
certain operation and encounters the problem that you stated.
So to correct the error you probably have to search for the namespace
'http://www.w3.org/2000/10/XMLSchema
<http://www.w3.org/2000/10/XMLSchema%7duriReference>' in your files
(both wsdl and schema) and replace it with:
'http://www.w3.org/2001/XMLSchema '. Instead of the 'uriReference
<http://www.w3.org/2000/10/XMLSchema%7duriReference>' element type you
can use the 'anyURI' type from the newest specification.
Regards, Radu.
Matthew Riches wrote:
> I am not sure if this falls exclusively within the remit of Oxygen or
> not, so apologies if it is not an Oxygen Problem
>
> I Have a WSDL and XSD in oxygen that test and verify without error.
>
> If However I copy the files to my server and run them, then I get an
> error.
>
> "java.io.IOException: Type
> {http://www.w3.org/2000/10/XMLSchema}uriReference
> <http://www.w3.org/2000/10/XMLSchema%7duriReference> is referenced but
> not defined."
>
> I don’t understand why this is, but as it is in the standard files, I
> think I'm limited to what I can do. Is this a fault of the way I am
> using oxygen, or my apache system, or does oxygen just not check /
> test everything fully?
>
> Matt
>
> |
>
> **********************************************************************
> This email and any files transmitted with it are confidential and
> intended solely for the use of the individual or entity to whom they
> are addressed. If you have received this email in error please notify
> the system manager.
> This footnote also confirms that this email message has been swept by
> MIMEsweeper for the presence of computer viruses.
> www.mimesweeper.com
> **********************************************************************
> |
>
>------------------------------------------------------------------------
>
>_______________________________________________
>oXygen-user mailing list
>
>http://www.oxygenxml.com/mailman/listinfo/oxygen-user
>
>
More information about the oXygen-user
mailing list