wtp working offline [message #154598] |
Tue, 03 January 2006 17:15 |
Eclipse User |
|
|
|
Originally posted by: gilbertb.stratcom.mil
I've installed eclipse 3.1.1 with wtp 1.0. When trying to validate a wsdl
I'm getting a cvc-elt.1 error.
Due to security constraints I need to develop off-line. I have downloaded
and installed into my xml-catalog all .xsd's from
http://java.sun.com/xml/ns/j2ee/ This does not solve my problem. Anyone
have another suggestion?
|
|
|
|
|
|
Re: wtp working offline [message #154818 is a reply to message #154661] |
Wed, 04 January 2006 22:31 |
Eclipse User |
|
|
|
Originally posted by: gilbertb.stratcom.mil
I've completed a local build and it seemed to work fine. I was able to
validate the wsdl against my local xml catalog and use the top-down
webservice generator. However, after shutting down and restarting eclipse
I'm missing any thing related to wsdl's (e.g. wsld validator, web service
tools, etc...). Tried a -clean and it still doesn't work. I didn't change
anything (famous last words!) If I replace the rebuilt jar with the old
one I get the functionality back but it creates the original errors. Can't
figure out what's causing this new problem.
Thanks for all the help!
|
|
|
|
Re: wtp working offline [message #155057 is a reply to message #155049] |
Thu, 05 January 2006 22:09 |
Eclipse User |
|
|
|
Originally posted by: erickson_d.yahoo.removethis.com
If your XML catalog maps to local DTDs on your file system, make sure
that your file paths contain no spaces. I can't remember now if this is
due to the core Java bug of creating a DocumentBuilder with a File
argument, or something in Eclipse itself, but XML Catalog and directory
names with spaces didn't work in WTP 0.7
Hmm... it's coming back to me now... vaguely. I think this might only
have affected the j2ee XSDs where one schema imports another -- the base
schema document was fine but the following the relative URLs failed?
Maybe.
Anyhow... spaces in paths + XML catalog = several hundred lines dumped
into the eclipse error log. On my Windows system, I moved my local
copies to one directory in the root of my drive, and re-did all the
entries in my XML Catalog.
Noel Bush wrote:
> Kihup Boo wrote:
>
>> The Target Milestone for the fix is set for 1.0.1.
>> You could do your own local build using the patch until the fix is
>> available. The steps are,
>> * Check out org.eclipse.wst.wsdl.validation
>> * Apply the patch against
>> org.eclipse.wst.wsdl.validation.internal.eclipse.WSDLValidat or.java
>> * Build the plugin
>
>
> I have tried these steps, and I find that I am still unable to work
> offline. Moreover, when online, project startup is excruciatingly slow:
> I *think* that Eclipse/WTP is trying to retrieve a DTD, although there
> is no feedback about this anywhere -- the project just fails to start
> when I disconnect the network, and starts fine (but s-l-o-w-l-y) otherwise.
>
> This specifically seems to happen when I am starting a project that uses
> Hibernate -- I have manually placed entries in the XML Catalog for the
> Hibernate configuration DTD, but no luck.
>
>>
>> Let me know if you need detailed instructions.
>> - Kihup
>>
|
|
|
|
Powered by
FUDForum. Page generated in 0.03316 seconds