Eclipse Community Forums
Forum Search:

Search      Help    Register    Login    Home
Home » Eclipse Projects » Web Tools Project (WTP) » Strange plugin-file (strict.dtd) validation error with legacy web services.
Strange plugin-file (strict.dtd) validation error with legacy web services. [message #514579] Mon, 15 February 2010 20:06 Go to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
Hi everybody.
I'm trying to reimplemet the WS-I SCM example (which dates back to 2003), while maintaining it's contracts, and I'm facing some complications.

When trying to use the provided wsdl, it is reported as invalid due to dependencies on other invalid documents. This traces back to the following error message:

"Referenced file contains errors (jar:file:/.../plugins/org.eclipse.wst.standard.schemas_1.0. 200.v200902270215.jar!/dtds/strict.dtd). "

And the error message for this particular file:

"The declaration for the entity "ContentType" must end with '>'.
strict.dtd line 81"


You can reproduce this with the following wsdl document: http://www.ws-i.org/SampleApplications/SupplyChainManagement /2002-08/Configuration.wsdl

Is this really an error on the strict.dtd document on the plugin, or is it some other kind of problem with using a no-longer-valid wsdl sintax?.
Regards,
Juan Pedro
Re: Strange plugin-file (strict.dtd) validation error with legacy web services. [message #515335 is a reply to message #514579] Thu, 18 February 2010 14:07 Go to previous messageGo to next message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
I was able to fix this problem. The cause is the use of the <?xml
version="1.0" encoding="UTF-8"?> header.
If you change the version number to "1.1" there is are problems.
I was not able to find this fix reported anywhere on the Internet, so I
leave this here as a testimony for anyone else that faces the same problem.
Regards,
Juan Pedro

Juan Pedro Silva escribió:
> Hi everybody.
> I'm trying to reimplemet the WS-I SCM example (which dates back to
> 2003), while maintaining it's contracts, and I'm facing some
> complications.
>
> When trying to use the provided wsdl, it is reported as invalid due to
> dependencies on other invalid documents. This traces back to the
> following error message:
>
> "Referenced file contains errors
> (jar:file:/.../plugins/org.eclipse.wst.standard.schemas_1.0.
> 200.v200902270215.jar!/dtds/strict.dtd). "
>
> And the error message for this particular file:
>
> "The declaration for the entity "ContentType" must end with '>'.
> strict.dtd line 81"
>
> You can reproduce this with the following wsdl document:
> http://www.ws-i.org/SampleApplications/SupplyChainManagement /2002-08/Configuration.wsdl
>
>
> Is this really an error on the strict.dtd document on the plugin, or
> is it some other kind of problem with using a no-longer-valid wsdl
> sintax?.
> Regards,
> Juan Pedro
>
Re: Strange plugin-file (strict.dtd) validation error with legacy web services. [message #515344 is a reply to message #514579] Thu, 18 February 2010 14:25 Go to previous message
Juan Pedro Silva is currently offline Juan Pedro SilvaFriend
Messages: 258
Registered: July 2009
Senior Member
I was able to fix (work around) this problem. The way is to change the
<?xml version="1.0" encoding="UTF-8"?> header.
If you change the version number to "1.1" there problems are no longer
reported. You may then use the schema.
I was not able to find this way around reported anywhere on the
Internet, so I leave this here as a testimony for anyone else that faces
the same problem.
Regards,
Juan Pedro

Juan Pedro Silva escribió:
> Hi everybody.
> I'm trying to reimplemet the WS-I SCM example (which dates back to
> 2003), while maintaining it's contracts, and I'm facing some
> complications.
>
> When trying to use the provided wsdl, it is reported as invalid due to
> dependencies on other invalid documents. This traces back to the
> following error message:
>
> "Referenced file contains errors
> (jar:file:/.../plugins/org.eclipse.wst.standard.schemas_1.0.
> 200.v200902270215.jar!/dtds/strict.dtd). "
>
> And the error message for this particular file:
>
> "The declaration for the entity "ContentType" must end with '>'.
> strict.dtd line 81"
>
> You can reproduce this with the following wsdl document:
> http://www.ws-i.org/SampleApplications/SupplyChainManagement /2002-08/Configuration.wsdl
>
>
> Is this really an error on the strict.dtd document on the plugin, or
> is it some other kind of problem with using a no-longer-valid wsdl
> sintax?.
> Regards,
> Juan Pedro
>
Previous Topic:Axis2 Client web service config Port Name ConverterSOAP11port_http not found
Next Topic:Checking WTP version
Goto Forum:
  


Current Time: Mon Dec 22 20:07:25 GMT 2014

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

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