惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V2EX - 技术
V2EX - 技术
T
Troy Hunt's Blog
The Last Watchdog
The Last Watchdog
www.infosecurity-magazine.com
www.infosecurity-magazine.com
S
Secure Thoughts
Hacker News - Newest:
Hacker News - Newest: "LLM"
WordPress大学
WordPress大学
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
博客园 - 司徒正美
TaoSecurity Blog
TaoSecurity Blog
博客园 - Franky
有赞技术团队
有赞技术团队
Google Online Security Blog
Google Online Security Blog
罗磊的独立博客
L
LINUX DO - 最新话题
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
NISL@THU
NISL@THU
小众软件
小众软件
OSCHINA 社区最新新闻
OSCHINA 社区最新新闻
Recent Commits to openclaw:main
Recent Commits to openclaw:main
K
Kaspersky official blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
W
WeLiveSecurity
SecWiki News
SecWiki News
Google DeepMind News
Google DeepMind News
O
OpenAI News
V
V2EX
AI
AI
博客园_首页
Apple Machine Learning Research
Apple Machine Learning Research
大猫的无限游戏
大猫的无限游戏
美团技术团队
C
Cyber Attacks, Cyber Crime and Cyber Security
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
Security Archives - TechRepublic
Security Archives - TechRepublic
博客园 - 三生石上(FineUI控件)
G
GRAHAM CLULEY
月光博客
月光博客
T
Threatpost
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
V
Vulnerabilities – Threatpost
Last Week in AI
Last Week in AI
爱范儿
爱范儿
C
CXSECURITY Database RSS Feed - CXSecurity.com
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
Cloudbric
Cloudbric
酷 壳 – CoolShell
酷 壳 – CoolShell
The Hacker News
The Hacker News
N
News | PayPal Newsroom
Know Your Adversary
Know Your Adversary

博客园 - 世界流浪者

R400 安装XP后 ati2dvag蓝屏解决办法 Axis2 Fault: Transport out has not been set 深入理解Java多态性 - 世界流浪者 - 博客园 java面试题总结 诺基亚E63常见设置指南 Informix Dynamic Server维护手册 log4j完全配置 让Netbeans 6.5 支持 Jboss 5.0 GA // Registering JBoss 5.0 in NetBeans 6.5 CVS详细配置过程 wsdl LVM系统学习过程 --实践操作 LVM 學習筆記 --转载 WSDL2Java操作指南 TAR 的使用 VI中的替换命令和shell中的正则表达式 Oracle 分析函数(转载) Oracle分析函数RANK(),ROW_NUMBER(),LAG()等的使用方法(转载) 安装Linux是出现 Uncompressing Linux Kernel .. ok 问题处理 JDBC
Axis 简单说明
世界流浪者 · 2008-05-25 · via 博客园 - 世界流浪者

1,axis本身可以servlet的形式集成到任何支持servlet的Web容器(web.xml)

- <servlet>

  <display-name>Apache-Axis Servlet</display-name>

  <servlet-name>AxisServlet</servlet-name>

  <servlet-class>org.apache.axis.transport.http.AxisServlet</servlet-class>

  </servlet>

2,当然需要让Web容器找到org.apache.axis.transport.http.AxisServlet

将axis所需库和资源配置到classpath里面
或者将axis的lib目录拷贝到WEB-INFO下

3,然后让axis接管WebService的url(web.xml)

- <servlet-mapping>

  <servlet-name>AxisServlet</servlet-name>

  <url-pattern>*.jws</url-pattern>

  </servlet-mapping>

- <servlet-mapping>

  <servlet-name>AxisServlet</servlet-name>

  <url-pattern>/services/*</url-pattern>

  </servlet-mapping>

4,剩下的只需要告诉axis每个WebService对应着哪个Java类即可(server-config.wsdd(与web.xml同目录))

- <service name="OrganizationWebService" type="" provider="java:RPC" style="rpc" use="encoded">

  <parameter name="scope" value="Request" />

  <parameter name="className" value="nucleus.organization.webservice.OrganizationWebService" />

  <parameter name="allowedMethods" value="isValid, personOfID, personsOfRole, queryCategories, queryPersons" />

  <namespace>http://webservice.organization.nucleus</namespace>

  <typeMapping encodingStyle="http://schemas.xmlsoap.org/soap/encoding/" qname="ns1:CategoryInfo" languageSpecificType="java:nucleus.organization.webservice.CategoryInfo" serializer="org.apache.axis.encoding.ser.BeanSerializerFactory" deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory" name="CategoryInfo" xmlns:ns1="http://webservice.organization.nucleus" />

  </service>