webservice xfire web.xml配置

<?xml version="1.0" encoding="UTF-8"?> 
<web-app xmlns="http://java.sun.com/xml/ns/j2ee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" version="2.4" 
         xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">

  <servlet> 
        <servlet-name>xfire</servlet-name> 
        <servlet-class>org.codehaus.xfire.transport.http.XFireConfigurableServlet</servlet-class> 
    </servlet> 
 
    <servlet-mapping> 
        <servlet-name>xfire</servlet-name> 
        <url-pattern>/services/*</url-pattern> 
    </servlet-mapping> 
 
</web-app> 

你可能感兴趣的:(html,xml,Web,webservice)