AFAICS you've answered you're own question :P

Yuvraj Waswani wrote:
I am making use of Xerces 2 parser. But again, the question takes form of
whether Axis makes use of validating or non validating parser? Even if it
does make use of validating parser, does it or does the parser try to FETCH
the Schema/DTD from remote location specified by the URLs ? Arent the URLs
just used as URIs for namespace fully-qualify purposes?

And again, isnt the below experiment a sufficient proof that it does not do
this?

-----Original Message-----
From: Koller, Shmuel [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 12:30 PM
To: '[EMAIL PROTECTED]'
Subject: RE: Remote DTD/Schema referencing


I think this issue should be routed to the XML parser used by Axis. First suggestion is to make sure Axis uses latest Xerces (not Crimson). Then look at the performance of the best/latest parser utilized. Shmuel Koller

-----Original Message-----
From: Yuvraj Waswani [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 8:57 AM
To: '[EMAIL PROTECTED]'
Cc: '[EMAIL PROTECTED]'
Subject: RE: Remote DTD/Schema referencing



I UNPLUGGED the network cable and made a 'localhost' web service call (web
service also on my own machine) ...and it ran fine ! Doesnt that conclude
that Axis server or client DOES NOT try to refer/fetch the DTD / Schema
referenced by the URL/URI namespace?


Glen, please answer that question in the context of only soap requests and
responses for webservices, not for requesting wsdl or anything else. I just
made a w/s call without network connectivity and it ran fine.

Thanks.

-----Original Message-----
From: Dimuthu Leelarathne [mailto:[EMAIL PROTECTED]
Sent: Thursday, September 18, 2003 10:29 AM
To: [EMAIL PROTECTED]
Subject: RE: Remote DTD/Schema referencing



Thanx Glen for pointing that out. I was under a wrong impression.


Hi Dimuthu, all:


Does anybody know if Axis performs 'Remote DTD/Schema referencing' ?

Does it fetch all the XML schemas/DTD posted in a particular HTTP soap

request message?


No axis doesn't support romote XML schemas/DTD referecing yet. But if you want reference a schema you can include it in the wsdl of the web service.

Actually it does (for schemas, not DTDs) - see test/wsdl/import* for examples.

--Glen






Reply via email to