Hi Mukul ,
Your guess  is correct , once i remove those invalid Schema references it
does not give any exception , thanks for your help . Also when i add invalid
entry to the documents it shows the validation Errors ,but for all the
documents ( valid WSDL ) validator shows following two error messages ,  do
you have any idea .....?


[Error] primer-hotelReservationService.wsdl:19:13: Document is invalid: no
grammar found.
[Error] primer-hotelReservationService.wsdl:19:13: Document root element
"description", must match DOCTYPE root "null".


Thanks,



On 11/9/08, Mukul Gandhi <[EMAIL PROTECTED]> wrote:
>
> Just trying to make my best guess to the cause of this. Please read my
> answer below ...
>
>
> On Sun, Nov 9, 2008 at 9:04 PM, Sagara Gunathunga
> <[EMAIL PROTECTED]> wrote:
> >             Vector<String> schemas = new Vector();
> >
> >             schemas.add("http://www.w3.org/ns/wsdl ");
> >
> >             schemas.add(" http://www.w3.org/2007/03/wsdl/wsdl20.xsd";);
> >
> >             schemas.add(" http://www.w3.org/ns/wsdl-extensions ");
> >
> >             schemas.add("
> > http://www.w3.org/2007/03/wsdl/wsdl20-extensions.xsd";);
> >
> >             schemas.add(" http://www.w3.org/2001/XMLSchema ");
> >
> >             schemas.add(" http://www.w3.org/2001/XMLSchema.xsd";);
>
>
> I think the problem lies in the above statements. Each string you add
> to this vector is supposed to be a valid Schema URI.
>
> In your code above, some URIs don't point to a valid Schema (for e.g.,
> http://www.w3.org/ns/wsdl). The Schema processor gives syntax errors
> on these invalid Schema references.
>
> Hope I am right ... :)
>
>
>
> --
> Regards,
> Mukul Gandhi
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


-- 
Sagara Gunathunga

Blog - ssagara.blogspot.com
Web - http://sagaras.awardspace.com/

Reply via email to