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://localhost:8080/oa/service/UserDetailsService?wsdl
五月 11, 2015 5:16:50 下午 org.apache.cxf.service.factory.ReflectionServiceFactoryBean initializeWSDLOperations
警告: Could not find a matching method for operation {http://impl.webservice.platform.hotent.com/}testWeb. Operation will be unavailable.
Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: WebService request paramter no head!
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:156)
at com.sun.proxy.$Proxy28.loadCurOrgByUsername(Unknown Source)
at com.tima.test.TestCxf.main(TestCxf.java:57)
Caused by: org.apache.cxf.binding.soap.SoapFault: WebService request paramter no head!
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.unmarshalFault(Soap11FaultInInterceptor.java:75)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:46)
at org.apache.cxf.binding.soap.interceptor.Soap11FaultInInterceptor.handleMessage(Soap11FaultInInterceptor.java:35)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.interceptor.AbstractFaultChainInitiatorObserver.onMessage(AbstractFaultChainInitiatorObserver.java:113)
at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:69)
at org.apache.cxf.binding.soap.interceptor.CheckFaultInterceptor.handleMessage(CheckFaultInterceptor.java:34)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:799)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1627)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1494)
at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1402)
at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)
at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:649)
at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:263)
at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:533)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:463)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:366)
at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)
at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:88)
at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:134)
... 2 more

解决方案

Exception in thread "main" javax.xml.ws.soap.SOAPFaultException: WebService request paramter no head!
根据你这行现实,应该是你的请求参数问题,请仔细核对。

时间: 2024-11-05 16:35:28

wsdl-掉用webservice报错,,大家帮忙看看啊的相关文章

tamcat发布webservice报错(jaxws)

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

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)哪

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

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

json校验格式报错,帮忙看下。

问题描述 json校验格式报错,帮忙看下. { "deplist": [ { bumen: 95, bound_id: "餐饮部", pad_sbound: "甜品类", pad_tab: 1 }, { bumen: 96, bound_id: "餐饮部", pad_sbound: "饮料类", pad_tab: 2 } ] } err info: bumen: 95, ------------------

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

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

javaee hibernate-求助avaee hibernate 项目控制台报错 求帮忙分析下,万分感谢!!

问题描述 求助avaee hibernate 项目控制台报错 求帮忙分析下,万分感谢!! 出现异常时间: [2013年8月9日 15:15:32] org.hibernate.HibernateException: Already disconnectedat com.hiaward.common.util.HibernateUtil.rollbackTransaction(HibernateUtil.java:175) at com.hiaward.common.util.HibernateU

spring和mybatis集成时总报错 麻烦帮忙看下什么原因

问题描述 spring和mybatis集成时总报错 麻烦帮忙看下什么原因 项目请求数据的时候报Request processing failed; nested exception is org.apache.ibatis.binding.BindingException: Invalid bound statement (not found): com.business.dao.system.AdminMapper.selectByPrimaryKey麻烦大神帮忙看下这是啥原因,找了好久不知道

c++-教程上面说说return值是必要的,为什么我注释掉了,没有报错?

问题描述 教程上面说说return值是必要的,为什么我注释掉了,没有报错? 第一个: #include int WINAPI WinMain(HINSTANCE hinstance,HINSTANCE hpreinstance, PSTR szCmdLine, int iCmdShow) { MessageBox(NULL,TEXT("HELLO,C++"),TEXT("TEST"),0); // return 0; 教程上面说return值是必要的,为什么我注释掉