雪湖小札@blogjava

          心情與技術(shù)文檔同行 http://hi.baidu.com/jingleq

          BlogJava 首頁 新隨筆 聯(lián)系 聚合 管理
            24 Posts :: 2 Stories :: 4 Comments :: 0 Trackbacks

          我的評論

          re: 申請加入 "深圳Java小組" csnowfox 2008-01-25 09:13  
          up,申請加入
          不錯不錯,我也附上我的客戶端中使用spring的Sign模式配置
          <?xml version="1.0" encoding="UTF-8"?>
          <!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd">
          <beans default-autowire="byName">
          <bean id="xFireClientFactoryBean"
          class="org.codehaus.xfire.spring.remoting.XFireClientFactoryBean">
          <property name="serviceClass">
          <value>org.cmb.webservice.service.Transaction</value>
          </property>
          <property name="wsdlDocumentUrl">
          <value>http://localhost:9090/transaction.ser?wsdl</value>
          </property>
          <property name="outHandlers">
          <list>
          <ref bean="domOutHandler" />
          <ref bean="wss4jOutHandlerSign" />
          </list>
          </property>
          </bean>
          <bean id="domOutHandler"
          class="org.codehaus.xfire.util.dom.DOMOutHandler" />
          <bean id="wss4jOutHandlerSign"
          class="org.codehaus.xfire.security.wss4j.WSS4JOutHandler">
          <property name="properties">
          <props>
          <prop key="action">Signature</prop>
          <prop key="user">ws_security</prop>
          <prop key="passwordCallbackClass"> org.cmb.client.web.util.PasswordHandler
          </prop>
          <prop key="signaturePropFile"> org/cmb/client/web/util/insecurity.properties
          </prop>
          <prop key="signatureKeyIdentifie">IssuerSerial</prop>
          </props>
          </property>
          </bean>
          </beans>
          主站蜘蛛池模板: 徐水县| 西华县| 岳阳市| 罗源县| 漳平市| 增城市| 始兴县| 涪陵区| 柘城县| 双桥区| 宁陵县| 二连浩特市| 蓬莱市| 呼图壁县| 军事| 隆德县| 沙坪坝区| 香河县| 永新县| 道真| 贵定县| 郎溪县| 屯昌县| 正宁县| 当涂县| 张家界市| 保德县| 武义县| 灵川县| 枝江市| 绵竹市| 延川县| 万源市| 麻江县| 北流市| 明溪县| 石嘴山市| 文山县| 文登市| 武平县| 巴彦淖尔市|