Eran,
No. The spec says that relative URLs are allowed, for example in <ws:include>. We need to know the base URL even if you are given a stream. The URL can be passed in as a parameter.
Arthur Ryman,
IBM Software Group, Rational Division
blog: http://ryman.eclipsedevelopersjournal.com/
phone: +1-905-413-3077, TL 969-3077
assistant: +1-905-413-2411, TL 969-2411
fax: +1-905-413-4920, TL 969-4920
mobile: +1-416-939-5063, text: [EMAIL PROTECTED]
Eran Chinthaka <[EMAIL PROTECTED]>
06/22/2006 12:32 PM
|
|
Arthur Ryman wrote:
> Eran,
>
> Even if you have an input stream, you still need a URI for the WSDL
> document since the document might contain relative URIs. You need to know
> the base URI of the document in order to interpret relative URIs.
I agree, but these relatives paths are not urls. Basically they are just
relative file locations without a scheme.
If you create a URL from that, most probably you will get
MalformedURLException.
Can't we have a trade-off for this, please.
-- Chinthaka
signature.asc
Description: Binary data
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]