![](https://img-blog.csdnimg.cn/20201014180756916.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
Web Service
文章平均质量分 70
C_sdn_000000
这个作者很懒,什么都没留下…
展开
-
解决: counts of IllegalAnnotationExceptions and JAXB can't handle interfaces.
、Caused by: com.sun.xml.bind.v2.runtime.IllegalAnnotationsException: 2 counts of IllegalAnnotationExceptions java.util.Map is an interface, and JAXB can't handle interfaces. this problem is re...原创 2011-10-25 13:02:26 · 1367 阅读 · 0 评论 -
使用XFire+Spring+Struts构建Web Service及测试
FROM: http://shade8109.blog.163.com/blog/static/130110604200911294257292/?fromdm&fromSearch&isFromSearchEngine=yes1. 开发环境: JDK 1.5, Tomcat 5.5.25, MyEclipse 6.0 其实也没什么特别之处.2...原创 2011-11-30 13:04:48 · 154 阅读 · 0 评论 -
Apache Axis配置文件WSDD详解
FROM: http://apps.hi.baidu.com/share/detail/49260024 Aapche Axis的Web Service Deployment Descriptor(WSDD)文件参考文档。本部分介绍的所有的WSDD元素的名称空间都是"http://xml.apache.org/axis/wsdd/"。<deploy...原创 2011-11-30 12:37:17 · 557 阅读 · 0 评论 -
(Axis 入门) 超简单webservice实例
From: http://user.qzone.qq.com/339751607 1> 获取axis及关联的jar包http://dl.iteye.com/topics/download/6a76de1e-d506-35bc-a41b-508d4be04025 2> 新建一个模拟服务java类package server; pu...原创 2011-11-30 11:21:38 · 146 阅读 · 0 评论 -
解决(CXF):The security token could not be authenticated or authorized
1,使用cxf回调函数,服务端setPassword和客户端不同时,抛出下列异常org.apache.cxf.binding.soap.SoapFault: The security token could not be authenticated or authorized at org.apache.cxf.ws.security.wss4j.WSS4JInInterceptor...2012-01-16 09:50:39 · 2549 阅读 · 1 评论 -
CXF 入门:创建一个基于WS-Security标准的安全验证(CXF回调函数使用,)
注意:以下客户端调用代码中获取服务端ws实例,都是通过CXF 入门: 远程接口调用方式实现 直入正题!以下是服务端配置========================================================一,web.xml配置,具体不在详述<?xml version="1.0" encoding="UTF-8"?><!DOCT...2012-01-15 00:37:30 · 279 阅读 · 0 评论 -
CXF 入门:创建一个基于SOAPHeader的安全验证(CXF拦截器使用)
CXF 入门:HelloWorld接口发布CXF 入门: 远程接口调用 下面具体的webservice实现类直接用的是上面的,这里不再说明 CXF拦截器使用,创建一个使用SOAPHeader的安全验证xml格式:<soap:Header> <auth:authentication xmlns:auth="http://gd.chinamobi...2012-01-12 18:23:56 · 334 阅读 · 0 评论 -
解决(CXF):SOAPFaultException: Fault occurred while processing
javax.xml.ws.soap.SOAPFaultException: Fault occurred while processing. at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156) at $Proxy25.syncAlarmsList(Unknown Source) a...2012-01-04 17:23:49 · 2280 阅读 · 1 评论 -
CXF 入门: 远程接口调用
本篇是接着:CXF 入门之接口发布写的,建议先看上篇 使用myeclipse导入远程接口( myeclipse9.0),其他的版本因该也没什么问题 一,导入方式 1,先在已有的项目中新建一个包,(用来专门存放远程接口相关代码) 右键=》New=》Others=》Web Services 选择web service client 下一步 ...2012-01-02 17:15:12 · 146 阅读 · 0 评论 -
CXF 入门:HelloWorld接口发布
第一步:在myeclipse中新建一个web项目名为myWs,并导入依赖的jar包(cxf,spring,apache-commons相关) 1、commons-logging-1.1.1.jar2、cxf-2.4.1.jar3、geronimo-activation_1.1_spec-1.1.jar4、geronimo-annotation_1.0_spec-1.1.1.ja...2012-01-02 16:31:02 · 134 阅读 · 0 评论 -
解决:nor any of its super class is known to this context.
可以参考http://blog.csdn.net/chen_yu_ting/article/details/6606494或者 http://learning.iteye.com/admin/blogs/1216342一,遇到此问题是因为我直接把自定义对象放到ArrayList里面,然后返回这个ArrayList出的问题,提示说class com.test.xxx nor any ...原创 2011-10-26 13:38:50 · 2662 阅读 · 0 评论 -
WebService处理复杂对象List Map(jdk api jws)
XFire不用这么做,Apache CXF 只需要指定集合中具体类型,使用jdk中的web service api 才需如此 转载于:http://blog.csdn.net/chen_yu_ting/article/details/6606494 第一步:创建存储复杂对象的类(因为WebServices的复杂对象的传递,一定要借助第三方对象(即自定义对象)来实现)...原创 2011-10-26 13:02:57 · 210 阅读 · 0 评论 -
解决: is not found. Have you run APT to generate them?
WSSERVLET11: failed to parse runtime descriptor: runtime modeler error: Wrapper class com.gdpy.service.impl.jaxws.GetBusinessVO is not found. Have you run APT to generate them? com.sun.xml.ws.model.Ru...原创 2011-10-25 13:15:02 · 313 阅读 · 0 评论 -
WebServices CXF开发常见异常及解决方法
转载于:http://apps.hi.baidu.com/share/detail/45929103======================================================异常1=================================================================2011-7-14 9:55:15 ...原创 2011-10-25 13:08:32 · 267 阅读 · 0 评论 -
解决:java.util.List does not have a no-arg default constructor.
详见:http://learning.iteye.com/admin/blogs/1213655原创 2011-10-25 13:05:48 · 444 阅读 · 0 评论 -
使用XFire+Spring构建Web Service
FROM: http://shuangjianyu.blog.163.com/blog/static/960006762009931102647304/?fromdm&fromSearch&isFromSearchEngine=yesXFire是与Axis 2并列的新一代Web Service框架,通过提供简单的API支持Web Service各项标准协议,帮助你方便快速地...原创 2011-12-01 12:01:18 · 127 阅读 · 0 评论