Skip to main content


Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Language IDEs » ServerTools (WTP) » Problems with WSDL Validation with WS-I
Problems with WSDL Validation with WS-I [message #202262] Mon, 15 October 2007 15:27 Go to next message
Eclipse UserFriend
Originally posted by: dsn9620.yahoo.com

During WSDL validation, when the WS-I compliance options are set to
'Suggest Compliance' or 'Require Compliance' an error occurs stating:

WS-I: A problem occurred while running the WS-I WSDL conformance check:
org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException. The WS-I Test
Assertion Document(TAD) was not found or could not be processed. The
WSDLAnalyzer was not able to validate the given WSDL file.

I have a TAD that I downloaded from the WS-I site, but I also noticed that
Eclipse has the WS-I tools integrated within it.

Does anyone know how to correct this problem by configuring Eclipse to use
an external TAD or properly configuring it to use it's internal TAD(if it
exists)?
Re: Problems with WSDL Validation with WS-I [message #202293 is a reply to message #202262] Mon, 15 October 2007 17:50 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Darrin wrote:
> During WSDL validation, when the WS-I compliance options are set to
> 'Suggest Compliance' or 'Require Compliance' an error occurs stating:
> WS-I: A problem occurred while running the WS-I WSDL conformance check:
> org.eclipse.wst.wsi.internal.analyzer.WSIAnalyzerException. The WS-I
> Test Assertion Document(TAD) was not found or could not be processed.
> The WSDLAnalyzer was not able to validate the given WSDL file.
>
> I have a TAD that I downloaded from the WS-I site, but I also noticed
> that Eclipse has the WS-I tools integrated within it.
> Does anyone know how to correct this problem by configuring Eclipse to
> use an external TAD or properly configuring it to use it's internal
> TAD(if it exists)?
>

A couple of questions to help set the basis:

What version of WST or WTP are you using?

I take it this is during WSDL Editor validation or is this through the
builder validation?

You shouldn't have to set anything up as everything should be included
that you need. As far as I know there isn't an option to setup an
external TAD within the Eclipse configuration.
Re: Problems with WSDL Validation with WS-I [message #202301 is a reply to message #202293] Mon, 15 October 2007 18:40 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dsn9620.yahoo.com

A couple of questions to help set the basis:

>What version of WST or WTP are you using?
Eclipse Java EE
Version: 3.3.0
Build id: M20070921-1145
WST: 2.0.1
JRE: 1.5.0_13

>I take it this is during WSDL Editor validation or is this through the
builder validation?
Correct. Just using the WSDL Editor.

>You shouldn't have to set anything up as everything should be included that
>you need. As far as I know there isn't an option to setup an external TAD
>within the Eclipse configuration.
WSDL validation works fine, it's just the WS-I portion of the validation.
If I change the WS-I options to 'Ignore...', it's OK. I was surprised the
WS-I stuff was included as I was currently just using the WS-I tools from
the WS-I.org site separately. Any help you can provide is appreciated.
Re: Problems with WSDL Validation with WS-I [message #202309 is a reply to message #202301] Mon, 15 October 2007 20:08 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Darrin wrote:
> A couple of questions to help set the basis:
>
>> What version of WST or WTP are you using?
> Eclipse Java EE
> Version: 3.3.0
> Build id: M20070921-1145
> WST: 2.0.1 JRE: 1.5.0_13
>

That should be fine, as I'm using the same environment at work.


>> I take it this is during WSDL Editor validation or is this through the
> builder validation?
> Correct. Just using the WSDL Editor.

OK, I usually set my compliance level to enforce so I would assume I
would run into the same issue.

>> You shouldn't have to set anything up as everything should be included
>> that you need. As far as I know there isn't an option to setup an
>> external TAD within the Eclipse configuration.
> WSDL validation works fine, it's just the WS-I portion of the
> validation. If I change the WS-I options to 'Ignore...', it's OK. I was
> surprised the WS-I stuff was included as I was currently just using the
> WS-I tools from the WS-I.org site separately. Any help you can provide
> is appreciated.
Let me do some testing over the next day or so, and see if I can
reproduce the issue on my end.
Re: Problems with WSDL Validation with WS-I [message #202420 is a reply to message #202301] Wed, 17 October 2007 00:33 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
Darrin wrote:
> A couple of questions to help set the basis:
>
>> What version of WST or WTP are you using?
> Eclipse Java EE
> Version: 3.3.0
> Build id: M20070921-1145
> WST: 2.0.1 JRE: 1.5.0_13
>
>> I take it this is during WSDL Editor validation or is this through the
> builder validation?
> Correct. Just using the WSDL Editor.

I've tested this out and didn't run into the issue you are running into.


The only thing I can suggest is trying to restart eclipse with the magic
-clean option. Also make sure that your WSDL and WS-I validators are
turned on for the particular project. If you only have WS-I validator
turned on it won't run even though you specified it to run unless the
WSDL validation is also turned on.
Re: Problems with WSDL Validation with WS-I [message #202440 is a reply to message #202420] Wed, 17 October 2007 04:07 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
The WS-I validator requires two Test Assertion Documents (TAD): one for
the WS-I Basic Profile and one for the Attachements Profile. These TADs
are not bundled with WTP. The first time the WS-I validator is executed it
will attempt to retrieve these TADs from the ws-i.org. It is possible if
you are disconnected or some other network problem exists and these TADs
cannot be retreived that the WTP Internet Cache will cache invalid
documents (such as HTML 404 pages). To correct this open

Window->Preferences->Internet->Cache

and remove any entries corresponding to the host ws-i.org. Then, ensure
you can connect to ws-i.org and try to validate again.

Note that once these files are cached WTP does not need to retrieve them
again.

Lawrence
Re: Problems with WSDL Validation with WS-I [message #202530 is a reply to message #202440] Wed, 17 October 2007 15:06 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: dsn9620.yahoo.com

Problem solved. I got my clue from Lawrence that stated the Eclipse WST
does not already have the TAD and attempts to retrieve it from the WS-I
web site during the first validation. I did not have the Network
Connectivity configured correctly so that Eclipse could retrieve the TAD.
Once the network settings were added everything worked fine. It made
sense once I understood what was going on under the covers - but a better
error message would have saved some time.

An added bonus would be some way of knowing which version of the TAD
Eclipse downloaded and is using for the conformance validation. The
Eclipse configuration details did not yield helpful info in this regard.
It would be great to know I'm always using the latest and greatest TAD.

Thanks David and Lawrence for the quick assist!
Re: Problems with WSDL Validation with WS-I [message #202538 is a reply to message #202440] Wed, 17 October 2007 16:12 Go to previous messageGo to next message
David Carver is currently offline David CarverFriend
Messages: 174
Registered: July 2009
Senior Member
lmandel@ca.ibm.com wrote:
> The WS-I validator requires two Test Assertion Documents (TAD): one for
> the WS-I Basic Profile and one for the Attachements Profile. These TADs
> are not bundled with WTP. The first time the WS-I validator is executed it
> will attempt to retrieve these TADs from the ws-i.org. It is possible if
> you are disconnected or some other network problem exists and these TADs
> cannot be retreived that the WTP Internet Cache will cache invalid
> documents (such as HTML 404 pages). To correct this open
>

One thing that would be nice is if it told the user that it couldn't get
the files down, and had a retry later option.

Dave
Re: Problems with WSDL Validation with WS-I [message #202637 is a reply to message #202530] Fri, 19 October 2007 03:58 Go to previous messageGo to next message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
>It made sense once I understood what was going on under the covers
> - but a better error message would have saved some time.

I agree. I've opened the following bug:
WS-I validator should produce useful error message when TAD cannot be
obtained
https://bugs.eclipse.org/bugs/post_bug.cgi

Lawrence
Re: Problems with WSDL Validation with WS-I [message #202912 is a reply to message #202637] Tue, 23 October 2007 14:33 Go to previous message
Lawrence Mandel is currently offline Lawrence MandelFriend
Messages: 486
Registered: July 2009
Senior Member
>>It made sense once I understood what was going on under the covers
>> - but a better error message would have saved some time.
>
>I agree. I've opened the following bug:
>WS-I validator should produce useful error message when TAD cannot be
>obtained
>https://bugs.eclipse.org/bugs/post_bug.cgi

Just realized I posted the wrong link to the bug. Here's the right one:

https://bugs.eclipse.org/bugs/show_bug.cgi?id=206845

Lawrence
Previous Topic:Help with WSDL validation error
Next Topic:Running app on Geronimo or WebSphere
Goto Forum:
  


Current Time: Tue Apr 23 08:49:28 GMT 2024

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

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

Back to the top