Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 127679

Summary: Define WS-Inspection Files (*.wsil) to be an XML Content Type
Product: [WebTools] WTP Webservices Reporter: Arthur Ryman <ryman>
Component: wst.wsAssignee: Chris Brealey <cbrealey>
Status: CLOSED FIXED QA Contact:
Severity: enhancement    
Priority: P3 CC: lmandel
Version: 1.0.1   
Target Milestone: 1.5 M6   
Hardware: PC   
OS: Windows XP   
Whiteboard:
Bug Depends on:    
Bug Blocks: 128808    
Attachments:
Description Flags
Patch fix to org.eclipse.wst.ws none

Description Arthur Ryman CLA 2006-02-14 07:03:43 EST
The XML editor should be associated with *.wsil files. I should also be able to run XML validation on them. Are you redistributing the schema? If not, we should, or at least have it listed in the caching URI resolver to enable offline work.
Comment 1 Chris Brealey CLA 2006-02-14 09:21:15 EST
We are not redistributing the WSIL schemas [1-3]. They all bear the copyright "Copyright 2001 International Business Machines Corporation, Microsoft Corporation. All rights reserved.". I've submitted a contribution questionnaire to add them (to org.eclipse.wst.ws) and listed you as the PMC approver.

[1] http://schemas.xmlsoap.org/ws/2001/10/inspection/
[2] http://schemas.xmlsoap.org/ws/2001/10/inspection/wsdl/
[3] http://schemas.xmlsoap.org/ws/2001/10/inspection/uddi/

Note that we will need to modify [2] since its targetNamespace is incorrect. I've submitted a question to developerWorks to see if we can get the master schema changed. If not, we'll have to edit our local copy assuming we get approval to include (and modify) it in WTP.
Comment 2 Arthur Ryman CLA 2006-02-14 09:40:21 EST
Thx. Shall I add *.wsil  when I add *.wsdd?
Comment 3 Chris Brealey CLA 2006-02-14 09:46:57 EST
Sure, sounds good, though the file association will need to go in a different plugin, namely org.eclipse.wst.ws.
Comment 4 Chris Brealey CLA 2006-03-17 14:26:18 EST
Arthur,
I seem to remember you offering to supply the fix for this, as you did for bug 102931. If not, just assign back to me. Thanks - CB.
Comment 5 Arthur Ryman CLA 2006-03-18 00:43:18 EST
Chris, why don't you just add the extension since it's just like the *.wsdd patch I submitted. You can commit it directly. I'm kinda busy getting ready for EclipseCon at the moment.
Comment 6 Chris Brealey CLA 2006-03-18 00:46:17 EST
Sure Arthur, no problem. I'll assume you have no concerns adding this wee enhancement to 1.5. Make a gurgling noise only if you disagree.
Comment 7 Chris Brealey CLA 2006-03-21 08:54:28 EST
Created attachment 36658 [details]
Patch fix to org.eclipse.wst.ws

Patch fix, attached for posterity. Changes tested and committed.
Comment 8 Chris Brealey CLA 2006-03-21 09:11:29 EST
Released to HEAD with tag v200603211405.
Comment 9 Arthur Ryman CLA 2006-03-21 10:21:11 EST
Chris, I spotted an error in your patch. You need to change the occurrence of wsdd to wsil:

+   <!-- Extension to bind a file type to WSIL files -->
+   <extension point="org.eclipse.team.core.fileTypes">
+      <fileTypes
+            type="text"
+            extension="wsdd"/>
+   </extension>

This tells CVS, etc, to treat wsil files as text. Thx.
Comment 10 Chris Brealey CLA 2006-03-21 10:43:11 EST
Thanks Arthur. I probably should have tested w/ CVS vs. just checking preferences and opening the editor. I've committed/released the change, tag v200603211540.
Comment 11 Arthur Ryman CLA 2006-05-09 10:28:48 EDT
Lawrence,

Please check these 3 schemas for licences and determine if they need to be in the caching uri resolver.
Comment 12 Lawrence Mandel CLA 2006-05-29 10:50:12 EDT
Arthur, all three schemas contain the following copyright statement:

Copyright 2001 International Business Machines Corporation, Microsoft Corporation. All rights reserved. 

There is no additional license information nor can I find any on the site. Without additional license information for the schemas there is no information with which to prompt users for agreement.

Chris, do you have any other references for these schemas that may contain license information? If not I'll likely have to consult Janet as I'm not sure if the default is that we can simply cache them.
Comment 13 Arthur Ryman CLA 2006-09-19 10:35:58 EDT
Verified on wtp-sdk-M-1.5.1-200609150551.zip.
Comment 14 Chris Brealey CLA 2006-09-19 10:56:50 EDT
Thanks Arthur. Closed.