The W3C WSDL working group is talking about registering a MIME type for WSDL documents. Hasn't happened yet, but we expect to do so for WSDL 1.2.
http://www.w3.org/2002/ws/desc/ -- Tom Jordahl Macromedia Server Development -----Original Message----- From: Steve Loughran [mailto:[EMAIL PROTECTED]] Sent: Monday, December 16, 2002 2:42 PM To: [EMAIL PROTECTED] Subject: Re: Mozilla and automatic ?wsdl generation with Axis 1.0 ----- Original Message ----- From: "Mike Spreitzer" <[EMAIL PROTECTED]> To: <[EMAIL PROTECTED]> Cc: <[EMAIL PROTECTED]> Sent: Monday, December 16, 2002 09:03 Subject: Re: Mozilla and automatic ?wsdl generation with Axis 1.0 > I have noticed that Mozilla displays the XML usefully if there is an HTTP > header saying the media type is "text/plain". And IE does OK in that > situation, as long as the content begins with an XML declaration (as is > already the case for the WSDL returned by Axis). What do you think of > making Axis return an HTTP header claiming the media type to be > "text/plain"? -1 to a quick and dirty patch, we should have a text/xml header because it is text/xml. Same for the responses to any soap methods called using GET. Mozilla will get better over time and there is no reason to lie for short term compatibility issues. +0 to making this a configurable option of axis, something like <parameter name="wsdl-mimetype" value="text/plain" /> Actually, does WSDL have/need its own mime type like application/wsdl+xml ? That way a proper WSDL viewer could bind to it? -steve