users@jersey.java.net

Re: [Jersey] Can we make application.wadl to return correct content type?

From: Paul Sandoz <Paul.Sandoz_at_Sun.COM>
Date: Mon, 29 Jun 2009 09:19:04 +0200

On Jun 29, 2009, at 8:24 AM, testn wrote:

>
> It looks like application.wadl doesn't return the proper content type.

The content type is:

   application/vnd.sun.wadl+xml

It works with Firefox as it knows that anything that is of the pattern
"application/*+xml" is an XML document.


> Therefore, it cannot be browsed using IE and some other browsers.
> Shall I
> find a bug?

IMHO this is not a bug, it is a limitation in some browsers to
recognize certain XML-based media types.

Paul.