`
fackyou200
  • 浏览: 312635 次
  • 性别: Icon_minigender_1
  • 来自: 山西太原
社区版块
存档分类
最新评论

axis2 调用出现 “Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/we”

 
阅读更多

学习使用webservices已有一段时间,其中有许多迷惑和曲折,现将这些知识做个总结,为了便于理解和消除翻译过程中的差异,本文使用中英文陈述。

FAQ  1:  调用webservices时,出现 “Please enable REST support in WEB-INF/conf/axis2.xml and WEB-INF/web.xml” 的提示。
    
            Solution: 打开axis2.xml , 将<parameter name="disableREST" locked="true">true</parameter>改为<parameter name="disableREST" locked="true">false</parameter>, 重新启动servlet engine。

           Why: Axis2 has two different endpoints, one for REST (AxisRESTServlet) one for SOAP message handling (AxisServlet), if you disable the parameter "disableREST", you will got the above warning

分享到:
评论

相关推荐

    Building a JSON web service with Java and Axis2

    4.Add the DynamicResponseHandler module reference to the axis2.xml configuration (located in WEB-INF/conf): &lt;module ref="DynamicResponseHandler"/&gt; 5.Add the JSON Message formatters to the axis2....

    axis2-1.5.1-bin.zip axis2-1.5.1-war.zip axis2部署使用

    2. `conf`目录:存储配置文件,如`axis2.xml`,这是Axis2的核心配置文件。 3. `services`目录:用于存放Web服务的部署文件和服务实现。 4. `lib`目录:包含Axis2运行时所需的库文件。 5. `repository`目录:存储服务...

    springboot集成axis2-1.7.9实例

    此外,还需要配置Axis2的配置文件路径,通常为`WEB-INF/conf/axis2.xml`。 ```java @Configuration @ComponentScan(basePackages = {"your.package.name"}) @EnableWebMvc public class Axis2Config extends ...

    springboot+axis1.4

    2. **集成 Axis1.4**:首先,你需要在Spring Boot的`pom.xml`文件中添加Axis1.4的依赖。这通常意味着你需要手动添加Axis的库,因为Spring Boot默认并不包含对Axis的支持。你需要找到Axis1.4的Maven坐标,并在`...

    将应用部署在weblogic中于axis2冲突的问题及解决方案

    DOCTYPE weblogic-web-app PUBLIC "-//BEA Systems, Inc.//DTD Web Application 8.1//EN" "http://www.bea.com/servers/wls810/dtd/weblogic810-web-jar.dtd"&gt; &lt;weblogic-web-app &gt; &lt;container-descriptor&gt; ...

    axis2-1.6.1-bin.zip

    8. **(axis2_home)/WEB-INF/**: 如果你打算在Servlet容器(如Tomcat)中部署Axis2,这个目录包含Web应用程序的结构,如`web.xml`和`WEB-INF/classes`及`WEB-INF/lib`。 Axis2 1.6.1版本引入了一些重要的特性,例如...

    axis2c-src-1.6.0

    Axis2/C has built in WS-Addressing support. It implements WS-Addressing 1.0 specification completely. It also has built in MTOM/XOP support for handling binary attachments. As a project of the ...

    axis2和已有web项目集成

    - 修改`WebRoot/WEB-INF/web.xml`文件,添加Axis2 Servlet的配置: ```xml &lt;servlet-name&gt;AxisServlet&lt;/servlet-name&gt; &lt;servlet-class&gt; org.apache.axis2.transport.http.AxisServlet &lt;/servlet-class&gt; ...

    axis2-1.7.4-bin、axis2-1.7.4-war

    3. **Web应用的配置**:通常在`WEB-INF/web.xml`文件中,定义了Axis2在Servlet容器中的配置。 4. **Web应用目录结构**:包括`META-INF`、`WEB-INF/classes`和`WEB-INF/lib`,分别存储元数据、编译后的类和必要的库...

    axis2-1.6.1-bin/axis2-1.6.1-war

    AXIS2是Apache软件基金会开发的一个开放源代码的Web服务平台,主要用于构建和部署Web服务。这个压缩包文件包括了两个主要部分:“axis2-1.6.1-bin”和“axis2-1.6.1-war”,它们代表了AXIS2框架的不同组件和用途。 ...

    Axis2-1.6.2

    标题 "Axis2-1.6.2" 指的是Apache Axis2的1.6.2版本,这是一个开源的Web服务引擎,专为构建高效、高性能的SOAP(Simple Object Access Protocol)服务而设计。SOAP是一种基于XML的协议,用于在Web上交换结构化的和...

    Axis2与Was7

    - 在`myproject`项目的`WEB-INF/web.xml`文件中添加以下配置来启用Axis2。 ```xml &lt;servlet-name&gt;axis2&lt;/servlet-name&gt; &lt;servlet-class&gt;org.apache.axis2.deployment.webapp.AxisServlet&lt;/servlet-class&gt; ...

    axis2-eclipse-codegen-plugin-1.6.2.zip和axis2-eclipse-service-plugin-1.6.2.zip

    标题中的"axis2-eclipse-codegen-plugin-1.6.2.zip"和"axis2-eclipse-service-plugin-1.6.2.zip"是两个与Apache Axis2相关的Eclipse插件,用于简化Web服务的开发过程。Apache Axis2是Java平台上一个成熟的Web服务...

    Java+Axis2调用Web Services 网络接口

    Java和Axis2是开发Web服务客户端的重要工具,用于调用基于SOAP协议的Web服务。本文将深入探讨如何利用Java和Axis2库来实现这一功能,同时结合提供的代码示例进行详细解析。 首先,Web服务是一种通过网络进行通信的...

    axis2-1.5.4-bin.zip,官网下载

    2. **axis2-1.5.4/conf**:配置文件的存放地,包括axis2.xml,这是核心配置文件,定义了服务部署、模块加载等信息。 3. **axis2-1.5.4/repo**:仓库目录,存储服务和模块的aar(Axis Archive)文件。你可以在这里...

    axis2客户端调用axis1服务接口

    axis2客户端调用axis1服务接口 调用方式 使用RPC方式调用WebService,为了防止冲突可以增加 // 与weblogic的lib冲突配置 System.setProperty("javax.xml.stream.XMLInputFactory", ...

    完整的axis2 jar包包含实例.zip

    axis2 webservice 服务端jar包: --&gt;axis2-kernel-1.6.1.jar --&gt;axis2-spring-1.6.1.jar --&gt;axis2-transport-http-1.6.1.jar --&gt;XmlSchema-1.4.7.jar --&gt;wsdl4j-1.6.2.jar --&gt;axiom-api-1.2.12.jar --&gt;axiom...

    Axis2_Codegen_Wizard_1.3.0.zip

    当您生产java代码报异常时,请将axis2/web-inf/lib下的backport-util-concurrent-2.2.jar和stax-api-1.0.1.jar(注意版本)放进Axis2_Codegen_Wizard_1.3.0\lib中,并修改plugin.xml文件,具体参照网上(注意版本号...

    axis2-idea-plugin-1.7.9.zip_axis2_axis2-idea-plugin_idea导入axis2_

    标题中的"axis2-idea-plugin-1.7.9.zip_axis2_axis2-idea-plugin_idea导入axis2_"提到了几个关键元素,分别是"axis2"、"idea-plugin"和"idea导入axis2",这暗示了这个压缩包是用于在IntelliJ IDEA这款集成开发环境...

    Axis2完美教程java c#调用.doc

    若要禁用此功能,可以在`安装目录&gt;\webapps\axis2\WEB-INF\conf\axis2.xml`中查找并修改相关配置。 对于C#的调用, Axis2提供了.NET绑定,允许C#应用直接调用Java Web服务。这通常涉及使用WSDL(Web服务描述语言)...

Global site tag (gtag.js) - Google Analytics