Originally posted by Beno�t d'Oncieu:
OK, for this one, you'll have to find it by yourself ;-)
The exception say: MalformedURLException
You have to write the location of the XML Schema as a URL (hint: the protocol is file).
Good luck
Originally posted by Beno�t d'Oncieu:
You may be using a transparent proxy, i.e. no direct access to the web resource. In that case, I suggest you store the XMLSchema locally and then replace the line:
by:
Other than that, the following line shows a package that does not exist in Xerces 2.2.1:
This shouldn't be the cause of your problem, but if you absolutely need to use version 2.2.1, try to see if there is no version conflict between you jar files.
Cheers
Originally posted by Beno�t d'Oncieu:
Hi Ropa,
Here is the result of the validation of your XML Schema:
I had to change a bit the code to adapt it to schema validation (as opposed to WSDL validation). Here it goes:
Cheers
Originally posted by Beno�t d'Oncieu:
Balaji,
Nice link, however, most ideas from the article can only be applied when using Microsoft .NET
Thanks
Originally posted by Beno�t d'Oncieu:
I think I have it right now. Look at the main method to see how to use it. It's really a first attempt (using Xerces), but it still needs improving.
If your wsdl is using more namespaces, you can register them using the registerNamespace method before calling the validateSchema.
I also removed the verbose stuff for the ErrorHandler for the sake of simplicity![]()
Originally posted by Beno�t d'Oncieu:
Hi again Roopa,
By using the same code you submitted earlier![]()
The schema location is:
http://schemas.xmlsoap.org/wsdl/
Hope this helps
[ December 16, 2002: Message edited by: Beno�t d'Oncieu ]
Originally posted by Beno�t d'Oncieu:
Hi again Roopa,
By using the same code you submitted earlier![]()
The schema location is:
http://schemas.xmlsoap.org/wsdl/
Hope this helps
[ December 16, 2002: Message edited by: Beno�t d'Oncieu ]
Originally posted by Beno�t d'Oncieu:
Roopa,
Could you change the following lines:
by:
and give us the exact exception that was thrown.
Cheers
Originally posted by Beno�t d'Oncieu:
Hi Roopa,
Could you tell us which parser you are using and which version? Is it the one that comes by default with the 1.4 SDK or you are specifying another one?
Actually, you may use the Xerces parser which is JAXP1.2 compliant.
Cheers
[ December 05, 2002: Message edited by: Beno�t d'Oncieu ]
Originally posted by Barry Brashear:
Can anyone tell me the necessary jar files to run SAX particularly the saxParser?
Thanks.