<html>
<head>
<style>
P
{
margin:0px;
padding:0px
}
body
{
FONT-SIZE: 10pt;
FONT-FAMILY:Tahoma
}
</style>
</head>
<body><BR>$B$?$+$N$jMM(B<BR>
&nbsp;<BR>
koichi$B$G$9!#$*@$OC$K$J$j$^$9!#(B<BR>
$B!JA02s$NJV?.$,JL%9%l%C%I$K$J$C$F$7$^$$?=$7Lu$4$6$$$^$;$s!#(B<BR>
$B$H=q$-$D$D!"$3$N%a!<%k$,$I$&$J$k$+IT0B$J$N$G$9$,!&!&!&!K(B<BR>
&nbsp;<BR>
&nbsp;<BR>
&gt;&gt;&gt; $B6&DL$N=hM}$r7Q>5$5$;$?JL!9$N%5!<%S%9$r!"%/%i%$%"%s%H$+$i8F$SJ,$1$?$$$?$a(B<BR>
&gt;&gt;&gt; baseURL$BAjEvItJ,$rF0E*$KCV$-49$($?$$$H;W$C$F$$$^$9!#(B<BR>
<BR>&gt;&gt;<I> $B8=>u$N5!G=$G$O!"%/%i%$%"%s%H$N=hM}$G!"(B&gt; $BF0E*$K(BURL$B$r@_Dj$9$k$3$H$O$G$-$J$$$N$G$9$,!"(B</I><BR>
&nbsp;<BR>
&gt;$B$b$7$+$9$k$HJ}K!$,$"$k$+$b$H;W$C$F$$$?$N$G$9$,!&!&!&(B<BR>
&gt;$B$G$b!"5$;}$A$h$/<!$N9TF0$K0\$l$^$9!0!0(B;<BR>
&nbsp;<BR>
$B$H=q$$$?$N$G$9$,!"(B<BR>
dicon$B%U%!%$%k$r;HMQ$7$J$$$G%"%9%Z%/%H$rAH$_9~$`J}K!$H$$$&%3%i%`$rFI$s$@$N$G(B<BR>
$B0J2<$r;n$7$F$_$^$7$?!#(B<BR>
&nbsp;<BR>
------------------------------------------------------<BR>
$B!Z(Bs2axis2-client.dicon$B![(B $B!!(B0.3.0$B$K$7$^$7$?!0!0(B<BR>
&lt;components&gt;<BR>
&nbsp;&nbsp;&nbsp; &lt;component class="org.apache.axis2.description.AxisService" autoBinding="none"/&gt;<BR>
&nbsp;&nbsp;&nbsp; <BR>
&nbsp;&nbsp;&nbsp; &lt;component name="ioRemoting" instance="prototype" class="hoge.org.seasar.remoting.common.interceptor.HogeRemotingInterceptor"&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;initMethod name="setConnector"&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;arg&gt;connector&lt;/arg&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;/initMethod&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/component&gt;<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;component name="connector" instance="prototype"&nbsp; class="org.seasar.remoting.axis2.connector.AxisInOutConnector"&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&lt;property name="baseURL"&gt;new java.net.URL("http://interimURL/")&lt;/property&gt;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;&lt;/component&gt;<BR>
&lt;/components&gt;<BR>
&nbsp;<BR>
$B!Z%/%i%$%"%s%H$G%5!<%S%9$N%3%s%]!<%M%s%H$r<hF@$9$k=hM}![(B<BR>
&nbsp;<BR>
&nbsp;* @param iface $B%$%s%?!<%U%'%$%9%/%i%9(B<BR>
&nbsp;* @param baseURL $B%5!<%S%9$N%Y!<%9(BURL<BR>
&nbsp;<BR>
&nbsp;protected Object getComponent(Class iface, String baseURL) throws MalformedURLException {&nbsp;&nbsp;<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;HogeRemotingInterceptor interceptor = (HogeRemotingInterceptor)container.getComponent("ioRemoting");<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;interceptor.setConnectBaseURL(new URL(baseURL));&nbsp;&nbsp;$B"+(Bconnector$B$N(BbaseURL$B$rJQ99$9$k%a%=%C%I(B<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;interceptor.setRemoteName(iface.getSimpleName());<BR>
&nbsp;<BR>
&nbsp;&nbsp;&nbsp;&nbsp;// $B<jF0$G%"%9%Z%/%H$rAH$_9~$`(B<BR>
&nbsp;&nbsp;&nbsp;&nbsp;Aspect aspect = new AspectImpl(interceptor, new PointcutImpl(iface));<BR>
&nbsp;&nbsp;&nbsp;&nbsp;AopProxy aopProxy = new AopProxy(iface, new Aspect[]{aspect});<BR>
&nbsp;&nbsp;&nbsp;&nbsp;return aopProxy.create();<BR>
&nbsp;}<BR>
------------------------------------------------------<BR>
&nbsp;<BR>
$B0l1~Kh2s(BbaseURL$B$rJQ99$G$-$k$h$&$J$N$G$9$,!"(B<BR>
s2axis2$B!"(Bs2$BEy$NFbIt=hM}$K$D$$$F$O!"0lIt$r$o$+$C$?$h$&$J5$$K$J$C$F$$$k$@$1$H$$$&>uBV$G$9!#(B<BR>
$B$=$l$G2?$+LdBj$,LdBj$,H/@8$9$k2DG=@-$,$"$l$P;XE&$7$F$$$?$@$1$l$P9,$$$G$9!#(B<BR>
&nbsp;<BR>
$B$h$m$7$/$*4j$$$7$^$9!#(B<BR>
&nbsp;<BR><br /><hr />$B?M5$%?%l%s%H$dGPM%!"%"!<%F%#%9%H$J$ICxL>?M$N!V(BLive.jp$B!W$r0l5s8x3+!*(B <a href='http://clk.atdmt.com/GBL/go/msnjpjhm0110000005gbl/direct/01/' target='_new'>My Live Story $B!V?M$N?t$@$1(B Story $B$,$"$k!#!W(B</a></body>
</html>