
webservice
iteye_15928
这个作者很懒,什么都没留下…
展开
-
hessian或Burlap远程调用客户端
[?xml version="1.0" encoding="UTF-8"?][!DOCTYPE beans PUBLIC "-//SPRING//DTD BEAN//EN" "http://www.springframework.org/dtd/spring-beans.dtd"][beans][!--我们在外部使用的话,要不直接把id为"remoteService"的bean注入,通过它调...2007-01-27 09:43:34 · 126 阅读 · 0 评论 -
hessian或Burlap远程调用服务器端
因为我用spring管理bean,所以要先在web.xml配置相关信息[!-- spring listener --][listener] [listener-class]org.springframework.web.context.ContextLoaderListener[/listener-class][/listener] [!-- server: RemoteServ...2007-01-27 10:06:12 · 234 阅读 · 0 评论 -
远程调试tomcat
远程调试:1,先共享远程机器上的tomcat,并设置为所有权限,不然会出现:java.lang.IllegalStateException: Cannot create a session after the response has been committed或者找不到文件等问题;2,把本地机器上的tomcat路径设置为远程的路径.直接输入\\远程的ip\tomcat-5.5.12或先把地...2007-03-30 10:18:46 · 97 阅读 · 0 评论 -
远程调用通过不了代理,求教
我们采用hessian作远程处理,如果客户端直接采用路由器上网,则没什么影响,能连上服务端,但是如果通过代理,比如我们公司内部采用的是squid代理,则连不上服务端,不知道为什么以前是点击同步时出现如下错误(启动客户端时并不抛出):1,org.springframework.remoting.RemoteAccessException: Cannot access Hessian servic...2007-05-12 10:40:16 · 230 阅读 · 0 评论 -
HessianServiceExporter only supports POST requests异常
服务端配置:web.xml配置:xml 代码 <servlet> <servlet-name>remote</servlet-name> <servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-...2007-05-12 13:27:51 · 639 阅读 · 0 评论 -
项目中hessian的问题及解决,希望对大家有帮助
1,org.springframework.remoting.RemoteAccessException: Cannot access Hessian service at [http://61.152.162.173/remote/remoteService]; 出现这个异常一般是因为服务端操作出现异常引起的2,com.caucho.hessian.io.HessianProtocolExc...2007-06-08 14:08:30 · 621 阅读 · 0 评论 -
将文件流组装到hessianOutPut里,远程上传文件使用
将文件流组装到hessianOutPut里,远程上传文件使用 private static void uploadNIO(File file, HessianOutput out) throws IOException { out.writeByteBufferStart(); System.o...2007-06-20 16:56:27 · 241 阅读 · 0 评论