<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic cCXF : How to in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207617#M7177</link>
    <description>Hi,&amp;nbsp; 
&lt;BR /&gt;I just start using Talend ESB and I've some difficulties to implement a Webservice SOAP with the cCXF component. 
&lt;BR /&gt;In fact,&amp;nbsp; 
&lt;BR /&gt;my problem is "how can I generate the response?". 
&lt;BR /&gt;First of all,&amp;nbsp; 
&lt;BR /&gt;I defined 3 beans in Talend Code section :&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;wsRequest 
&lt;BR /&gt;wsResponse 
&lt;BR /&gt;wsInterface which describe a method that take wsRequest in parameter and provide a wsResponse . 
&lt;BR /&gt;I try to generate a WS with cCXF by configuring ServiceClass and fill it with an interface I defined in Beans. 
&lt;BR /&gt;I put the component in POJO mode but I don't now how to handle the request and how to generate the response. 
&lt;BR /&gt;If someone can share a little example with a cCXF componant, handle the request and generate a response it would be great. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Mike 
&lt;BR /&gt;PS: I don't want to create the response by generating XML with a String (or StringBuilder) in a cProcessor. I'm sure there is a better to generate a response that is right with the wsdl's contract.</description>
    <pubDate>Sat, 16 Nov 2024 11:15:04 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2024-11-16T11:15:04Z</dc:date>
    <item>
      <title>cCXF : How to</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207617#M7177</link>
      <description>Hi,&amp;nbsp; 
&lt;BR /&gt;I just start using Talend ESB and I've some difficulties to implement a Webservice SOAP with the cCXF component. 
&lt;BR /&gt;In fact,&amp;nbsp; 
&lt;BR /&gt;my problem is "how can I generate the response?". 
&lt;BR /&gt;First of all,&amp;nbsp; 
&lt;BR /&gt;I defined 3 beans in Talend Code section :&amp;nbsp; 
&lt;BR /&gt; 
&lt;BR /&gt;wsRequest 
&lt;BR /&gt;wsResponse 
&lt;BR /&gt;wsInterface which describe a method that take wsRequest in parameter and provide a wsResponse . 
&lt;BR /&gt;I try to generate a WS with cCXF by configuring ServiceClass and fill it with an interface I defined in Beans. 
&lt;BR /&gt;I put the component in POJO mode but I don't now how to handle the request and how to generate the response. 
&lt;BR /&gt;If someone can share a little example with a cCXF componant, handle the request and generate a response it would be great. 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Mike 
&lt;BR /&gt;PS: I don't want to create the response by generating XML with a String (or StringBuilder) in a cProcessor. I'm sure there is a better to generate a response that is right with the wsdl's contract.</description>
      <pubDate>Sat, 16 Nov 2024 11:15:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207617#M7177</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T11:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: cCXF : How to</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207618#M7178</link>
      <description>Hi,&lt;BR /&gt;Have you already checked component reference: &lt;A href="https://help.talend.com/search/all?query=cCXF&amp;amp;content-lang=en" target="_blank" rel="nofollow noopener noreferrer"&gt;TalendHelpCenter:cCXF&lt;/A&gt;?&lt;BR /&gt;Best regards&lt;BR /&gt;Sabrina</description>
      <pubDate>Fri, 17 Apr 2015 09:40:52 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207618#M7178</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T09:40:52Z</dc:date>
    </item>
    <item>
      <title>Re: cCXF : How to</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207619#M7179</link>
      <description>Hello,&amp;nbsp;&lt;BR /&gt;Yes I read this page a couple of time and I learn how to make webservice with&amp;nbsp;&lt;B&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;serviceClass.&lt;/FONT&gt;&lt;/FONT&gt;&lt;/B&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;But, there is no example on&amp;nbsp;&lt;/FONT&gt;&lt;/FONT&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;how to handle the request in pojo and how to generate a response with a pojo.&lt;/FONT&gt;&lt;/FONT&gt;&lt;BR /&gt;&lt;FONT size="2"&gt;&lt;FONT face="noto, Helvetica, Arial, sans-serif"&gt;Mike&lt;/FONT&gt;&lt;/FONT&gt;</description>
      <pubDate>Fri, 17 Apr 2015 18:51:41 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207619#M7179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-17T18:51:41Z</dc:date>
    </item>
    <item>
      <title>Re: cCXF : How to</title>
      <link>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207620#M7180</link>
      <description>Ok,&amp;nbsp; 
&lt;BR /&gt;Just an update on my question with my answer 
&lt;BR /&gt;Here the route I made :&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDBy.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/139507iC232FA4BAC168C86/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDBy.png" alt="0683p000009MDBy.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;First,&amp;nbsp; 
&lt;BR /&gt;I create 3 beans in talend : 
&lt;BR /&gt; 
&lt;BR /&gt;testWSDLBean 
&lt;BR /&gt;testRequestBean 
&lt;BR /&gt;testResponseBean 
&lt;BR /&gt; 
&lt;BR /&gt;where testWSDLBean define an simple interface which used the 2 others beans:&amp;nbsp; 
&lt;BR /&gt; 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MDLi.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/141616i58BD12F89256D66A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MDLi.png" alt="0683p000009MDLi.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;I define my cCXF like this :&amp;nbsp; 
&lt;BR /&gt;Class :&amp;nbsp; 
&lt;B&gt;"beans.testWSDLBean"&lt;/B&gt; 
&lt;BR /&gt;Format :&amp;nbsp; 
&lt;B&gt;POJO&lt;/B&gt; 
&lt;BR /&gt;I add a cConvertBodyTo and I define the target class with&amp;nbsp; 
&lt;B&gt;beans.testRequestBean.class&lt;/B&gt; 
&lt;BR /&gt;I send it to a Queue and finally I generate the response of the webservice's call with a cProcessor :&amp;nbsp; 
&lt;BR /&gt; 
&lt;PRE&gt;/*&lt;BR /&gt;* Provide own codes to consume or translate the message exchanges.&lt;BR /&gt;* @param org.apache.camel.Exchange exchange&lt;BR /&gt;*/&lt;BR /&gt;beans.testResponseBean retour = new beans.testResponseBean();&lt;BR /&gt;retour.setMessage("OK");&lt;BR /&gt;retour.setCode("0000");&lt;BR /&gt;exchange.getOut().setBody(retour, beans.testResponseBean.class);&lt;/PRE&gt; 
&lt;BR /&gt;I don't know if my solution is a good one or not and especially, the last part in the cProcessor generating the response. 
&lt;BR /&gt;Anybody can valid or not my solution? 
&lt;BR /&gt;Is there an other way to generate the response? 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Mike</description>
      <pubDate>Tue, 21 Apr 2015 16:23:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/cCXF-How-to/m-p/2207620#M7180</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-04-21T16:23:03Z</dc:date>
    </item>
  </channel>
</rss>

