Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » wtp working offline
wtp working offline [message #154598] Tue, 03 January 2006 17:15 Go to next message
Eclipse UserFriend
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 #154630 is a reply to message #154598] Tue, 03 January 2006 18:41 Go to previous messageGo to next message
Kihup Boo is currently offline Kihup BooFriend
Messages: 15
Registered: July 2009
Junior Member
Hi Ben,

This problem was discovered lately (after M9) and a defect (121447) was
opened. See https://bugs.eclipse.org/bugs/show_bug.cgi?id=121447

- Kihup
Re: wtp working offline [message #154637 is a reply to message #154630] Tue, 03 January 2006 19:14 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: gilbertb.stratcom.mil

Thanks for the quick response. Is this a fix? If it is how do I implement
it?
Re: wtp working offline [message #154661 is a reply to message #154637] Tue, 03 January 2006 21:30 Go to previous messageGo to next message
Kihup Boo is currently offline Kihup BooFriend
Messages: 15
Registered: July 2009
Junior Member
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

Let me know if you need detailed instructions.
- Kihup
Re: wtp working offline [message #154818 is a reply to message #154661] Wed, 04 January 2006 22:31 Go to previous messageGo to next message
Eclipse UserFriend
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 #155049 is a reply to message #154661] Thu, 05 January 2006 20:58 Go to previous messageGo to next message
Noel Bush is currently offline Noel BushFriend
Messages: 38
Registered: July 2009
Member
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
>
Re: wtp working offline [message #155057 is a reply to message #155049] Thu, 05 January 2006 22:09 Go to previous messageGo to next message
Eclipse UserFriend
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
>>
Re: wtp working offline [message #155089 is a reply to message #155057] Thu, 05 January 2006 22:54 Go to previous message
Noel Bush is currently offline Noel BushFriend
Messages: 38
Registered: July 2009
Member
Doug Erickson wrote:
> 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

I don't have any spaces in my paths, so this probably doesn't apply to
me. Thanks, though.

> 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.
Previous Topic:How can I use resin-3.0.16 in WTP-1.0 ?
Next Topic:changes in wtp between 0.7 and 1.0
Goto Forum:
  


Current Time: Thu Apr 25 03:54:56 GMT 2024

Powered by FUDForum. Page generated in 0.03316 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top