锘??xml version="1.0" encoding="utf-8" standalone="yes"?>亚洲免费网站在线观看,国产国拍精品亚洲AV片,亚洲精品色播一区二区http://www.tkk7.com/alwayscy/category/17732.html<br> 鏈夊叴瓚e彲浠ヨ闂笅鎴戠殑鐢熸椿鍗氬錛?lt;a >qqmovie.qzone.com</a>zh-cnSun, 09 Oct 2011 02:15:26 GMTSun, 09 Oct 2011 02:15:26 GMT60涓鐩簡(jiǎn)鐒禤ERL緙栫爜,鏄漿鐨?/title><link>http://www.tkk7.com/alwayscy/archive/2011/10/09/360236.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Sun, 09 Oct 2011 00:04:00 GMT</pubDate><guid>http://www.tkk7.com/alwayscy/archive/2011/10/09/360236.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/360236.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2011/10/09/360236.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/360236.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/360236.html</trackback:ping><description><![CDATA[     鎽樿: 闈炲父嫻呮樉鏄撴噦鐨凱ERL緙栫爜璇存槑. <br>涓鐩簡(jiǎn)鐒禤ERL緙栫爜,娉ㄦ剰鏄漿鐨?nbsp; <a href='http://www.tkk7.com/alwayscy/archive/2011/10/09/360236.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/alwayscy/aggbug/360236.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2011-10-09 08:04 <a href="http://www.tkk7.com/alwayscy/archive/2011/10/09/360236.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>perl涓嶇敤export,鑷姩鍔犲叆鑷繁鐨勬悳绱㈠拰鍔ㄦ侀摼鎺ュ簱鐜http://www.tkk7.com/alwayscy/archive/2011/10/03/359970.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Mon, 03 Oct 2011 13:37:00 GMThttp://www.tkk7.com/alwayscy/archive/2011/10/03/359970.htmlhttp://www.tkk7.com/alwayscy/comments/359970.htmlhttp://www.tkk7.com/alwayscy/archive/2011/10/03/359970.html#Feedback0http://www.tkk7.com/alwayscy/comments/commentRss/359970.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/359970.html涓嬮潰浠AC涓轟緥,濡傛灉鏄疞INUX闇瑕佹妸DYLD鍙戜負(fù)LD


鎶婁笅闈唬鐮佸姞鍒頒唬鐮佸紑澶?瀹冨氨鍙互鑷惎鍔ㄤ簡(jiǎn),涓嶉渶瑕佸啀EXPORT鎴栬?I


BEGIN {

        #闇瑕佸姞鍒癓OADPATH鐨勮礬寰?/font>

my $need = '/usr/local/nagios/pkg/ebase/';


push @INC, $need;

if ( $^O !~ /MSWin32/ ) {

my $ld = $ENV{DYLD_LIBRARY_PATH};

if ( !$ld ) {

$ENV{DYLD_LIBRARY_PATH} = $need;

}

elsif ( $ld !~ m#(^|:)\Q$need\E(:|$)# ) {

$ENV{DYLD_LIBRARY_PATH} .= ':' . $need;

}

else {

$need = "";

}

if ($need) {

exec 'env', $^X, $0, @ARGV;

}

}

}

@import url(http://www.tkk7.com/CuteSoft_Client/CuteEditor/Load.ashx?type=style&file=SyntaxHighlighter.css);@import url(/css/cuteeditor.css);

]]>
鍝簡(jiǎn)錛氭暣涓澶㎎ava Runtime exec鐨勬寕姝伙紙涓嶉鍑猴級(jí)闂錛屽師鏉ユ槸閰卞瓙http://www.tkk7.com/alwayscy/archive/2009/05/15/270925.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Fri, 15 May 2009 13:04:00 GMThttp://www.tkk7.com/alwayscy/archive/2009/05/15/270925.htmlhttp://www.tkk7.com/alwayscy/comments/270925.htmlhttp://www.tkk7.com/alwayscy/archive/2009/05/15/270925.html#Feedback2http://www.tkk7.com/alwayscy/comments/commentRss/270925.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/270925.html鍚庢潵鍚冧釜楗兘鏀懼純浜?jiǎn)锛屽眳鐒跺張鎵惧埌绛旀锛岃娌$湅鍒板畠锛岄偅鐪熶互湄?fù)閲岄潰鏈夐浜?jiǎn)銆?nbsp; 闃呰鍏ㄦ枃

]]>
PERL閫氳繃CPAN鍜孭ROXY鏉ュ畨瑁?/title><link>http://www.tkk7.com/alwayscy/archive/2009/05/12/270228.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Tue, 12 May 2009 08:31:00 GMT</pubDate><guid>http://www.tkk7.com/alwayscy/archive/2009/05/12/270228.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/270228.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2009/05/12/270228.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/270228.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/270228.html</trackback:ping><description><![CDATA[濡傞渶瑕侊紝璁劇疆PROXY錛?br /> export http_proxy=http://127.0.0.1:3128<br /> <br /> 鍚姩錛岀劧鍚庤緗甅IRROR錛岀洿鎺ュ畨瑁咃細(xì)<br /> perl -MCPAN -e shell<br /> cpan> o conf urllist set http://www.perl87.cn/CPAN/<br /> cpan> install JSON<br /> <img src ="http://www.tkk7.com/alwayscy/aggbug/270228.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2009-05-12 16:31 <a href="http://www.tkk7.com/alwayscy/archive/2009/05/12/270228.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>do/eval/requir鍖哄埆http://www.tkk7.com/alwayscy/archive/2008/08/12/221440.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Tue, 12 Aug 2008 02:42:00 GMThttp://www.tkk7.com/alwayscy/archive/2008/08/12/221440.htmlhttp://www.tkk7.com/alwayscy/comments/221440.htmlhttp://www.tkk7.com/alwayscy/archive/2008/08/12/221440.html#Feedback0http://www.tkk7.com/alwayscy/comments/commentRss/221440.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/221440.html Ways to include code/library from another file (eval, do, require and use)

1)  do $file is like eval `cat $file`, except the former:
    1.1: searches @INC.
    1.2: bequeaths an *unrelated* lexical scope on the eval'ed code.

2)  require $file is like do $file, except the former:
    2.1: checks for redundant loading, slipping already loaded files.
    2.2: raises an exception on failure to find, compile, or execute $file.

3)  require Module is like require "Module.pm", except the former:
    3.1: translates each "::" into your system's directory separator.
    3.2: primes the parser to disambiguate class Module as an indirect object.

4)  use Module is like require Module, except the former:
    4.1: loads the module at compile time, not run-time.
    4.2: imports symbols and semantics from that package to the current one.


eval闄や簡(jiǎn)鍙互褰㈡垚鍔ㄦ丆ODE澶栵紝榪樺彲浠ュ仛寮傚父鎹曟崏錛?/p>

  eval {
...
};
if ($@) {
errorHandler($@);
}

$@鍦ㄦ棤寮傚父鏃舵槸NULL錛屽惁鍒欐槸寮傚父鍘熷洜


]]>
PAR鍜孭Phttp://www.tkk7.com/alwayscy/archive/2008/08/11/221371.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Mon, 11 Aug 2008 13:13:00 GMThttp://www.tkk7.com/alwayscy/archive/2008/08/11/221371.htmlhttp://www.tkk7.com/alwayscy/comments/221371.htmlhttp://www.tkk7.com/alwayscy/archive/2008/08/11/221371.html#Feedback0http://www.tkk7.com/alwayscy/comments/commentRss/221371.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/221371.html闃呰鍏ㄦ枃

]]>
ACTIVEPERL鍦↙INUX涓嬬殑瀹夎浠ュ強(qiáng)PERL2EXE鐨勪嬌鐢?/title><link>http://www.tkk7.com/alwayscy/archive/2008/02/20/180803.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Wed, 20 Feb 2008 04:40:00 GMT</pubDate><guid>http://www.tkk7.com/alwayscy/archive/2008/02/20/180803.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/180803.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2008/02/20/180803.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/180803.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/180803.html</trackback:ping><description><![CDATA[     鎽樿: ACTIVEPERL鍦↙INUX涓嬬殑瀹夎浠ュ強(qiáng)PERL2EXE鐨勪嬌鐢?nbsp; <a href='http://www.tkk7.com/alwayscy/archive/2008/02/20/180803.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/alwayscy/aggbug/180803.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2008-02-20 12:40 <a href="http://www.tkk7.com/alwayscy/archive/2008/02/20/180803.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>涓縐嶄笉闇瑕乄SDL鐢–XF錛堝師XFIRE錛夎闂甈ERL錛圫OAP::Lite錛夌紪鍐欑殑WEB SERVICEhttp://www.tkk7.com/alwayscy/archive/2007/12/05/165446.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Wed, 05 Dec 2007 04:00:00 GMThttp://www.tkk7.com/alwayscy/archive/2007/12/05/165446.htmlhttp://www.tkk7.com/alwayscy/comments/165446.htmlhttp://www.tkk7.com/alwayscy/archive/2007/12/05/165446.html#Feedback0http://www.tkk7.com/alwayscy/comments/commentRss/165446.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/165446.html闃呰鍏ㄦ枃

]]>
PERL涓亣鍒癥our vendor has not defined Fcntl macro F_GETFL瑙e喅鏂規(guī)硶http://www.tkk7.com/alwayscy/archive/2007/10/31/157300.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Wed, 31 Oct 2007 12:40:00 GMThttp://www.tkk7.com/alwayscy/archive/2007/10/31/157300.htmlhttp://www.tkk7.com/alwayscy/comments/157300.htmlhttp://www.tkk7.com/alwayscy/archive/2007/10/31/157300.html#Feedback0http://www.tkk7.com/alwayscy/comments/commentRss/157300.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/157300.html

浠婂ぉ鍦╓INDOWS涓嬬敤SOCKET鏃跺彂鐜板涓嬮敊璇細(xì)錛圠INUX涓嬫甯革級(jí)

Your vendor has not defined Fcntl macro F_GETFL, used at :/Perl/site/lib/IO/Multiplex.pm line 932.

 

鍙渶瑕佹浛鎹ultiplex.pm line 932澶勫嚱鏁皀onblock錛?

sub nonblock
{
my $fh = shift;
my $flags = fcntl($fh, F_GETFL, 0)
or die "fcntl F_GETFL: $!\n"
fcntl($fh, F_SETFL, $flags | O_NONBLOCK)
or die "fcntl F_SETFL $!\n"
}

鏇挎崲涓猴細(xì)

use constant WIN32 => $^O =~ /win32/i;

sub nonblock {
my $sock = shift;
if (WIN32) {
my $set_it = "1"
ioctl( $sock, 0x80000000 | (4 << 16) | (ord('f') << 8) | 126, $set_it) || return 0;
} else {
fcntl($sock, F_SETFL, fcntl($sock, F_GETFL, 0) | O_NONBLOCK) || return 0;
}
}

鍗沖彲銆?/p>

]]>
CXF錛氬拫鎬誨樊涓鐐瑰憿錛?錛堢畫(huà)錛氬凡瑙e喅錛?/title><link>http://www.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://www.tkk7.com/alwayscy/archive/2007/08/23/138820.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/138820.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2007/08/23/138820.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/138820.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/138820.html</trackback:ping><description><![CDATA[鍦?a href="http://www.tkk7.com/alwayscy/archive/2007/08/07/135074.html">涓婁竴綃囨枃绔?/a>涓殑闂錛屼粖澶╁張鍐嶈瘯浜?jiǎn)涓嬪Q屽眳鐒惰В鍐充簡(jiǎn)錛岀湅鏉ユ妸閬囧埌闂鏀句竴鏀炬槸鏈夊ソ澶勭殑銆?br><br>絎竴錛屾槸瑕佺敤瀵笴XF鐨勫簱錛屽湪涓琛屼唬鐮佹湭鍙樼殑鎯呭喌涓嬶紝鍙浣跨敤鏈鏂扮殑搴撱傜湅鏉ュ湪鏈鏂板簱閲岃В鍐充簡(jiǎn)鏁扮粍闂錛?br>2.1-incubator-SNAPSHOT<br>灝辨病闂錛屽鏋滄槸鐢細(xì)<br>2.0-incubator<br>灝變細(xì)鍑虹幇涓婄瘒鏂囩珷鐨勬儏鍐點(diǎn)傛垜浣跨敤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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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>榪欐鍐嶅姞浜?jiǎn)涓ゅ鏀瑰姩鍚帪鍙互浜?jiǎn)錛氾紙娉ㄦ剰錛欳XF閲屼笉瑕佷嬌鐢╝egisDatabinding錛岀敤榛樿鐨勫嵆鍙級(jí)<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://www.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://www.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://www.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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000"><br><img src="http://www.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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    );<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>}<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top></span><span style="COLOR: #000000">    <br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>}<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    );<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff">else</span><span style="COLOR: #000000"><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    {<br><img src="http://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>       }<br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    }<br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>}</span></div> <img src ="http://www.tkk7.com/alwayscy/aggbug/138820.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2007-08-23 14:13 <a href="http://www.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://www.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://www.tkk7.com/alwayscy/archive/2007/08/07/135074.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/135074.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2007/08/07/135074.html#Feedback</comments><slash:comments>1</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/135074.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/135074.html</trackback:ping><description><![CDATA[鏈榪戞兂鐢≒ERL閫氳繃SOAP涓嶫AVA閫氫俊錛屾兂鍒頒簡(jiǎn)XFIRE錛岀幇鍦ㄥ彨CXF鎻愪緵鐨勬湇鍔°備絾鎬繪槸宸竴鐐規(guī)垚鍔熴?br><br>絎竴姝ワ紝<br>鐢變簬鐢ㄤ簡(jiǎn)SPRING錛屾墍浠ユ渶鍏堢湅浜?jiǎn)杩櫧媷鏂囩珷锛?xì)<a title="Writing a service with Spring" ><u><font color=#0000ff>Writing a service with Spring</font></u></a> <br>鏈嶅姟鏄緩鎴愬姛浜?jiǎn)锛孭ERL鍜孞AVA鏄彲浠ユ甯擱氫俊浜?jiǎn)锛岃瑙?a href="http://www.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>宸﹁瘯鍙寵瘯涓嶆垚鍔燂紝鐢氳嚦鍘昏瘯浜?jiǎn)Axis2錛屼絾閭d釜鐢熸垚鐨刉SDL鎶婁笂闈㈢殑緇撴瀯鍙樻垚AnyType錛屼及璁′笉瀵廣?br>鍙堝洖鏉ワ紝鐪嬩簡(jiǎn)<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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top> xsi:schemaLocation</span><span style="COLOR: #0000ff">="<br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>  <br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>          <br><img src="http://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    <br><img src="http://www.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://www.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://www.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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>    </span><span style="COLOR: #0000ff"><</span><span style="COLOR: #800000">jaxws:endpoint <br><img src="http://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>         </span><span style="COLOR: #008000"><!--</span><span style="COLOR: #008000">jaxws:serviceFactory><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>            <ref bean="serviceFactory"/><br><img src="http://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>         </jaxws:serviceFactory</span><span style="COLOR: #008000">--></span><span style="COLOR: #000000"><br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>   <br><img src="http://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top><br><img src="http://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        <br><img src="http://www.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://www.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://www.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://www.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://www.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://www.tkk7.com/Images/OutliningIndicators/None.gif" align=top>        DoTest (client);</span></div> <p><br>榪欐錛屽埌鏄疌XF鐨凷ERVER鍜孋LIENT閮藉彲浠ユ甯擱氫俊浜?jiǎn)銆備絾鎴戜笉璇翠篃鐭ラ亾鍟︼紝PERL鍙堝嚭闂?shù)?</p> <p> </p> 絎笁姝ワ紝<br>鍙堣繘涓姝ユ悳錛屾墠鐭ラ亾Document, Literal, RPC, Encoding瀵筍OAP娑堟伅鐨勫獎(jiǎng)鍝嶏紝<a >榪欑瘒鏂囩珷</a>(<a >涓枃鐨?/a>)鐩稿綋濂?<br>澶т箟鏄疪PC/Encoding灝嗘柟娉曞悕縐版斁鍏ヤ簡(jiǎn)operation鑺備腑錛屽茍涓旀秷鎭噷鍚湁綾誨瀷淇℃伅錛屼笉鏂逛究媯(gè)楠屻?br>鑰孌ocument/Literal閫氳繃澧炲姞WSDL澶嶆潅搴︼紝灝嗘柟娉曞悕銆佸弬鏁扮被鍨嬪叏閮ㄦ斁鍏ヤ簡(jiǎn)types涓鑺傦紝鏂逛究浜?jiǎn)澶勭悊銆?br>鑰孲OAP::Lite鍙敮鎸丷PC/Encoding鐨勬柟寮忥紝浣嗕篃鏈夊姙娉曡瀹冨艦鎴怐oc/Lit鐨勬秷鎭細(xì)<a >鐐硅繖閲?/a>銆?br>浣嗭紝榪欑鏂規(guī)硶鍙敮鎸丣AX-WS鐨勬湇鍔★紝Aegis鐨凱ERL灝變細(xì)鍑洪敊浜?jiǎn)銆?br><br>鎵浠ワ紝涓嶇鐢ㄥ摢縐嶈涔圝AVA鐨凜LIENT鍜孲ERVER閫氫俊鏈夐棶棰橈紝涓嶇劧灝辨槸鎶奝ERL鎷掍箣闂ㄥ銆傛垜鎬鐤戞槸涓嶆槸CXF鐨凧AX-WS鐨勬暟緇勫鐞嗘湁闂錛屼笉鐒禔egis涓轟綍涓嶅嚭閿欙紵鍙﹀錛孉egis瀵筆ERL鐨勬秷鎭笉澶熷瀹癸紝鏈凡鏄疍oc/Lit鏍煎紡錛屽彧鏄甫鏈塗YPE淇℃伅涔熶細(xì)鍑洪敊銆?br>涓嶇煡濡備綍瑙o紝鍏堣鍦ㄦ錛屼互鍚庡洖榪囧ご鏉ュ啀鐮旂┒浜?jiǎn)銆? <img src ="http://www.tkk7.com/alwayscy/aggbug/135074.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2007-08-07 21:39 <a href="http://www.tkk7.com/alwayscy/archive/2007/08/07/135074.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>SOAP::Lite緇勮鍜屽鐞唖truct鍙?qiáng)array鍙傛暟鍙?qiáng)杩斿洖鍊兼椂鐨勮鐐?/title><link>http://www.tkk7.com/alwayscy/archive/2007/08/03/134343.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Fri, 03 Aug 2007 14:37:00 GMT</pubDate><guid>http://www.tkk7.com/alwayscy/archive/2007/08/03/134343.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/134343.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2007/08/03/134343.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/134343.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/134343.html</trackback:ping><description><![CDATA[     鎽樿: SOAP::Lite鐨凩ite鏄鍏跺ソ鐢紝鍏跺疄瀹冪殑瀹炵幇騫朵笉“杞婚噺”錛屽姛鑳戒篃闈炲父寮哄ぇ錛屾墍浠ユ垜浠鐢ㄥソ瀹冦?鍦ㄨ皟鐢ㄦ湇鍔℃椂錛屾湁鏃墮亣鍒版湁澶嶆潅緇撴瀯鎴栬呮暟緇勬椂錛岃繕鏄湁鐐瑰皬楹葷儲(chǔ)錛屼笅闈互璋冪敤浠ヤ笅涓変釜鍑芥暟涓轟緥鍒嗗埆鍐欏嚭SOAP::Lite濡備綍緇勫悎瀹冧滑鐨勫弬鏁幫紝鍏跺畠鎯呭喌涔熷簲璇ヨ兘榪庡垉鑰岃В銆?public class DeviceValue {  &nbs...  <a href='http://www.tkk7.com/alwayscy/archive/2007/08/03/134343.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/alwayscy/aggbug/134343.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2007-08-03 22:37 <a href="http://www.tkk7.com/alwayscy/archive/2007/08/03/134343.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item><item><title>Net::Server::Multiplex緇撴瀯http://www.tkk7.com/alwayscy/archive/2007/05/29/120637.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Tue, 29 May 2007 03:11:00 GMThttp://www.tkk7.com/alwayscy/archive/2007/05/29/120637.htmlhttp://www.tkk7.com/alwayscy/comments/120637.htmlhttp://www.tkk7.com/alwayscy/archive/2007/05/29/120637.html#Feedback0http://www.tkk7.com/alwayscy/comments/commentRss/120637.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/120637.html$self->{net_server}灝辨槸Multiplex錛屼負(fù)浜?jiǎn)鑳藉瀹炵幇澶氭佽皟鐢紙鍦ㄧ埗綾諱腑璋冪敤瀹炵幇瀛愮被鐨勬柟娉曪紝PERL涓嬌鐢⊿UPER瀹炵幇錛夛紝鍙堝畾涔変簡(jiǎn)錛?/p>

Net::Server::Multiplex::MUX

姣忔湁涓涓柊榪炴帴錛屼細(xì)NEW涓涓繖鏍風(fēng)殑瀵硅薄榪涜綆$悊銆?/p>

 

鑰屽皝瑁呯殑IO::Multiplex瀵硅薄鏄瓨鍦細(xì)$self->{net_server}->{mux}涓?/p>

]]>
鍏充簬Perl鐨勫嚑鐐癸細(xì)澶氳娉ㄩ噴錛孯EF鍑芥暟錛岀被鐨勫垵濮嬪寲http://www.tkk7.com/alwayscy/archive/2007/05/24/119736.html鎴戠埍浣?jīng)_▋鎴戠埍浣?jīng)_▋Thu, 24 May 2007 07:31:00 GMThttp://www.tkk7.com/alwayscy/archive/2007/05/24/119736.htmlhttp://www.tkk7.com/alwayscy/comments/119736.htmlhttp://www.tkk7.com/alwayscy/archive/2007/05/24/119736.html#Feedback2http://www.tkk7.com/alwayscy/comments/commentRss/119736.htmlhttp://www.tkk7.com/alwayscy/services/trackbacks/119736.html澶氳娉ㄩ噴錛?br>perl娌℃湁澶氳娉ㄩ噴錛屽彲浠ョ敤涓嬮潰浠f浛錛?br>=pod
浠g爜琛?
.
.
.
浠g爜琛?
=cut


鍏充簬ref鍑芥暟錛?br> ref EXPR
 ref     Returns a non-empty string if EXPR is a reference, the empty
         string otherwise. If EXPR is not specified, $_ will be used. The
         value returned depends on the type of thing the reference is a
         reference to. Builtin types include:

             SCALAR
             ARRAY
             HASH
             CODE
             REF
             GLOB
             LVALUE

         If the referenced object has been blessed into a package, then
         that package name is returned instead. You can think of "ref" as
         a "typeof" operator.



璁茬被鐨勬钀斤紝姣旇緝鏄庝簡(jiǎn)錛?br>Object Construction
All objects are references, but not all references are objects. A reference won't work as an object unless its referent is specially marked to tell Perl what package it belongs to. The act of marking a referent with a package name--and therefore, its class, since a class is just a package--is known as blessing. You can think of the blessing as turning a reference into an object, although it's more accurate to say that it turns the reference into an object reference.

The bless function takes either one or two arguments. The first argument is a reference and the second is the package to bless the referent into. If the second argument is omitted, the current package is used.

$obj = { };                 # Get reference to anonymous hash.
bless($obj);                # Bless hash into current package.
bless($obj, "Critter");     # Bless hash into class Critter.
Here we've used a reference to an anonymous hash, which is what people usually use as the data structure for their objects. Hashes are extremely flexible, after all. But allow us to emphasize that you can bless a reference to anything you can make a reference to in Perl, including scalars, arrays, subroutines, and typeglobs. You can even bless a reference to a package's symbol table hash if you can think of a good reason to. (Or even if you can't.) Object orientation in Perl is completely orthogonal to data structure.

Once the referent has been blessed, calling the built-in ref function on its reference returns the name of the blessed class instead of the built-in type, such as HASH. If you want the built-in type, use the reftype function from the attributes module. See use attributes in Chapter 31, "Pragmatic Modules".

And that's how to make an object. Just take a reference to something, give it a class by blessing it into a package, and you're done. That's all there is to it if you're designing a minimal class. If you're using a class, there's even less to it, because the author of a class will have hidden the bless inside a method called a constructor, which creates and returns instances of the class. Because bless returns its first argument, a typical constructor can be as simple as this:

package Critter;
sub spawn { bless {}; }
Or, spelled out slightly more explicitly:
package Critter;
sub spawn {
    my     $self = {};       # Reference to an empty anonymous hash
    bless  $self, "Critter"; # Make that hash a Critter object
    return $self;            # Return the freshly generated Critter
}
With that definition in hand, here's how one might create a Critter object:
$pet = Critter->spawn;

12.4.1. Inheritable Constructors
Like all methods, a constructor is just a subroutine, but we don't call it as a subroutine. We always invoke it as a method--a class method, in this particular case, because the invocant is a package name. Method invocations differ from regular subroutine calls in two ways. First, they get the extra argument we discussed earlier. Second, they obey inheritance, allowing one class to use another's methods.

We'll describe the underlying mechanics of inheritance more rigorously in the next section, but for now, some simple examples of its effects should help you design your constructors. For instance, suppose we have a Spider class that inherits methods from the Critter class. In particular, suppose the Spider class doesn't have its own spawn method. The following correspondences apply:

Method Call Resulting Subroutine Call
Critter->spawn() Critter::spawn("Critter")
Spider->spawn() Critter::spawn("Spider")

The subroutine called is the same in both cases, but the argument differs. Note that our spawn constructor above completely ignored its argument, which means our Spider object was incorrectly blessed into class Critter. A better constructor would provide the package name (passed in as the first argument) to bless:

sub spawn {
    my $class =  shift;       # Store the package name
    my $self  =  { };
    bless($self, $class);     # Bless the reference into that package
    return $self;
}
Now you could use the same subroutine for both these cases:
$vermin = Critter->spawn;
$shelob = Spider->spawn;
And each object would be of the proper class. This even works indirectly, as in:
$type  = "Spider";
$shelob = $type->spawn;         # same as "Spider"->spawn
That's still a class method, not an instance method, because its invocant holds a string and not a reference.

If $type were an object instead of a class name, the previous constructor definition wouldn't have worked, because bless needs a class name. But for many classes, it makes sense to use an existing object as the template from which to create another. In these cases, you can design your constructors so that they work with either objects or class names:

sub spawn {
    my $invocant = shift;
    my $class    = ref($invocant) || $invocant;  # Object or class name
    my $self     = { };
    bless($self, $class);
    return $self;
}

12.4.2. Initializers
Most objects maintain internal information that is indirectly manipulated by the object's methods. All our constructors so far have created empty hashes, but there's no reason to leave them empty. For instance, we could have the constructor accept extra arguments to store into the hash as key/value pairs. The OO literature often refers to such data as properties, attributes, accessors, member data, instance data, or instance variables. The section "Instance Variables" later in this chapter discusses attributes in more detail.

Imagine a Horse class with instance attributes like "name" and "color":

$steed = Horse->new(name => "Shadowfax", color => "white");
If the object is implemented as a hash reference, the key/value pairs can be interpolated directly into the hash once the invocant is removed from the argument list:
sub new {
    my $invocant = shift;
    my $class = ref($invocant) || $invocant;
    my $self = { @_ };          # Remaining args become attributes
    bless($self, $class);       # Bestow objecthood
    return $self;
}
This time we used a method named new for the class's constructor, which just might lull C++ programmers into thinking they know what's going on. But Perl doesn't consider "new" to be anything special; you may name your constructors whatever you like. Any method that happens to create and return an object is a de facto constructor. In general, we recommend that you name your constructors whatever makes sense in the context of the problem you're solving. For example, constructors in the Tk module are named after the widgets they create. In the DBI module, a constructor named connect returns a database handle object, and another constructor named prepare is invoked as an instance method and returns a statement handle object. But if there is no suitable context-specific constructor name, new is perhaps not a terrible choice. Then again, maybe it's not such a bad thing to pick a random name to force people to read the interface contract (meaning the class documentation) before they use its constructors.

Elaborating further, you can set up your constructor with default key/value pairs, which the user could later override by supplying them as arguments:

sub new {
    my $invocant = shift;
    my $class   = ref($invocant) || $invocant;
    my $self = {
        color  => "bay",
        legs   => 4,
        owner  => undef,
        @_,                 # Override previous attributes
    };
    return bless $self, $class;
}

$ed       = Horse->new;                    # A 4-legged bay horse
$stallion = Horse->new(color => "black");  # A 4-legged black horse
This Horse constructor ignores its invocant's existing attributes when used as an instance method. You could create a second constructor designed to be called as an instance method, and if designed properly, you could use the values from the invoking object as defaults for the new one:
$steed  = Horse->new(color => "dun");
$foal   = $steed->clone(owner => "EquuGen Guild, Ltd.");

sub clone {
    my $model = shift;
    my $self  = $model->new(%$model, @_);
    return $self;     # Previously blessed by ->new
}



]]>
瀹夎perl鐨刵et_ssleay鐨凱PM鍖?/title><link>http://www.tkk7.com/alwayscy/archive/2006/11/26/83576.html</link><dc:creator>鎴戠埍浣?jīng)_▋</dc:creator><author>鎴戠埍浣?jīng)_▋</author><pubDate>Sun, 26 Nov 2006 03:35:00 GMT</pubDate><guid>http://www.tkk7.com/alwayscy/archive/2006/11/26/83576.html</guid><wfw:comment>http://www.tkk7.com/alwayscy/comments/83576.html</wfw:comment><comments>http://www.tkk7.com/alwayscy/archive/2006/11/26/83576.html#Feedback</comments><slash:comments>0</slash:comments><wfw:commentRss>http://www.tkk7.com/alwayscy/comments/commentRss/83576.html</wfw:commentRss><trackback:ping>http://www.tkk7.com/alwayscy/services/trackbacks/83576.html</trackback:ping><description><![CDATA[     鎽樿: 鏇存柊浜?008騫?鏈?鏃ワ細(xì) <br>鏈榪戯紝鍙堝啀嬈¤瘯鍥捐嚜宸卞畨瑁匫PENSSL錛婼SLeay錛岀敤浜?jiǎn)SSLeay閲孯EADME.WIN32璇寸殑鏂規(guī)硶  <a href='http://www.tkk7.com/alwayscy/archive/2006/11/26/83576.html'>闃呰鍏ㄦ枃</a><img src ="http://www.tkk7.com/alwayscy/aggbug/83576.html" width = "1" height = "1" /><br><br><div align=right><a style="text-decoration:none;" href="http://www.tkk7.com/alwayscy/" target="_blank">鎴戠埍浣?jīng)_▋</a> 2006-11-26 11:35 <a href="http://www.tkk7.com/alwayscy/archive/2006/11/26/83576.html#Feedback" target="_blank" style="text-decoration:none;">鍙戣〃璇勮</a></div>]]></description></item></channel></rss> <footer> <div class="friendship-link"> <p>感谢您访问我们的网站,您可能还对以下资源感兴趣:</p> <a href="http://www.tkk7.com/" title="亚洲av成人片在线观看">亚洲av成人片在线观看</a> <div class="friend-links"> </div> </div> </footer> 主站蜘蛛池模板: <a href="http://www-006688.com" target="_blank">久久久久国色av免费看</a>| <a href="http://mangshigas.com" target="_blank">最新精品亚洲成a人在线观看</a>| <a href="http://33eaa.com" target="_blank">成人国产mv免费视频</a>| <a href="http://qmoread.com" target="_blank">又粗又硬又黄又爽的免费视频</a>| <a href="http://chuoche.com" target="_blank">亚洲国产专区一区</a>| <a href="http://dsdkg.com" target="_blank">人人狠狠综合久久亚洲婷婷</a>| <a href="http://yulongfilm.com" target="_blank">久久精品国产亚洲AV嫖农村妇女</a>| <a href="http://www-777768.com" target="_blank">亚洲中文字幕人成乱码</a>| <a href="http://bjsymsdwl.com" target="_blank">亚洲AV永久无码精品放毛片 </a>| <a href="http://qmoread.com" target="_blank">a级亚洲片精品久久久久久久</a>| <a href="http://xieehuomh.com" target="_blank">亚洲精品夜夜夜妓女网</a>| <a href="http://123994.com" target="_blank">亚洲精彩视频在线观看</a>| <a href="http://gengyufood.com" target="_blank">亚洲欧美日韩中文无线码</a>| <a href="http://by6215.com" target="_blank">国产精品内射视频免费</a>| <a href="http://www24ckck.com" target="_blank">97国产在线公开免费观看</a>| <a href="http://newbuybay.com" target="_blank">国内精品免费视频自在线</a>| <a href="http://86trader.com" target="_blank">国产成人亚洲综合无码</a>| <a href="http://wwwfafa98.com" target="_blank">久久精品a亚洲国产v高清不卡</a>| <a href="http://516kd.com" target="_blank">亚洲精品伦理熟女国产一区二区 </a>| <a href="http://jyd56.com" target="_blank">亚洲人成网国产最新在线</a>| <a href="http://sjzbosite.com" target="_blank">特黄特色大片免费</a>| <a href="http://vo168.com" target="_blank">日韩免费无码一区二区三区</a>| <a href="http://992fanli.com" target="_blank">成人免费视频小说</a>| <a href="http://kaixininvestment.com" target="_blank">青青草原亚洲视频</a>| <a href="http://hs969.com" target="_blank">亚洲国产熟亚洲女视频</a>| <a href="http://wwwkk2347.com" target="_blank">国产成人无码免费网站</a>| <a href="http://jack-fx.com" target="_blank">日本视频一区在线观看免费</a>| <a href="http://www22432.com" target="_blank">免费在线观看一级毛片</a>| <a href="http://6777s.com" target="_blank">亚洲第一页在线播放</a>| <a href="http://3333kkkk.com" target="_blank">无人视频免费观看免费视频</a>| <a href="http://zjhmpaper.com" target="_blank">免费无码又爽又刺激高潮视频</a>| <a href="http://cqtchtwq.com" target="_blank">处破痛哭A√18成年片免费</a>| <a href="http://863409.com" target="_blank">亚洲人成色777777在线观看</a>| <a href="http://4794d.com" target="_blank">在线a亚洲老鸭窝天堂av高清</a>| <a href="http://cdessc.com" target="_blank">大妹子影视剧在线观看全集免费</a>| <a href="http://jufandev.com" target="_blank">中文字幕影片免费在线观看</a>| <a href="http://cdkunyu.com" target="_blank">亚洲日产韩国一二三四区</a>| <a href="http://zzzttt669.com" target="_blank">亚洲熟妇AV一区二区三区宅男</a>| <a href="http://xmm5pkt.com" target="_blank">成人性生交大片免费看好</a>| <a href="http://gzltchem.com" target="_blank">啦啦啦手机完整免费高清观看</a>| <a href="http://jcmy5188.com" target="_blank">亚洲AV无码专区在线播放中文</a>| <script> (function(){ var bp = document.createElement('script'); var curProtocol = window.location.protocol.split(':')[0]; if (curProtocol === 'https') { bp.src = 'https://zz.bdstatic.com/linksubmit/push.js'; } else { bp.src = 'http://push.zhanzhang.baidu.com/push.js'; } var s = document.getElementsByTagName("script")[0]; s.parentNode.insertBefore(bp, s); })(); </script> </body>