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

推荐订阅源

S
Securelist
Engineering at Meta
Engineering at Meta
MongoDB | Blog
MongoDB | Blog
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
A
About on SuperTechFans
S
Security @ Cisco Blogs
L
LangChain Blog
Cloudbric
Cloudbric
B
Blog
Google Online Security Blog
Google Online Security Blog
I
InfoQ
cs.CV updates on arXiv.org
cs.CV updates on arXiv.org
GbyAI
GbyAI
WordPress大学
WordPress大学
月光博客
月光博客
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
小众软件
小众软件
Cyberwarzone
Cyberwarzone
Martin Fowler
Martin Fowler
AWS News Blog
AWS News Blog
C
Cyber Attacks, Cyber Crime and Cyber Security
PCI Perspectives
PCI Perspectives
T
The Exploit Database - CXSecurity.com
Hugging Face - Blog
Hugging Face - Blog
Microsoft Azure Blog
Microsoft Azure Blog
C
CERT Recently Published Vulnerability Notes
博客园 - 司徒正美
让小产品的独立变现更简单 - ezindie.com
让小产品的独立变现更简单 - ezindie.com
F
Full Disclosure
P
Palo Alto Networks Blog
Hacker News - Newest:
Hacker News - Newest: "LLM"
V2EX - 技术
V2EX - 技术
G
GRAHAM CLULEY
T
Threat Research - Cisco Blogs
P
Privacy International News Feed
S
Schneier on Security
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
Attack and Defense Labs
Attack and Defense Labs
V
Visual Studio Blog
N
News and Events Feed by Topic
C
Cybersecurity and Infrastructure Security Agency CISA
S
Security Affairs
Spread Privacy
Spread Privacy
Vercel News
Vercel News
量子位
Apple Machine Learning Research
Apple Machine Learning Research
Security Latest
Security Latest
T
The Blog of Author Tim Ferriss
IT之家
IT之家
Stack Overflow Blog
Stack Overflow Blog

博客园 - 世界流浪者

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>