cxfrs

    3热度

    1回答

    休息-server.xml的JAX-RS: <jaxrs:server id="baseApi" address="http://localhost:8080/myfashions/catalog"> <jaxrs:serviceBeans> <bean class="com.myfashions.api.service.rest.implementation.Catalog

    5热度

    2回答

    在IBM WebSphere上运行的Web项目的ServletContextListener中设置了以下工作Camel流,将传入XML转换为JSON并打印到System.out并打印到report.txt。到现在为止还挺好。 @WebListener public class SetupCamel implements ServletContextListener { private

    1热度

    1回答

    我想实现一个SAML请求断言使用者服务(RACS)与Apache CXF 2.7.7 不幸的是我的身份提供者不包括密钥信息的反应(这是在SAML规范中定义可选)。 处理响应时会导致异常,因为CXF会尝试为keyInfo加载DOM。 java.lang.NullPointerException at org.apache.ws.security.saml.ext.AssertionWrapper.

    0热度

    3回答

    我试图用apache骆驼develp休息服务。我的项目是一个部署在tomcat上的spring mvc war。 我不想使用apache cxf(cxf servlet)。 public class SampleRouter extends RouteBuilder { @override public void configure() throws Excepti

    2热度

    1回答

    我正在努力获得一个简单的cxf:rsServer来侦听端口。 我appContext: <bean id="transformer" class="com.xyxx.portlistener.services.Transformer"> </bean> <cxf:rsServer id="pushServer" address="tcp://localhost:9090/hr

    0热度

    1回答

    当我开始在单机模式下的骆驼,我得到我的路线是从我已成立了端点使用消息: Route: route1 started and consuming from: Endpoint[http://localhost:9090/hrm/hrm_push?bindingStyle=SimpleConsumer] 太棒了! 但是,当我切&过去什么在[]之间到我的浏览器我得到一个404 当然,如果骆驼说,这是

    1热度

    1回答

    集合我定义一个接口IUSER并希望返回IUSER的集合,因为这: @GET @Path("getuserlist/{id}/") @Produces("application/xml") List<IUser> getUserList(@PathParam("id") String id); 当我下CXF 2.7.6部署为REST服务,我得到了以下错误: 未找到响应类ArrayList的消息正文w

    1热度

    2回答

    我的需求是从web应用程序接收消息一个json对象,并将它(Json对象)路由到另一个web应用程序,我正在使用骆驼来达到这个目的,一个非常简单的过程,现在给我的不眠之夜,我的骆驼路线如下给出 <camel:route> <camel:from uri="cxfrs://bean://lmrServer" /> <camel:to uri="log:output?s

    5热度

    1回答

    作为this question的后续工作,我仍然对如何正确使用CXF-RS组件感到困惑。 我很困惑,为什么我们需要确定CXF-RS端点<cxf:rsServer>标签(或者甚至有这样一个概念?),我可以使用<jaxrs:server>标签完美的罚款。 这里有两个骆驼和CXF我的XML配置: <beans xmlns="http://www.springframework.org/schema/be

    0热度

    1回答

    由于某些原因,第二个查询参数和后续查询参数都为空。第一个工作非常好。我正在使用Camel + JAX-RS(CXF)。这只是一个GET请求。我使用的URL是 http://localhost:8181/cxf/coreservices/search?q=health&start=100&size=924 这里是我的接口声明 @Path( “搜索”) 公共接口SearchRestService {