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

推荐订阅源

酷 壳 – CoolShell
酷 壳 – CoolShell
H
Hacker News: Front Page
P
Palo Alto Networks Blog
T
ThreatConnect
Apple Machine Learning Research
Apple Machine Learning Research
博客园_首页
T
True Tiger Recordings
P
Privacy & Cybersecurity Law Blog
B
Blog
IT之家
IT之家
Last Week in AI
Last Week in AI
F
Full Disclosure
Hacker News: Ask HN
Hacker News: Ask HN
C
Comments on: Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
Cybersecurity and Infrastructure Security Agency CISA
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
N
News and Events Feed by Topic
NISL@THU
NISL@THU
腾讯CDC
雷峰网
雷峰网
Security Latest
Security Latest
李成银的技术随笔
M
Microsoft Research Blog - Microsoft Research
L
LangChain Blog
L
Lohrmann on Cybersecurity
cs.CL updates on arXiv.org
cs.CL updates on arXiv.org
C
Check Point Blog
Y
Y Combinator Blog
Recent Announcements
Recent Announcements
博客园 - Franky
N
News | PayPal Newsroom
V
V2EX
A
About on SuperTechFans
The Register - Security
The Register - Security
月光博客
月光博客
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
Google Online Security Blog
Google Online Security Blog
MyScale Blog
MyScale Blog
Cisco Talos Blog
Cisco Talos Blog
Vercel News
Vercel News
WordPress大学
WordPress大学
C
Cyber Attacks, Cyber Crime and Cyber Security
The Hacker News
The Hacker News
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
IntelliJ IDEA : IntelliJ IDEA – the Leading IDE for Professional Development in Java and Kotlin | The JetBrains Blog
爱范儿
爱范儿
A
Arctic Wolf
L
LINUX DO - 最新话题
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More

博客园 - 世界流浪者

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>