axis2 411】的更多相关文章

返回411加个这个就行了 _operationClient.getOptions().setProperty(HTTPConstants.CHUNKED, false); 本文转自 cd1989929 51CTO博客,原文链接:http://blog.51cto.com/chend/1367926…
错误:org.apache.axis2.AxisFault: Transport error: 411 Error: Length Required 可能会导致这个问题的原因: 1.访问地址经过端口映射 2.http协议版本不同造成的,在HTTP1.0中,服务器就会省略response头中的Content-Length而持续写数据出去,当服务器挂了的话,它简单地断开连接.而经典的HTTP客户端会一直读数据直到碰到-1(传输结束的标识符).为了处理这个问题,HTTP1.1中增加了一个特殊的head…
axis2和struts在整合过程中,struts会把axis的地址也拦截了,默认当成一个action处理, 会因为找不到action而报错: <!-- struts配置 --> <filter> <filter-name>struts2</filter-name> <filter-class>org.apache.struts2.dispatcher.ng.filter.StrutsPrepareAndExecuteFilter</fil…
转载自:http://www.cnblogs.com/linjiqin/archive/2011/07/05/2098316.html 1.新建一个web project项目,最终工程目录如下: 注意:本文只注重webservice服务器端的开发,因此com.ljq.client和com.ljq.test忽略不计 2.添加所需jar 精简包 3.接口HelloWorld package com.ljq.service; public interface HelloWorld { public S…
配置eclipse相关插件并启动axis2: http://blog.csdn.net/pilihaotian/article/details/52513697 这里你可能会遇到使用eclipse 启动tomcat后,访问locallhost:8080无响应,但是关闭eclipse,手动执行startup. bat可以访问的情况,解决办法如下: http://blog.csdn.net/k1968315915/article/details/48829251…
maven配置:主要引用包及plugins <properties> <axis2.version>1.6.1</axis2.version> </properties> <dependencies> <dependency> <groupId>org.apache.axis2</groupId> <artifactId>axis2-kernel</artifactId> <ver…
一.环境 eclipse + jdk 6.0 + win7 64位 +tomcat7.0 二.创建服务端程序 1.新建web项目,webserviceTest 2.下载axis2,将lib目录下的jar包复制到web项目lib目录下 3.创建服务端程序HelloWorld.java package com.bwy.ws; public class HelloWorld { public String sayHello(String name) { String sayResult = "Hell…
使用git提交比较大的文件的时候可能会出现这个错误 error: RPC failed; result=22, HTTP code = 411 fatal: The remote end hung up unexpectedly fatal: The remote end hung up unexpectedly Everything up-to-date 这样的话首先改一下git的传输字节限制 右键点击选择Git Bash输入:git config http.postBuffer  52428…
Webservice: 1.Xml: 2.WSDL: Web service描述语言(WSDL)就是这样一个基于XML(标准通用标记语言下的一个子集)的语言,用于描述Web service及其函数.参数和返回值.WSDL既是机器可阅读的,又是人可阅读的,这将是一个很大的好处. 3.soap simple object access protoacl (简单对象访问协议) : 限定了xml的格式 soap 在http(因为有请求体,所以必须是post请求)的基础上传输xml数据 请求和响应的xml…
Using the SOAP Monitor SOAPMonitor使用 使用SOAPMonitor axis2开发笔记-消息监控 WebService大讲堂之Axis2(10):使用soapmonitor模块监视soap请求与响应消息 PS: 0.最优参考文档:官方文档. Axis2默认不开启SoapMonitor,直接在浏览器输入http://localhost:8080/axis2/SOAPMonitor报 1.关于文章中提到的解压 soapmonitor-1.4.1.jar 参考:Fin…