锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲bt加勒比一区二区,亚洲欧洲日产国码无码网站,亚洲1区2区3区精华液http://m.tkk7.com/alwayscy/archive/2007/12/05/165446.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Wed, 05 Dec 2007 04:00:00 GMThttp://m.tkk7.com/alwayscy/archive/2007/12/05/165446.htmlhttp://m.tkk7.com/alwayscy/comments/165446.htmlhttp://m.tkk7.com/alwayscy/archive/2007/12/05/165446.html#Feedback0http://m.tkk7.com/alwayscy/comments/commentRss/165446.htmlhttp://m.tkk7.com/alwayscy/services/trackbacks/165446.html闃呰鍏ㄦ枃

鎴戠埍浣?jīng)_▋ 2007-12-05 12:00 鍙戣〃璇勮
]]>
cxf鐨刋ML涓璲axws:endpoint涓嬌鐢╞ean寮曠敤鏍煎紡http://m.tkk7.com/alwayscy/archive/2007/11/01/157556.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Thu, 01 Nov 2007 09:38:00 GMThttp://m.tkk7.com/alwayscy/archive/2007/11/01/157556.htmlhttp://m.tkk7.com/alwayscy/comments/157556.htmlhttp://m.tkk7.com/alwayscy/archive/2007/11/01/157556.html#Feedback0http://m.tkk7.com/alwayscy/comments/commentRss/157556.htmlhttp://m.tkk7.com/alwayscy/services/trackbacks/157556.html

<bean id="nodeSvcImpl" class="com.exchangebit.nms.magic.NodeSvcImpl">
<property name="notifyClient" ref="notifyClient"/>
</bean>


<jaxws:endpoint
id="nodeSvc"
implementor="#nodeSvcImpl"
address="/NodeSvc">
</jaxws:endpoint>



鎴戠埍浣?jīng)_▋ 2007-11-01 17:38 鍙戣〃璇勮
]]>
鍦–XF涓敤JAXB鏁版嵁緇戝畾鏀寔HashMap綾誨瀷http://m.tkk7.com/alwayscy/archive/2007/10/29/156723.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Mon, 29 Oct 2007 08:41:00 GMThttp://m.tkk7.com/alwayscy/archive/2007/10/29/156723.htmlhttp://m.tkk7.com/alwayscy/comments/156723.htmlhttp://m.tkk7.com/alwayscy/archive/2007/10/29/156723.html#Feedback4http://m.tkk7.com/alwayscy/comments/commentRss/156723.htmlhttp://m.tkk7.com/alwayscy/services/trackbacks/156723.html鏈変簡杞崲鍣ㄨ繖涓伐鍏鳳紝鎴戜滑鍙互鍦⊿OAP鐨凧AXB緇戝畾閲屾敮鎸佸悇縐岼AVA鐨凜OLLECTION綾誨瀷錛屼互鍙婅嚜瀹氫箟綾誨瀷錛屾墦鐮翠簡SOAP鍘熷鏀寔綾誨瀷鐨勯檺鍒躲?nbsp; 闃呰鍏ㄦ枃

鎴戠埍浣?jīng)_▋ 2007-10-29 16:41 鍙戣〃璇勮
]]>
CXF錛氬拫鎬誨樊涓鐐瑰憿錛?錛堢畫錛氬凡瑙e喅錛?/title><link>http://m.tkk7.com/alwayscy/archive/2007/08/23/138820.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Thu, 23 Aug 2007 06:13:00 GMT</pubDate><guid>http://m.tkk7.com/alwayscy/archive/2007/08/23/138820.html</guid><wfw:comment>http://m.tkk7.com/alwayscy/comments/138820.html</wfw:comment><comments>http://m.tkk7.com/alwayscy/archive/2007/08/23/138820.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://m.tkk7.com/alwayscy/comments/commentRss/138820.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alwayscy/services/trackbacks/138820.html</trackback:ping><description><![CDATA[鍦?a href="http://m.tkk7.com/alwayscy/archive/2007/08/07/135074.html">涓婁竴綃囨枃绔?/a>涓殑闂錛屼粖澶╁張鍐嶈瘯浜嗕笅錛屽眳鐒惰В鍐充簡錛岀湅鏉ユ妸閬囧埌闂鏀句竴鏀炬槸鏈夊ソ澶勭殑銆?br><br>絎竴錛屾槸瑕佺敤瀵笴XF鐨勫簱錛屽湪涓琛屼唬鐮佹湭鍙樼殑鎯呭喌涓嬶紝鍙浣跨敤鏈鏂扮殑搴撱傜湅鏉ュ湪鏈鏂板簱閲岃В鍐充簡鏁扮粍闂錛?br>2.1-incubator-SNAPSHOT<br>灝辨病闂錛屽鏋滄槸鐢細(xì)<br>2.0-incubator<br>灝變細(xì)鍑虹幇涓婄瘒鏂囩珷鐨勬儏鍐點傛垜浣跨敤MAVEN2錛屽氨鍐欐垚錛?br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000">      </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">for cxf</span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">dependency</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">groupId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">org.apache.cxf</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">groupId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">artifactId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">cxf-rt-frontend-jaxws</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">artifactId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">version</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">2.1-incubator-SNAPSHOT</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">version</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000"> version>2.0-incubator</version</span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">dependency</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">dependency</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">groupId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">org.apache.cxf</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">groupId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">artifactId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">cxf-rt-transports-http</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">artifactId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">version</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">2.1-incubator-SNAPSHOT</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">version</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">dependency</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">dependency</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">groupId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">org.apache.cxf</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">groupId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">artifactId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">cxf-rt-databinding-aegis</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">artifactId</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">version</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000">2.1-incubator-SNAPSHOT</span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">version</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">dependency</span><span style="COLOR: #0000ff">></span></div> <br><br>絎簩錛屽SOAP::Lite鐨勬敼鍙橈紝SOAP::Lite涓嶆敮鎸乨oc/literal錛屼絾閫氳繃闃呰<br>"NET-based Web Service Using the SOAP::Lite Perl Library". <br>鎴戠殑涓婄瘒鏂囩珷鏈夐摼鎺ワ紝鎴戝啓鐨凱ERL紼嬪簭鍦ㄦ煇浜涙儏鍐典笅渚濈劧涓嶈銆?br>榪欐鍐嶅姞浜嗕袱澶勬敼鍔ㄥ悗灝卞彲浠ヤ簡錛氾紙娉ㄦ剰錛欳XF閲屼笉瑕佷嬌鐢╝egisDatabinding錛岀敤榛樿鐨勫嵆鍙級<br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$soap</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Lite<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000"> uri(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://magic.nms.exchangebit.com/</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000"> on_action( </span><span style="COLOR: #0000ff">sub</span><span style="COLOR: #000000">{ </span><span style="COLOR: #0000ff">join</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">/</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://www.alfredbr.com</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$_</span><span style="COLOR: #000000">[</span><span style="COLOR: #800000">1</span><span style="COLOR: #000000">] })<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000"> proxy(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://127.0.0.1:8080/ebnms/NotifyService</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>           </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">autotype(</span><span style="COLOR: #800000">0</span><span style="COLOR: #000000">);</span></div> <br><br>鍏朵腑鐨刟utotype(0)闈炲父閲嶈銆傚彟澶栦竴澶勬敼鍔ㄦ槸錛岀▼搴忎腑鐨勬牴鍙橀噺鍚嶆敼鎴?arg0"錛屽嵆涓嶹SDL涓畾涔変竴鑷淬?br>瀹為獙鍙戠幇錛屽甫涓嶅甫attr涓殑xmlns閮藉彲浠ャ傚畬鏁翠唬鐮佸涓嬶細(xì)<br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">use</span><span style="COLOR: #000000"> SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Lite ( </span><span style="COLOR: #000000">+</span><span style="COLOR: #000000">trace </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> all</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> maptype </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> {} );<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$soap</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Lite<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000"> uri(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://magic.nms.exchangebit.com/</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000"> on_action( </span><span style="COLOR: #0000ff">sub</span><span style="COLOR: #000000">{ </span><span style="COLOR: #0000ff">join</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">/</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://www.alfredbr.com</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$_</span><span style="COLOR: #000000">[</span><span style="COLOR: #800000">1</span><span style="COLOR: #000000">] })<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000"> proxy(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://127.0.0.1:8080/ebnms/NotifyService</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>           </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">autotype(</span><span style="COLOR: #800000">0</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">$soap->sendAlarmString ("good");<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>#$soap->sendAlarm (SOAP::Data->name(arg0=>{devName=>"hehe", devIp=>"ip1"}));</span><span style="COLOR: #008000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>{</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000"> call send alarm</span><span style="COLOR: #008000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@params</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">   $header,</span><span style="COLOR: #008000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000">       SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Data</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">name(arg0 </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> goodhehe) <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    );<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$method</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Data</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">name(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ns1:sendAlarmString</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">attr({</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">xmlns:ns1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">http://magic.nms.exchangebit.com/</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">});<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$soap</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">call(</span><span style="COLOR: #800080">$method</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@params</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">\nsend string alarm result:\n</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (</span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">fault)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">faultstring;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">result;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">\nn</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>}<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>{</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000"> call send dev alarm</span><span style="COLOR: #008000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@params</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Data</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">name(arg0</span><span style="COLOR: #000000">=></span><span style="COLOR: #000000">{devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}));<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$method</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Data</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">name(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">sendAlarm</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #008000">#</span><span style="COLOR: #008000">       ->attr({"xmlns:ns1" => 'http://magic.nms.exchangebit.com/'});</span><span style="COLOR: #008000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000">    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$soap</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">call(</span><span style="COLOR: #800080">$method</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@params</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">\nsend string alarm result:\n</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (</span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">fault)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">faultstring;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">result;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">\n\n</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>}<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>{</span><span style="COLOR: #008000">#</span><span style="COLOR: #008000"> call send arr alarm</span><span style="COLOR: #008000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000">    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@params</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Data</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">name(arg0 </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> [<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip1</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       {devName</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">hehe2</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">,</span><span style="COLOR: #000000"> devIp</span><span style="COLOR: #000000">=></span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ip2</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">}])<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    );<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$method</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> SOAP</span><span style="COLOR: #000000">::</span><span style="COLOR: #000000">Data</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">name(</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="FONT-WEIGHT: bold; COLOR: #000000">sendAlarmArr</span><span style="FONT-WEIGHT: bold; COLOR: #000000">'</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$soap</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">call(</span><span style="COLOR: #800080">$method</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=></span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@params</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">\nsend string alarm result:\n</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">if</span><span style="COLOR: #000000"> (</span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">fault)<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">faultstring;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">my</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">@a</span><span style="COLOR: #000000"> </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> @{</span><span style="COLOR: #800080">$result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">result</span><span style="COLOR: #000000">-></span><span style="COLOR: #000000">{item}};<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       </span><span style="COLOR: #0000ff">foreach</span><span style="COLOR: #000000"> </span><span style="COLOR: #800080">$i</span><span style="COLOR: #000000"> (</span><span style="COLOR: #800080">@a</span><span style="COLOR: #000000">) {<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>               </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">ele: $i->{devName}, $i->{devIp}\n</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">print</span><span style="COLOR: #000000"> </span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="FONT-WEIGHT: bold; COLOR: #000000">\n\n</span><span style="FONT-WEIGHT: bold; COLOR: #000000">"</span><span style="COLOR: #000000">;<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>}</span></div> <img src ="http://m.tkk7.com/alwayscy/aggbug/138820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2007-08-23 14:13 <a href="http://m.tkk7.com/alwayscy/archive/2007/08/23/138820.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>CXF錛氬拫鎬誨樊涓鐐瑰憿錛?/title><link>http://m.tkk7.com/alwayscy/archive/2007/08/07/135074.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Tue, 07 Aug 2007 13:39:00 GMT</pubDate><guid>http://m.tkk7.com/alwayscy/archive/2007/08/07/135074.html</guid><wfw:comment>http://m.tkk7.com/alwayscy/comments/135074.html</wfw:comment><comments>http://m.tkk7.com/alwayscy/archive/2007/08/07/135074.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://m.tkk7.com/alwayscy/comments/commentRss/135074.html</wfw:commentRss><trackback:ping>http://m.tkk7.com/alwayscy/services/trackbacks/135074.html</trackback:ping><description><![CDATA[鏈榪戞兂鐢≒ERL閫氳繃SOAP涓嶫AVA閫氫俊錛屾兂鍒頒簡XFIRE錛岀幇鍦ㄥ彨CXF鎻愪緵鐨勬湇鍔°備絾鎬繪槸宸竴鐐規(guī)垚鍔熴?br><br>絎竴姝ワ紝<br>鐢變簬鐢ㄤ簡SPRING錛屾墍浠ユ渶鍏堢湅浜嗚繖綃囨枃绔狅細(xì)<a title="Writing a service with Spring" ><u><font color=#0000ff>Writing a service with Spring</font></u></a> <br>鏈嶅姟鏄緩鎴愬姛浜嗭紝PERL鍜孞AVA鏄彲浠ユ甯擱氫俊浜嗭紝璇﹁<a href="http://m.tkk7.com/alwayscy/archive/2007/08/03/134343.html">涓婄瘒鏂囩珷</a><br>鍙槸CXF鑷繁鐨凜LIENT鐢熸垚浠g爜鍗磋闂?#8220;鑷畾涔夌粨鏋勬暟緇?#8221;鐨勫嚱鏁頒笉鎴愬姛錛?br> public List<DeviceValue> sendAlarmArr (List<DeviceValue> arr);<br><br>絎簩姝ワ紝<br>宸﹁瘯鍙寵瘯涓嶆垚鍔燂紝鐢氳嚦鍘昏瘯浜咥xis2錛屼絾閭d釜鐢熸垚鐨刉SDL鎶婁笂闈㈢殑緇撴瀯鍙樻垚AnyType錛屼及璁′笉瀵廣?br>鍙堝洖鏉ワ紝鐪嬩簡<a >Aegis緇戝畾</a>錛屾垜榪樻壘鍒板皢瀹冪敤鍒癝PRING閲岀殑鏂規(guī)硶錛?br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">beans </span><span style="COLOR: #ff0000">xmlns</span><span style="COLOR: #0000ff">="http://www.springframework.org/schema/beans"</span><span style="COLOR: #ff0000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> xmlns:xsi</span><span style="COLOR: #0000ff">="http://www.w3.org/2001/XMLSchema-instance"</span><span style="COLOR: #ff0000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> xmlns:jaxws</span><span style="COLOR: #0000ff">="http://cxf.apache.org/jaxws"</span><span style="COLOR: #ff0000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> xsi:schemaLocation</span><span style="COLOR: #0000ff">="<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans.xsd<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> http://cxf.apache.org/jaxws http://cxf.apache.org/schemas/jaxws.xsd"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">import </span><span style="COLOR: #ff0000">resource</span><span style="COLOR: #0000ff">="classpath:META-INF/cxf/cxf.xml"</span><span style="COLOR: #ff0000"> </span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">import </span><span style="COLOR: #ff0000">resource</span><span style="COLOR: #0000ff">="classpath:META-INF/cxf/cxf-extension-soap.xml"</span><span style="COLOR: #ff0000"> </span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top> </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">import </span><span style="COLOR: #ff0000">resource</span><span style="COLOR: #0000ff">="classpath:META-INF/cxf/cxf-servlet.xml"</span><span style="COLOR: #ff0000"> </span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>   </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="serviceClass"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="com.exchangebit.nms.magic.NotifyServiceImpl"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>  <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="aegisDatabinding"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.apache.cxf.aegis.databinding.AegisDatabinding"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>          <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="serviceFactory"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="dataBinding"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="aegisDatabinding"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">bean </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="serverBeanFactory"</span><span style="COLOR: #ff0000"> class</span><span style="COLOR: #0000ff">="org.apache.cxf.frontend.ServerFactoryBean"</span><span style="COLOR: #ff0000"> init-method</span><span style="COLOR: #0000ff">="create"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="address"</span><span style="COLOR: #ff0000"> value</span><span style="COLOR: #0000ff">="/NotifyService"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="bindingId"</span><span style="COLOR: #ff0000"> value</span><span style="COLOR: #0000ff">="http://schemas.xmlsoap.org/soap/"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="serviceBean"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="serviceClass"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">property </span><span style="COLOR: #ff0000">name</span><span style="COLOR: #0000ff">="serviceFactory"</span><span style="COLOR: #ff0000"> ref</span><span style="COLOR: #0000ff">="serviceFactory"</span><span style="COLOR: #0000ff">/></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">bean</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">jaxws:endpoint <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>      </span><span style="COLOR: #ff0000">id</span><span style="COLOR: #0000ff">="notifyService"</span><span style="COLOR: #ff0000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>      implementor</span><span style="COLOR: #0000ff">="com.exchangebit.nms.magic.NotifyServiceImpl"</span><span style="COLOR: #ff0000"> <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>      address</span><span style="COLOR: #0000ff">="/NotifyService"</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>         </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">jaxws:serviceFactory><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            <ref bean="serviceFactory"/><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>         </jaxws:serviceFactory</span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>     </span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">jaxws:endpoint</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>   <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #0000ff"></</span><span style="COLOR: #800000">beans</span><span style="COLOR: #0000ff">></span><span style="COLOR: #000000"><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span></div> <br>鍏跺疄錛岃窡鍓嶄竴縐岼AX-WS鐨勬柟寮忚漿鎹㈤潪甯哥畝鍗曪紝鎶婂叾涓殑娉ㄩ噴鍘繪帀灝辨槸Aegis緇戝畾錛屾敞閲婃帀灝辨槸JAX-WS銆?br>瀹㈡埛绔病鏈夊湪SPRING閲岃瘯鎴愬姛錛屼絾鍐欎唬鐮佷篃鐩稿綋綆鍗曪紝Aegis鐪熷ソ錛?br> <div style="BORDER-RIGHT: #cccccc 1px solid; PADDING-RIGHT: 5px; BORDER-TOP: #cccccc 1px solid; PADDING-LEFT: 4px; FONT-SIZE: 13px; PADDING-BOTTOM: 4px; BORDER-LEFT: #cccccc 1px solid; WIDTH: 98%; WORD-BREAK: break-all; PADDING-TOP: 4px; BORDER-BOTTOM: #cccccc 1px solid; BACKGROUND-COLOR: #eeeeee"><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top><span style="COLOR: #000000">        getBean (</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">notifyClient</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        ClientProxyFactoryBean factory </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> </span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> ClientProxyFactoryBean();<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        factory.setServiceClass(NotifyService.</span><span style="COLOR: #0000ff">class</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        factory.setAddress(</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">http://127.0.0.1:8080/ebnms/NotifyService</span><span style="COLOR: #000000">"</span><span style="COLOR: #000000">);<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        factory.getServiceFactory().setDataBinding(</span><span style="COLOR: #0000ff">new</span><span style="COLOR: #000000"> AegisDatabinding());<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        NotifyService client </span><span style="COLOR: #000000">=</span><span style="COLOR: #000000"> (NotifyService) factory.create();<br><img src="http://m.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        DoTest (client);</span></div> <p><br>榪欐錛屽埌鏄疌XF鐨凷ERVER鍜孋LIENT閮藉彲浠ユ甯擱氫俊浜嗐備絾鎴戜笉璇翠篃鐭ラ亾鍟︼紝PERL鍙堝嚭闂浜?</p> <p> </p> 絎笁姝ワ紝<br>鍙堣繘涓姝ユ悳錛屾墠鐭ラ亾Document, Literal, RPC, Encoding瀵筍OAP娑堟伅鐨勫獎鍝嶏紝<a >榪欑瘒鏂囩珷</a>(<a >涓枃鐨?/a>)鐩稿綋濂?<br>澶т箟鏄疪PC/Encoding灝嗘柟娉曞悕縐版斁鍏ヤ簡operation鑺備腑錛屽茍涓旀秷鎭噷鍚湁綾誨瀷淇℃伅錛屼笉鏂逛究媯楠屻?br>鑰孌ocument/Literal閫氳繃澧炲姞WSDL澶嶆潅搴︼紝灝嗘柟娉曞悕銆佸弬鏁扮被鍨嬪叏閮ㄦ斁鍏ヤ簡types涓鑺傦紝鏂逛究浜嗗鐞嗐?br>鑰孲OAP::Lite鍙敮鎸丷PC/Encoding鐨勬柟寮忥紝浣嗕篃鏈夊姙娉曡瀹冨艦鎴怐oc/Lit鐨勬秷鎭細(xì)<a >鐐硅繖閲?/a>銆?br>浣嗭紝榪欑鏂規(guī)硶鍙敮鎸丣AX-WS鐨勬湇鍔★紝Aegis鐨凱ERL灝變細(xì)鍑洪敊浜嗐?br><br>鎵浠ワ紝涓嶇鐢ㄥ摢縐嶈涔圝AVA鐨凜LIENT鍜孲ERVER閫氫俊鏈夐棶棰橈紝涓嶇劧灝辨槸鎶奝ERL鎷掍箣闂ㄥ銆傛垜鎬鐤戞槸涓嶆槸CXF鐨凧AX-WS鐨勬暟緇勫鐞嗘湁闂錛屼笉鐒禔egis涓轟綍涓嶅嚭閿欙紵鍙﹀錛孉egis瀵筆ERL鐨勬秷鎭笉澶熷瀹癸紝鏈凡鏄疍oc/Lit鏍煎紡錛屽彧鏄甫鏈塗YPE淇℃伅涔熶細(xì)鍑洪敊銆?br>涓嶇煡濡備綍瑙o紝鍏堣鍦ㄦ錛屼互鍚庡洖榪囧ご鏉ュ啀鐮旂┒浜嗐? <img src ="http://m.tkk7.com/alwayscy/aggbug/135074.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://m.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2007-08-07 21:39 <a href="http://m.tkk7.com/alwayscy/archive/2007/08/07/135074.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>娓呮櫚蹇嵎鐨刋ML/SOAP/WSDL瀛︿範(fàn)鏉愭枡(tutorials)http://m.tkk7.com/alwayscy/archive/2007/07/10/129260.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Tue, 10 Jul 2007 02:25:00 GMThttp://m.tkk7.com/alwayscy/archive/2007/07/10/129260.htmlhttp://m.tkk7.com/alwayscy/comments/129260.htmlhttp://m.tkk7.com/alwayscy/archive/2007/07/10/129260.html#Feedback1http://m.tkk7.com/alwayscy/comments/commentRss/129260.htmlhttp://m.tkk7.com/alwayscy/services/trackbacks/129260.html榪欏嚑涓涔?fàn)鏉愭枡闈炲父鐭瓰畯绮炬?zhèn)嶏紝鍙竻鏅板揩鎹風(fēng)殑鎺屾彙浠ヤ笅鍑犱釜姒傚康錛屾柟渚挎洿娣卞叆瀛︿範(fàn)銆傚緩璁薄鎴戜竴鏍鋒病鎺ヨЕ榪囨垨鑰呮湁鐤戞儜鐨勫悓瀛︾湅涓涓嬨傛瘡涓」鐩?0鑷?0鍒嗛挓灝卞彲浠ョ湅瀹屻佺湅鎳傦細(xì)

 

XML tutorial:

http://www.w3schools.com/xml/default.asp

 

SOAP tutorial:

http://www.w3schools.com/soap/default.asp

 

WSDL tutorial:

http://www.w3schools.com/wsdl/default.asp

 

WEB Service tutorial:

http://www.w3schools.com/webservices/default.asp

鎴戠埍浣?jīng)_▋ 2007-07-10 10:25 鍙戣〃璇勮
]]>
comet: 鏈嶅姟鍣ㄦ帹妯″紡閫氳http://m.tkk7.com/alwayscy/archive/2007/07/03/127931.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Tue, 03 Jul 2007 10:10:00 GMThttp://m.tkk7.com/alwayscy/archive/2007/07/03/127931.htmlhttp://m.tkk7.com/alwayscy/comments/127931.htmlhttp://m.tkk7.com/alwayscy/archive/2007/07/03/127931.html#Feedback0http://m.tkk7.com/alwayscy/comments/commentRss/127931.htmlhttp://m.tkk7.com/alwayscy/services/trackbacks/127931.htmlDWR2.0鐨勬帹鎶鏈細(xì)榪欓噷鏈変粙緇?/a>

comet鐨勫疄鐜頒粙緇嶏細(xì)榪欓噷

鍏朵腑鐨勫師鐞嗗湪浜庣淮鎶TTP闀胯繛鎺ワ紝榪欓噷鏈変粙緇?/a>

 

鎽樺綍涓閮ㄥ垎錛岃鏄庡叾鍘熺悊錛?/p>

Pushlet鍩轟簬HTTP嫻侊紝榪欑鎶鏈父甯哥敤鍦ㄥ濯掍綋瑙嗛銆侀氳搴旂敤涓紝姣斿QuickTime銆備笌瑁呰澆HTTP欏甸潰涔嬪悗椹笂鍏抽棴HTTP榪炴帴鐨勫仛娉曠浉鍙嶏紝Pushlet閲囩敤HTTP嫻佹柟寮忓皢鏂版暟鎹簮婧愪笉鏂湴鎺ㄩ佸埌client錛屽啀姝ゆ湡闂碒TTP榪炴帴涓鐩翠繚鎸佹墦寮銆傛湁鍏沖浣曞湪Java涓疄鐜拌繖縐岾eep-alive鐨勯暱榪炴帴璇峰弬鐪婼un鎻愪緵鐨?u>銆奌TTP Persistent Connection銆?/a>鍜?u>W3C鐨勩奌TTP1.1瑙勮寖銆嬨?br>紺轟緥1
        鎴戜滑鍒╃敤HTTP嫻佸紑鍙戜竴涓狫SP欏甸潰錛堝洜涓哄畠鏄撲簬閮ㄧ講錛岃屼笖瀹冨湪web server涓篃鏄綔涓簊ervlet瀵瑰緟鐨勶級錛屾欏甸潰鍦ㄤ竴涓畾鏃跺櫒寰幆涓笉鏂湴鍙戦佹柊鐨凥TML鍐呭緇檆lient錛?pre>
<%
  int i = 1;
    
  try {
    while (true) {
       out.print("<h1>"+(i++)+"</h1>");
       out.flush();
      
       try {
            Thread.sleep(3000);
       } catch (InterruptedException e) {
       out.print("<h1>"+e+"</h1>");
        }
     }
   } catch (Exception e) {
       out.print("<h1>"+e+"</h1>");
   }
%>

        鍦≒ushlet婧愪唬鐮佷腑鎻愪緵浜嗘欏甸潰錛坋xamples/basics/push-html-stream.jsp錛夈備笂闈㈢殑欏甸潰騫朵笉鏄崄鍒嗘湁鐢紝鍥犱負(fù)鍦ㄦ垜浠埛鏂伴〉闈㈡椂錛屾柊鍐呭鏈烘鍦般佹寔緇笉鏂湴琚坊鍔犲埌欏甸潰涓紝鑰屼笉鏄痵erver绔洿鏂扮殑鍐呭銆?br>紺轟緥2
        鐜板湪璁╂垜浠鍏ushlet宸ヤ綔鏈虹悊涓竴鎺㈢┒绔熴傞氳繃榪愯Pushlet鐨勭ず渚嬫簮浠g爜錛坋xamples/basics/ push-js-stream.html錛夛紝鎴戜滑浼?xì)鐪嬪埌杩欎釜姣?縐掑埛鏂頒竴嬈$殑欏甸潰銆傞偅涔堝畠鏄浣曞疄鐜扮殑鍛紵
        姝ょず渚嬩腑鍖呭惈浜嗕笁涓枃浠訛細(xì)push-js-stream.html銆乸ush-js-stream-pusher.jsp銆乸ush-js-stream-display.html銆?
        鍏朵腑push-js-stream.html鏄富妗嗘灦鏂囦歡錛屽畠浠TML Frame鐨勫艦寮忓寘鍚叾瀹冧袱涓〉闈€?br>        push-js-stream-pusher.jsp鏄竴涓狫SP錛屽畠鎵ц鍦╯erver绔紝姝ゆ枃浠跺唴瀹瑰涓嬶細(xì)


  7: <%
  8:   /** Start a line of JavaScript with a function call to parent frame. */
  9:   String jsFunPre = "<script language=JavaScript >parent.push('";
10:  
11:   /** End the line of JavaScript */
12:   String jsFunPost = "')</script> ";
13:  
14:   int i = 1;
15:   try {
16:  
17:     // Every three seconds a line of JavaScript is pushed to the client
18:     while (true) {
19:    
20:        // Push a line of JavaScript to the client
21:        out.print(jsFunPre+"Page "+(i++)+jsFunPost);
22:        out.flush();
23:        
24:        // Sleep three secs
25:        try {
26:             Thread.sleep(3000);
27:        } catch (InterruptedException e) {
28:             // Let client display exception
29:             out.print(jsFunPre+"InterruptedException: "+e+jsFunPost);
30:        }
31:      }
32:    } catch (Exception e) {
33:             // Let client display exception
34:             out.print(jsFunPre+"Exception: "+e+jsFunPost);
35:    }
36: %>

娉ㄦ剰鍦ㄧず渚?鍜岀ず渚?涓嬌鐢↗SP鏃墮兘瀛樺湪涓涓棶棰橈細(xì)涓浜泂ervlet寮曟搸鍦ㄦ煇涓猚lient紱誨紑鏃朵細(xì)鈥滃悆鎺夆滻OException錛屼互鑷充簬JSP欏甸潰灝嗘案涓嶆姏鍑烘寮傚父銆傛墍浠ュ湪榪欑鎯呭喌涓嬶紝欏甸潰寰幆灝嗕細(xì)姘歌繙鎵ц涓嬪幓銆傝岃繖姝f槸Pushlet瀹炵幇閲囩敤servlet鐨勫師鍥犱箣涓錛氬彲浠ユ崟鑾峰埌IOException銆?
        鍦ㄤ笂闈唬鐮佺殑絎?1琛屼腑鍙互鐪嬪埌鍦ㄤ竴涓畾鏃跺櫒寰幆錛?縐?鍛ㄦ湡錛変腑鎵撳嵃浜嗕竴浜汬TML騫跺皢瀹冧滑杈撳嚭鍒癱lient嫻忚鍣ㄣ傝娉ㄦ剰錛岃繖閲屾帹閫佺殑騫墮潪HTML鑰屾槸Javascript錛佽繖鏍峰仛鐨勬剰涔変綍鍦紵
        瀹冩妸綾諱技鈥?lt;script language=JavaScript >parent.push('Page 4')</script>鈥濈殑涓琛屼唬鐮佹帹閫佸埌嫻忚鍣紱鑰屽叿鏈塉avaScript寮曟搸鐨勬祻瑙堝櫒鍙互鐩存帴鎵ц鏀跺埌鐨勬瘡涓琛屼唬鐮侊紝騫惰皟鐢╬arent.push()鍑芥暟銆傝屼唬鐮佷腑鐨凱arent渚挎槸嫻忚鍣ㄩ〉闈腑鎵鍦‵rame鐨凱arent錛屼篃灝辨槸push-js-stream.html銆傝鎴戜滑鐪嬬湅閮藉彂鐢熶簡浠涔堬紵

<script LANGUAGE="JavaScript">
var pageStart="<HTML><HEAD></HEAD><BODY BGCOLOR=blue TEXT=white><H2>Server pushes: <para>";
var pageEnd="</H2></BODY></HTML>";
  // Callback function with message from server.
  // This function is called from within the hidden JSP pushlet frame
  function push(content) {

    // Refresh the display frame with the content received
    window.frames['displayFrame'].document.writeln(pageStart+content+pageEnd);
    window.frames['displayFrame'].document.close();
  }

</script>



     <!-- frame to display the content pushed by the pushlet -->
    
    
     <!-- Hidden frame with the pushlet that pushes lines of JavaScript-->
    
</FRAMESET>

        鍙互鐪嬪埌push-js-stream.html涓殑push()鍑芥暟琚悕涓簆ushletFrame鐨凧SP Frame璋冪敤錛氭妸浼犲叆鐨勫弬鏁板煎啓鍏ュ埌displayFrame錛堟Frame涓簆ush-js-stream-display.html錛夈傝繖鏄姩鎬丠TML鐨勪竴涓皬鎶宸э細(xì)浣跨敤document瀵硅薄鐨剋riteln鏂規(guī)硶鍒鋒柊鏌愪釜Frame鎴栬匴indow鐨勫唴瀹廣?br>        浜庢槸displayFrame鎴愪負(fù)浜嗙敤浜庢樉紺哄唴瀹圭殑銆佺湡姝g殑瑙嗗浘銆俤isplayFrame鍒濆鍖栦負(fù)榛戣壊鑳屾櫙騫舵樉紺衡渨ait鈥︹濈洿鍒版潵鑷猻erver鐨勫唴瀹硅鎺ㄩ佽繃鏉ワ細(xì)

<H1>WAIT...</H1>

        榪欎究鏄疨ushlet鐨勫熀鏈仛娉曪細(xì)鎴戜滑浠巗ervlet錛堟垨鑰呬粠紺轟緥涓殑JSP錛夋妸JavaScript浠g爜浣滀負(fù)HTTP嫻佹帹閫佸埌嫻忚鍣ㄣ傝繖浜涗唬鐮佽嫻忚鍣ㄧ殑JavaScript寮曟搸瑙i噴騫跺畬鎴愪竴浜涙湁瓚g殑宸ヤ綔銆備簬鏄究杞繪澗鍦板畬鎴愪簡浠巗erver绔殑Java鍒版祻瑙堝櫒涓殑JavaScript鐨勫洖璋冦?br>        涓婇潰鐨勭ず渚嬪睍紺轟簡Pushlet鍘熺悊錛屼絾榪欓噷瀛樺湪涓浜涚瓑寰呰В鍐崇殑闂鍜岄渶瑕佸娣葷殑鐗規(guī)с備簬鏄垜寤虹珛浜嗕竴涓皬鍨嬬殑server绔疨ushlet妗嗘灦錛堝叾綾葷粨鏋勫浘琛ㄥ皢浼?xì)灞暯C哄湪涓嬮潰錛夛紝娣誨姞浜嗕竴浜涚敤鍦╟lient涓殑JavaScript搴撱傜敱浜巆lient闇瑕佷緷璧栨洿澶氱殑DHTML鐗規(guī)э紙姣斿Layers錛夛紝鎴戜滑灝嗛鍏堢矖鐣ュ湴娓╀範(fàn)涓浜?u>DHTML鐭ヨ瘑銆傜ず渚嬩唬鐮佽examples/dhtml銆?img src ="http://m.tkk7.com/alwayscy/aggbug/127931.html" width = "1" height = "1" />

鎴戠埍浣?jīng)_▋ 2007-07-03 18:10 鍙戣〃璇勮
]]>
主站蜘蛛池模板: 色偷偷亚洲第一综合网| 亚洲高清乱码午夜电影网| 国产无遮挡又黄又爽免费网站| 亚洲日韩涩涩成人午夜私人影院| 成人最新午夜免费视频| 亚洲成年人电影网站| 国产妇乱子伦视频免费| 亚洲欧洲综合在线| 114一级毛片免费| 亚洲精品亚洲人成在线播放| 欧美三级在线电影免费| 亚洲AV成人无码天堂| 欧亚精品一区三区免费| 亚洲成aⅴ人片久青草影院按摩| 一本到卡二卡三卡免费高| 国产99视频精品免费视频7| 免费看一级高潮毛片| 久久久久亚洲AV无码专区桃色| 亚洲成AV人片久久| 1000部免费啪啪十八未年禁止观看| 四虎永久在线精品视频免费观看| 亚洲国产精品无码久久一区二区 | 99在线热视频只有精品免费| 亚洲AV无码日韩AV无码导航| 免费在线看黄的网站| 亚洲国产片在线观看| 日韩一级视频免费观看| 久久久久国色AV免费观看| 亚洲精品无码MV在线观看| 18禁无遮挡无码国产免费网站| 亚洲人成亚洲人成在线观看| 777爽死你无码免费看一二区| 大胆亚洲人体视频| 在线观看免费精品国产| 一区二区三区免费精品视频| 亚洲国产二区三区久久| 永久免费看bbb| a毛片在线免费观看| 国产成人精品日本亚洲专一区| 久久aⅴ免费观看| 亚洲精品女同中文字幕|