-
WebService问题:WSI-BP prohibits RPC and Document style operations in same service5
我正在做一个Java与异构系统的通信的测试,总是报下面的错误WSI-BP prohibits RPC and Document style operations in same service
web service方面是新手,不知怎么解决,请大侠们帮忙解决!web 使用Apache CXF,
十一月 29, 2013 6:41:42 下午 org.apache.catalina.core.StandardWrapperValve invoke SEVERE: Servlet.service() for servlet [testServlet] in context with path [/TipTopWSTest] threw exception org.springframework.beans.factory.BeanCreationException: Error creating bean with name 'tiptopWS': FactoryBean threw exception on object creation; nested exception is java.lang.RuntimeExcept ion: WSI-BP prohibits RPC and Document style operations in same service. at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:149) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.getObjectFromFactoryBean(FactoryBeanRegistrySupport.java:102) at org.springframework.beans.factory.support.AbstractBeanFactory.getObjectForBeanInstance(AbstractBeanFactory.java:1429) at org.springframework.beans.factory.support.AbstractBeanFactory.doGetBean(AbstractBeanFactory.java:245) at org.springframework.beans.factory.support.AbstractBeanFactory.getBean(AbstractBeanFactory.java:190) at org.springframework.context.support.AbstractApplicationContext.getBean(AbstractApplicationContext.java:1075) at edu.z.WSTest.TestServlet.getMsg(TestServlet.java:69) at edu.z.WSTest.TestServlet.doGet(TestServlet.java:40) at javax.servlet.http.HttpServlet.service(HttpServlet.java:621) at javax.servlet.http.HttpServlet.service(HttpServlet.java:728) at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:305) at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:210) at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:222) at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:123) at org.apache.catalina.authenticator.AuthenticatorBase.invoke(AuthenticatorBase.java:472) at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:171) at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:99) at org.apache.catalina.valves.AccessLogValve.invoke(AccessLogValve.java:947) at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:118) at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:408) at org.apache.coyote.http11.AbstractHttp11Processor.process(AbstractHttp11Processor.java:1009) at org.apache.coyote.AbstractProtocol$AbstractConnectionHandler.process(AbstractProtocol.java:589) at org.apache.tomcat.util.net.AprEndpoint$SocketProcessor.run(AprEndpoint.java:1852) at java.util.concurrent.ThreadPoolExecutor.runWorker(ThreadPoolExecutor.java:1145) at java.util.concurrent.ThreadPoolExecutor$Worker.run(ThreadPoolExecutor.java:615) at java.lang.Thread.run(Thread.java:722) Caused by: java.lang.RuntimeException: WSI-BP prohibits RPC and Document style operations in same service. at org.apache.cxf.binding.soap.SoapBindingFactory.createBinding(SoapBindingFactory.java:375) at org.apache.cxf.endpoint.EndpointImpl.createBinding(EndpointImpl.java:135) at org.apache.cxf.endpoint.EndpointImpl.<init>(EndpointImpl.java:82) at org.apache.cxf.jaxws.support.JaxWsEndpointImpl.<init>(JaxWsEndpointImpl.java:132) at org.apache.cxf.jaxws.support.JaxWsServiceFactoryBean.createEndpoint(JaxWsServiceFactoryBean.java:238) at org.apache.cxf.frontend.AbstractWSDLBasedEndpointFactory.createEndpoint(AbstractWSDLBasedEndpointFactory.java:172) at org.apache.cxf.frontend.ClientFactoryBean.create(ClientFactoryBean.java:90) at org.apache.cxf.frontend.ClientProxyFactoryBean.create(ClientProxyFactoryBean.java:155) at org.apache.cxf.jaxws.JaxWsProxyFactoryBean.create(JaxWsProxyFactoryBean.java:156) at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.create(JaxWsProxyFactoryBeanDefinitionParser.java:79) at org.apache.cxf.jaxws.spring.JaxWsProxyFactoryBeanDefinitionParser$JAXWSSpringClientProxyFactoryBean.getObject(JaxWsProxyFactoryBeanDefinitionParser.java:83) at org.springframework.beans.factory.support.FactoryBeanRegistrySupport.doGetObjectFromFactoryBean(FactoryBeanRegistrySupport.java:142) ... 25 more
2013年11月29日 18:56
目前还没有答案
相关推荐
文章可能涵盖了创建XML-RPC服务器、定义可调用的方法、创建XML-RPC客户端以及如何进行交互等关键步骤,旨在帮助开发者了解XML-RPC在实际项目中的应用。 【标签】:“源码”、“工具” “源码”标签表明这篇文章会...
WebService::Simple - Web 服务 API 的简单接口 概要 use WebService::Simple; # Simple use case my $flickr = WebService::Simple->new( base_url => "http://api.flickr.com/services/rest/", param => { api_...
WebService :: Aria2 :: RPC-通过RPC接口控制aria2实例 概要 use WebService::Aria2::RPC::JSON; my $aria2 = WebService::Aria2::RPC::JSON->new(); my $gid = $aria2->add_uri( 'http://example.com/file.tgz' ); ...
版本版本 2.014概要 use WebService::UrbanDictionary; my $ud = WebService::UrbanDictionary->new; my $results = request('perl'); for my $each (@{ $results->definitions }) { printf "Definition: %s\n(by %s...
WebService::Simple::AWS - 使用 WebService::Simple 的 Amazon Web Service 的简单接口 概要 use WebService::Simple::AWS; my $service = WebService::Simple::AWS->new( base_url => '...
WebService::Instapaper - Instapaper Full API 的客户端 概要 use WebService::Instapaper; my $client = WebService::Instapaper->new(consumer_key => '...', consumer_secret => '...'); $client->auth('...
Web 服务描述语言(WSDL,Web Service Description Language)是一种XML格式,用于定义网络服务的接口,包括服务的位置、操作及如何与这些服务交互。在WSDL文档中,SOAP(Simple Object Access Protocol)绑定部分...
WebService :: Pushover-Pushover API的接口 版本 本文档介绍了WebService :: Pushover版本1.0.0。 概要 use WebService::Pushover; my $push = WebService::Pushover->new( user_token => 'PUSHOVER USER TOKEN',...
名称WebService::Algolia - Algolia API 绑定版本版本 0.1002概要 use WebService::Algolia;my $alg = WebService::Algolia->new( application_id => '12345', api_key => 'abcde',);$alg->get_indexes;描述该模块为...
dubbo-rpc-webservice-2.8.4 dubbo-rpc-webservice-2.8.4
在压缩包文件"osex_webservice_test"中,可能包含了测试用例或示例代码,帮助开发者了解如何设置和调用基于RPC的WebServices。这些测试可能包括了客户端的调用代码,服务端的部署脚本,以及可能出现的异常处理和错误...
名称WebService::Simple::AWS - 使用 WebService::Simple 的 Amazon Web Service 的简单接口概要 use WebService::Simple::AWS;my $service = WebService::Simple::AWS->new( base_url => '...
WebService :: Reactio-Reactio的API客户端 概要 use WebService::Reactio; my $client = WebService::Reactio->new( api_key => '__API_KEY__', organization => '__ORGANIZATION__', ); my $incidents = $client...
名称WebService :: FC2 :: Blog-将文章发布或检索到FC2博客。概要use WebService::FC2::Blog;use utf8;my $fc2blog = WebService::FC2::Blog->new( username => $YOUR_FC2BLOG_USERNAME, password => $YOUR_FC2BLOG_...
dubbo-rpc-webservice dubbo-simple dubbo-test dubbo-test-benchmark dubbo-test-benchmark-api dubbo-test-benchmark-client dubbo-test-benchmark-server dubbo-test-examples fastjson hessian-lite opensesame
SoapUI是一个开源测试工具,通过soap/http来检查、调用、实现Web Service的功能/负载/符合性测试。 该工具既可作为一个单独的测试软件使用,也可利用插件集成到Eclipse,maven2.X,Netbeans 和intellij中使用。
WebService-Zaqar 安装 要安装此模块,请运行以下命令: perl Build.PL ./Build ./Build test ./Build install 或者,使用 CPAN 客户端: cpanm -v WebService::Zaqar
soapUI是一个开源测试工具,通过soap/http来检查、调用、实现Web Service的功能/负载/符合性测试。该工具既可作为一个单独的测试软件使用,也可利用插件集成到Eclipse,maven2.X,Netbeans 和intellij中使用。soapUI...
WebService-CXF实用手册学习大全的知识点涵盖了WebService技术的多个方面,主要分为以下几个部分: 1. WebService基础: - WebService是一种通过网络提供服务的技术,使用HTTP作为传输协议,SOAP作为消息格式,...
Xfire在Spring下实现安全的WebService详述---配置 -