Community
Participate
Working Groups
Despite registered content types it isn't possible to import corresponding files via the Outline of the WSDL editor. The different content types where registered as follows in the corresponding pluging.xml ... <extension point="org.eclipse.core.runtime.contentTypes"> <content-type priority="high" name="SOPware Service Description" id="org.sopware.content.type.sdx" base-type="org.eclipse.wst.wsdl.wsdlsource" default-charset="UTF-8" file-extensions="sdx" /> <content-type priority="high" name="SOPware Service Provider Description" id="org.sopware.content.type.spdx" base-type="org.eclipse.wst.wsdl.wsdlsource" default-charset="UTF-8" file-extensions="spdx" /> </extension> ... Similar faults: 143734; 154850
Rich, it seems the import location selection dialog uses an file extension based filter to only display *.wsdl and *.xsd workspace resources. We could probably change it to allow all extensions registered for the WSDL content type and any derived content types. It would be also interesting to know whether the model will properly load these new files. If not, we may need to do some tricks with the EMF resource set used by the editor.
Yep currently EMF doesn't support any notion of content type, so if we wanted to support additional file extensions we'd need to be careful that our model related code doesn't barf (we'd need to make sure imports/includes of other file extensions work too).
EMF now supports content types so we may want to look into this sometime in the future.