<rt id="bn8ez"></rt>
<label id="bn8ez"></label>

  • <span id="bn8ez"></span>

    <label id="bn8ez"><meter id="bn8ez"></meter></label>

    沙漠中的魚

    欲上天堂,先下地獄
    posts - 0, comments - 56, trackbacks - 0, articles - 119
      BlogJava :: 首頁 ::  :: 聯(lián)系 :: 聚合  :: 管理
    在Web.xml添加CXFServlet的配置
    <servlet>
            <servlet-name>CXFServlet</servlet-name>
            <servlet-class>
                org.apache.cxf.transport.servlet.CXFServlet
            </servlet-class>
            <load-on-startup>0</load-on-startup>
        </servlet>

        <servlet-mapping>
            <servlet-name>CXFServlet</servlet-name>
            <url-pattern>/services/*</url-pattern>
        </servlet-mapping>
    其中/services/*表示會攔截所有services下的訪問路徑。
    <beans xmlns="http://www.springframework.org/schema/beans"
        xmlns:xsi
    ="http://www.w3.org/2001/XMLSchema-instance"
        xmlns:jaxws
    ="http://cxf.apache.org/jaxws"
        xmlns:context
    ="http://www.springframework.org/schema/context"
        xsi:schemaLocation
    ="
        http://www.springframework.org/schema/beans 
        http://www.springframework.org/schema/beans/spring-beans.xsd
        http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd
        http://www.springframework.org/schema/context   
        http://www.springframework.org/schema/context/spring-context-3.0.xsd"
    >

        <import resource="classpath:META-INF/cxf/cxf.xml" />
        <import resource="classpath:META-INF/cxf/cxf-extension-soap.xml" />
        <import resource="classpath:META-INF/cxf/cxf-servlet.xml" />

        <context:annotation-config/>
        <context:component-scan base-package="com.*.server.resource"></context:component-scan>

        <!-- 登陸服務(wù) -->
        <jaxws:endpoint 
          
    id="LoginService" 
          implementor
    ="com.*.ws.LoginService" 
          address
    ="/ILoginService" >
         </jaxws:endpoint>
    </beans>
    則當前CXF的訪問路徑為 http://url/projectname/services/ILoginService。
    而不是:http://url/projectname/ILoginService(注意添加services的路徑)
    主站蜘蛛池模板: 成人免费在线看片| 你是我的城池营垒免费观看完整版| 最近中文字幕免费mv在线视频| 超清首页国产亚洲丝袜| 羞羞网站免费观看| 亚洲高清视频一视频二视频三| 亚洲AV无码国产一区二区三区| 在线观看人成视频免费| 亚洲精品国产第一综合99久久| 成年女人免费碰碰视频| mm1313亚洲国产精品无码试看| 麻豆国产VA免费精品高清在线| 亚洲欧美日韩综合久久久久| 卡1卡2卡3卡4卡5免费视频| 亚洲GV天堂无码男同在线观看| 日韩a级毛片免费观看| 在线观看亚洲专区| 国产精品亚洲玖玖玖在线观看| 久久精品无码专区免费| 亚洲av永久无码精品秋霞电影影院| 久久久精品免费视频| 亚洲视频免费在线播放| 欧美大尺寸SUV免费| 黄页免费视频播放在线播放| 亚洲综合在线另类色区奇米| 久久精品电影免费动漫| 亚洲乱码在线视频| 免费人成激情视频| a毛片在线看片免费| 亚洲乱人伦精品图片| 免费一级毛片一级毛片aa| 国产无限免费观看黄网站| 亚洲一区免费观看| 国产精品免费看香蕉| 999zyz**站免费毛片| 亚洲AV综合色区无码二区爱AV| 免费一级毛片在级播放| 美女视频黄的免费视频网页| 久久久久亚洲国产| 亚洲日韩av无码| 好吊妞在线新免费视频|