webService报错

问题描述

java.lang.NullPointerExceptionatcom.sun.xml.internal.ws.model.RuntimeModeler.processRpcMethod(RuntimeModeler.java:904)atcom.sun.xml.internal.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:574)atcom.sun.xml.internal.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:351)atcom.sun.xml.internal.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:231)atcom.sun.xml.internal.ws.client.WSServiceDelegate.createSEIPortInfo(WSServiceDelegate.java:672)atcom.sun.xml.internal.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:660)atcom.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:329)atcom.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:312)atcom.sun.xml.internal.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:294)atjavax.xml.ws.Service.getPort(Service.java:119)atcom.zip.service.ZipDataService.getZipDataServicePort(ZipDataService.java:73)atTest.News.main(News.java:27)

解决方案

解决方案二:
看你的atcom.zip.service.ZipDataService.getZipDataServicePort(ZipDataService.java:73)
解决方案三:
@WebEndpoint(name="zipDataServicePort")publicZipDatagetZipDataServicePort(){returnsuper.getPort(newQName("http://service.zip.com","zipDataServicePort"),ZipData.class);}
解决方案四:
我使用的是自定义的实体类,没有用webservice生成的实体类
解决方案五:
getZipDataServicePort()这个方法有问题
解决方案六:
我知道那个方法有问题呀,不知道怎么改

时间: 2024-09-21 17:32:08

webService报错的相关文章

web service-android通过ksoap2连接webservice报错

问题描述 android通过ksoap2连接webservice报错 SoapFault - faultcode: 'Receiver' faultstring: 'Layout does not exist LayoutID = 0' faultactor: 'null' detail: nullat org.ksoap2.serialization.SoapSerializationEnvelope.parseBody(SoapSerializationEnvelope.java:137)哪

android-Android调用webservice报错空指针异常

问题描述 Android调用webservice报错空指针异常 #test2(String name) 输入一个String类型 返回hello+name的Demo

ocket xception-android开发,调用webservice报错,求指导一下,感激不尽

问题描述 android开发,调用webservice报错,求指导一下,感激不尽 java.net.SocketException: sendto failed: ECONNRESET (Connection reset by peer) 解决方案 网络问题,检查下通讯,ip端口等等.

webservice websphere-websphere6.0下发布webservice报错,tomcat下正常

问题描述 websphere6.0下发布webservice报错,tomcat下正常 错误信息如下: Fault - ; nested exception is: WSDLException: faultCode=PARSER_ERROR: Problem parsing '- WSDL Document -'.: can't declare any more prefixes in this context: java.lang.IllegalStateException: can't dec

wsdl-掉用webservice报错,,大家帮忙看看啊

问题描述 掉用webservice报错,,大家帮忙看看啊 五月 11, 2015 5:16:50 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean buildServiceFromWSDL 信息: Creating Service {http://impl.webservice.platform.hotent.com/}UserDetailsServiceImplService from WSDL: http://loc

web service-编译webservice报错.......

问题描述 编译webservice报错....... mssoap30.tli "return": 无法从"__missing_type__ *"转换为"__missing_type_ 解决方案 类型不匹配,对结果取地址再返回 解决方案二: return的类型不对,这个你查一下 解决方案三: webservice 报错 提示超时错误 解决方案四: 我可以确定的是工程依赖问题,就是不知道依赖些啥

java webservice 报错

问题描述 java webservice 报错 Exception in thread "main" javax.xml.ws.WebServiceException: WSDL file:/C:/Workspaces/MyEclipse%208.6/08-SOA/WebRoot/WEB-INF/classes/META-INF/wsdl/user.wsdl has the following services [{http://service.ok.com.cn}UserServic

tamcat发布webservice报错(jaxws)

问题描述 各位大侠们:tamcat发布webservice报错(jaxws),帮帮忙呢!纠结了好几天的严重:Exceptionsendingcontextinitializedeventtolistenerinstanceofclasscom.sun.xml.ws.transport.http.servlet.WSServletContextListenercom.sun.xml.ws.transport.http.servlet.WSServletException:WSSERVLET11:无

php调用webservice报错Class 'SoapClient' not found

原文:php调用webservice报错Class 'SoapClient' not found       php在调用webservice时,报告如下类似错误:            ( ! ) Fatal error: Class 'SoapClient' not found in E:/WebSrv/CI/system/libraries/WebService.php on line 17       解决方法:    打开php.ini,找到php_soap.dll , 把前面的分号去

java调用.net Webservice报错connect reset!

问题描述 服务器A:Unix服务器B:XP(与A.C跨网段)服务器C:Service2003服务器B部署了一套服务器A的测试环境(java),A.B都需要访问C的Web服务(.net),A.B代码相同.问题如下:B访问C的服务一切正常:A访问C的服务报错java.net.SocketExecption:connectionreset.网上找了不少资料了,可是问题依然没有解决!烦请各位高手帮忙分析一下!调用C服务的代码如下:Stringmethod="test";Stringurl=&q