锘??xml version="1.0" encoding="utf-8" standalone="yes"?>久久久91麻豆精品国产一区,亚洲国产综合在线观看,亚洲视频wwwhttp://www.aygfsteel.com/weijy/category/34997.htmljavazh-cnWed, 21 Oct 2009 07:37:59 GMTWed, 21 Oct 2009 07:37:59 GMT60- spring闆嗘垚hessianhttp://www.aygfsteel.com/weijy/archive/2009/05/20/271772.html鏋愭湪鏋愭湪Wed, 20 May 2009 10:12:00 GMThttp://www.aygfsteel.com/weijy/archive/2009/05/20/271772.htmlhttp://www.aygfsteel.com/weijy/comments/271772.htmlhttp://www.aygfsteel.com/weijy/archive/2009/05/20/271772.html#Feedback0http://www.aygfsteel.com/weijy/comments/commentRss/271772.htmlhttp://www.aygfsteel.com/weijy/services/trackbacks/271772.html
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>
/WEB-INF/config/applicationContext.xml,
/WEB-INF/Hessian-servlet.xml
</param-value>
</context-param>
<servlet>
<servlet-name>Hessian</servlet-name>
<servlet-class>
org.springframework.web.servlet.DispatcherServlet
</servlet-class>
<load-on-startup>1</load-on-startup>
</servlet>
<servlet-mapping>
<servlet-name>Hessian</servlet-name>
<url-pattern>/hessian/*</url-pattern>
</servlet-mapping>
2.蹇呴』鍦╓EB-INF鐩綍涓嬪垱寤轟竴涓枃浠跺悕鏍煎紡涓篐essian-servlet.xml鐨勯厤緗枃浠?br />
<!-- 涓氬姟綾?nbsp;-->
<bean id="hessianService" class="com.weijy.webservice.hessian.HessianServiceImpl"/>
<!-- 榪滅▼鏈嶅姟 -->
<bean name="/hessianService" class="org.springframework.remoting.caucho.HessianServiceExporter">
<property name="service" ref="hessianService"/>
<property name="serviceInterface">
<value>com.cjm.webservice.hessian.HessianService</value>
</property>
</bean>
3.瀹㈡埛绔皟鐢?br />
String url = "http://localhost:8888/spring2/hessian/hessianService";
HessianProxyFactory factory = new HessianProxyFactory();
HessianService hessianServer =
(HessianService)factory.create(HessianService.class, url);
String ret = hessianServer.sayHello("Raymond.chen");
//....................
鑻ヤ嬌鐢╯pring鍒欏彲閫氳繃 HessianProxyFactoryBean鍦ㄥ鎴風(fēng)榪炴帴鏈嶅姟錛屽湪spring鐨勯厤緗腑鍔犲叆錛?br />
<bean id="hessianService " class="org.springframework.remoting.caucho.HessianProxyFactoryBean">
<property name="serviceUrl" value="http://localhost:8888/spring2/hessian/hessianService"/>
<property name="serviceInterface" value="com.weijy.webservice.hessian.HessianService"/>
</bean>
鍔犲叆浠ヤ笂鐨勯厤緗悗錛屽氨鍙儚浣跨敤鍏朵粬鐨刡ean涓鏍峰幓鎿嶄綔浜?jiǎn)銆傚師鏉ュ疄鐜頒竴涓獁ebservice鏄彲浠ヨ繖涔堢畝鍗曠殑銆?

]]> - web搴旂敤axis2闆嗘垚springhttp://www.aygfsteel.com/weijy/archive/2009/02/27/256968.html鏋愭湪鏋愭湪Fri, 27 Feb 2009 03:23:00 GMThttp://www.aygfsteel.com/weijy/archive/2009/02/27/256968.htmlhttp://www.aygfsteel.com/weijy/comments/256968.htmlhttp://www.aygfsteel.com/weijy/archive/2009/02/27/256968.html#Feedback0http://www.aygfsteel.com/weijy/comments/commentRss/256968.htmlhttp://www.aygfsteel.com/weijy/services/trackbacks/256968.html
涓銆佸湪web.xml娣誨姞涓嬮潰浠g爜
Apache-Axis Servlet
AxisServlet
org.apache.axis2.transport.http.AxisServlet
1
闃呰鍏ㄦ枃
]]> - java涓嬌鐢╝xis1.4寮鍙憌ebServicehttp://www.aygfsteel.com/weijy/archive/2008/10/06/232663.html鏋愭湪鏋愭湪Mon, 06 Oct 2008 06:53:00 GMThttp://www.aygfsteel.com/weijy/archive/2008/10/06/232663.htmlhttp://www.aygfsteel.com/weijy/comments/232663.htmlhttp://www.aygfsteel.com/weijy/archive/2008/10/06/232663.html#Feedback0http://www.aygfsteel.com/weijy/comments/commentRss/232663.htmlhttp://www.aygfsteel.com/weijy/services/trackbacks/232663.html
銆銆1銆佸畨瑁呯幆澧?J2SE SDK 1.4錛孴omcat 5.0錛宔clipse 3.2銆?
銆銆2銆佸埌 http://xml.apache.org 緗戠珯涓嬭澆Axis瀹夎鍖呫?
銆銆3銆佸皢Axis鐩稿叧鍖呮枃浠舵斁鍦╓EB-INF\lib鐩綍涓嬨?
銆銆4銆丄xis鍙夌殑鍖咃細(xì)activation.jar錛?mail.jar錛?xmlsec-1.4.Beta1.jar鎷瘋礉鍒癢EB-INF鐩綍涓嬶紝鐢熸垚瀹㈡埛绔椂鍊欓渶瑕佷嬌鐢ㄣ?
銆銆Axis鏀寔涓夌web service鐨勯儴緗插拰寮鍙戯紝鍒嗗埆涓猴細(xì)
銆銆1銆丏ynamic Invocation Interface 錛圖II錛?
銆銆2銆丏ynamic Proxy鏂瑰紡
銆銆3銆丼tubs鏂瑰紡 闃呰鍏ㄦ枃
]]> - 鐢‥clipse3.2 MyEclipse5.5M1 axis2_1.1.1 tomcat5.5 寮鍙慦eb Services 錛堜簩錛?/title>http://www.aygfsteel.com/weijy/archive/2008/09/27/231537.html鏋愭湪鏋愭湪Sat, 27 Sep 2008 08:39:00 GMThttp://www.aygfsteel.com/weijy/archive/2008/09/27/231537.htmlhttp://www.aygfsteel.com/weijy/comments/231537.htmlhttp://www.aygfsteel.com/weijy/archive/2008/09/27/231537.html#Feedback1http://www.aygfsteel.com/weijy/comments/commentRss/231537.htmlhttp://www.aygfsteel.com/weijy/services/trackbacks/231537.htmlC.鐐瑰嚮鈥淏rowse鈥濇潵閫夊彇瀛樻斁鍦╯rc鐩綍涓嬬殑SayHello.wsdl鏂囦歡錛屸淣ext鈥濊繘鍏ヤ笅涓姝ャ?
D.棣栧厛鐢熸垚瀹㈡埛绔唬鐮佸拰嫻嬭瘯浠g爜錛岃緗涓嬶細(xì) 闃呰鍏ㄦ枃
]]> - Eclipse3.2+MyEclipse5.5M1+axis2_1.1.1+tomcat5.5 寮鍙慦eb Services (涓)http://www.aygfsteel.com/weijy/archive/2008/09/27/231535.html鏋愭湪鏋愭湪Sat, 27 Sep 2008 08:30:00 GMThttp://www.aygfsteel.com/weijy/archive/2008/09/27/231535.htmlhttp://www.aygfsteel.com/weijy/comments/231535.htmlhttp://www.aygfsteel.com/weijy/archive/2008/09/27/231535.html#Feedback0http://www.aygfsteel.com/weijy/comments/commentRss/231535.htmlhttp://www.aygfsteel.com/weijy/services/trackbacks/231535.html
1.1杞歡涓嬭澆鍑嗗
Tomcat 5.5涓嬭澆鍦板潃錛?
http://tomcat.apache.org/download-55.cgi#5.5.20
Axis War鍖咃細(xì)
http://ftp.wayne.edu/apache/ws/axis2/1_1_1/axis2.war
Axis Eclipse plug-in(浠g爜鐢熸垚宸ュ叿鍜屾墦鍖呭伐鍏?錛?
http://apache.justdn.org/ws/axis2/tools/1_1_1/axis2-eclipse-codegen-wizard.zip
http://apache.justdn.org/ws/axis2/tools/1_1_1/axis2-eclipse-service-archiver-wizard.zip
Eclipse 3.2錛?
http://www.eclipse.org/
MyEclipse5.5M1錛?
http://www.myeclipseide.com 闃呰鍏ㄦ枃
]]>
主站蜘蛛池模板:
北宁市|
梁平县|
大足县|
开阳县|
衢州市|
贵州省|
阿勒泰市|
汾阳市|
沈阳市|
普陀区|
屯留县|
共和县|
太和县|
巴彦县|
富阳市|
密云县|
隆昌县|
高碑店市|
盐亭县|
彰武县|
伊川县|
霸州市|
莒南县|
南投县|
黄浦区|
大足县|
错那县|
石楼县|
老河口市|
香港
|
清水县|
兴城市|
庆云县|
吴旗县|
中江县|
贵港市|
岳阳市|
南溪县|
鱼台县|
修武县|
江都市|