web.xml配置:
|
server-config.wsdd配置
第一种配置:
|
我们为了配置axis和spring集成,在applicationContext.xml中必须声明这样的一个Bean
.....
<bean id="axissetup"
class="com.skysuite.axis.spring.SpringAxisSetup">
</bean>
第二种配置:
|
Spring中的Math Bean的生成
<!-- 声明Math的Bean,这样我们上面定义的springBean相一致-->
<bean id="math"
class="samples.math.Math">
</bean>
.......
这样我们就可以访问到Math Service了。
博客主要介绍了Axis和Spring集成的配置,包括web.xml、server - config.wsdd的配置,在applicationContext.xml中声明特定Bean。还阐述了Spring中Math Bean的生成配置,完成配置后可访问Math Service。
534

被折叠的 条评论
为什么被折叠?



