You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by st...@apache.org on 2003/04/15 20:50:40 UTC
cvs commit: xml-axis/java/webapps/axis/WEB-INF web.xml
stevel 2003/04/15 11:50:40
Modified: java/webapps/axis/WEB-INF web.xml
Log:
Add the appropriate mime mappings for WSDL and XSD, so that you can drop in the files into axis & refer to them from your hard coded ?wsdl files.
i know wsdl1.2 wants to change the mapping, but this web.xml is consistent with that of AxisServlet.processWsdlRequest (whose definition should move to a constant or something)
Revision Changes Path
1.15 +16 -1 xml-axis/java/webapps/axis/WEB-INF/web.xml
Index: web.xml
===================================================================
RCS file: /home/cvs/xml-axis/java/webapps/axis/WEB-INF/web.xml,v
retrieving revision 1.14
retrieving revision 1.15
diff -u -r1.14 -r1.15
--- web.xml 6 Sep 2002 01:21:09 -0000 1.14
+++ web.xml 15 Apr 2003 18:50:39 -0000 1.15
@@ -63,7 +63,22 @@
<url-pattern>/servlet/AdminServlet</url-pattern>
</servlet-mapping>
-->
- <welcome-file-list id="WelcomeFileList_1">
+
+ <!-- currently the W3C havent settled on a media type for WSDL;
+ http://www.w3.org/TR/2003/WD-wsdl12-20030303/#ietf-draft
+ for now we go with the basic 'it's XML' response -->
+ <mime-mapping>
+ <extension>wsdl</extension>
+ <mime-type>text/xml</mime-type>
+ </mime-mapping>
+
+
+ <mime-mapping>
+ <extension>xsd</extension>
+ <mime-type>text/xml</mime-type>
+ </mime-mapping>
+
+ <welcome-file-list id="WelcomeFileList">
<welcome-file>index.html</welcome-file>
<welcome-file>index.jsp</welcome-file>
<welcome-file>index.jws</welcome-file>