日期:2014-05-17  浏览次数:20783 次

用cxf 调用不到接口的问题,请教大侠!!!
<2013-3-27 下午03时21分18秒 CST> <Warning> <Socket> <BEA-000449> <Closing socket as no data read from it during the configured idle timeout of 5 secs> 
com.sun.xml.ws.model.RuntimeModelerException: runtime modeler error: SEI com.zhhy.idp.ws.unify.client.downcimdeviceclient.QueryService has method queryCimData annotated as BARE but it has more than one parameter bound to body. This is invalid. Please annotate the method with annotation: @SOAPBinding(parameterStyle=SOAPBinding.ParameterStyle.WRAPPED)
at com.sun.xml.ws.model.RuntimeModeler.validateDocBare(RuntimeModeler.java:1216)
at com.sun.xml.ws.model.RuntimeModeler.processDocBareMethod(RuntimeModeler.java:1205)
at com.sun.xml.ws.model.RuntimeModeler.processMethod(RuntimeModeler.java:578)
at com.sun.xml.ws.model.RuntimeModeler.processClass(RuntimeModeler.java:404)
at com.sun.xml.ws.model.RuntimeModeler.buildRuntimeModel(RuntimeModeler.java:260)
at com.sun.xml.ws.client.WSServiceDelegate.buildRuntimeModel(WSServiceDelegate.java:660)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.buildRuntimeModel(WLSProvider.java:407)
at com.sun.xml.ws.client.WSServiceDelegate.addSEI(WSServiceDelegate.java:648)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:330)
at weblogic.wsee.jaxws.spi.WLSProvider$ServiceDelegate.getPort(WLSProvider.java:389)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:313)
at com.sun.xml.ws.client.WSServiceDelegate.getPort(WSServiceDelegate.java:306)
at javax.xml.ws.Service.getPort(Service.java:92)
at com.zhhy.idp.ws.unify.client.downcimdeviceclient.QueryService_Service.getQueryServiceHttpPort(QueryService_Service.java:79)
at com.zhhy.idp.ws.unify.client.downcimdeviceclient.QueryService_QueryServiceHttpPort_Client.queryCimDataInfo(QueryService_QueryServiceHttpPort_Client.java:166)
at com.zhhy.idp.ws.action.DownCimDeviceInfoAction.queryCimDataInfo(DownCimDeviceInfoAction.java:61)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:597)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeAction(DefaultActionInvocation.java:441)
at com.opensymphony.xwork2.DefaultActionInvocation.invokeActionOnly(DefaultActionInvocation.java:280)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:243)
at com.opensymphony.xwork2.interceptor.DefaultWorkflowInterceptor.doIntercept(DefaultWorkflowInterceptor.java:165)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at com.opensymphony.xwork2.validator.ValidationInterceptor.doIntercept(ValidationInterceptor.java:252)
at org.apache.struts2.interceptor.validation.AnnotationValidationInterceptor.doIntercept(AnnotationValidationInterceptor.java:68)
at com.opensymphony.xwork2.interceptor.MethodFilterInterceptor.intercept(MethodFilterInterceptor.java:87)
at com.opensymphony.xwork2.DefaultActionInvocation.invoke(DefaultActionInvocation.java:237)
at com.opensymphony.xwork2.interceptor.ConversionE