This Bugzilla instance is a read-only archive of historic NetBeans bug reports. To report a bug in NetBeans please follow the project's instructions for reporting issues.

Bug 106081 - Change supported mime type from text/xml-wsdl to text/x-wsdl+xml in websvc/core
Summary: Change supported mime type from text/xml-wsdl to text/x-wsdl+xml in websvc/core
Status: RESOLVED FIXED
Alias: None
Product: webservices
Classification: Unclassified
Component: Code (show other bugs)
Version: 6.x
Hardware: All All
: P2 blocker (vote)
Assignee: Shivanand Kini
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2007-06-08 01:19 UTC by Shivanand Kini
Modified: 2007-06-26 14:56 UTC (History)
1 user (show)

See Also:
Issue Type: ENHANCEMENT
Exception Reporter:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Shivanand Kini 2007-06-08 01:19:12 UTC
The mime-resolver in websvc/core and websvc/jaxrpcsupport resolves all files
with .wsdl extension to "text/xml-wsdl" mime type.

But the WsdlDataLoader sets the mime type to "text/xml", so that it can leverage
the xml editor kit and xml syntax.

But if you set it as text/x-wsdl+xml then this automatically selects the xml
editor kit and xml syntax.

Schema and bpel editors already use this type of mime type text/x-schema+xml and
text/x-bpel+xml.

This blocks the wsdl editor from using text/x-wsdl+xml, since the websvc
resolves it to text/xml-wsdl.
Comment 1 Shivanand Kini 2007-06-09 02:51:24 UTC
Fixed this.

Changed the mime types in websvc/core and websvc/jaxrpcsupport.