<?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 Re: Hide a Web service in karaf in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344248#M111923</link>
    <description>Hi Sergey, 
&lt;BR /&gt;Thank you for responding. 
&lt;BR /&gt;I am using the Talend studio... So I dont think that I can modify any file easily... 
&lt;BR /&gt;What I can do is to add or modifiy files in Karaf. 
&lt;BR /&gt;Regards.</description>
    <pubDate>Thu, 22 May 2014 09:16:05 GMT</pubDate>
    <dc:creator>Ahhouais</dc:creator>
    <dc:date>2014-05-22T09:16:05Z</dc:date>
    <item>
      <title>Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344246#M111921</link>
      <description>Hi !&lt;BR /&gt;Is it possible to provide a Web service in Karaf but to hide it from beeing displayed when the url "&lt;A href="http://xxx.xxx.xxx.xxx:8040/services/" target="_blank" rel="nofollow noopener noreferrer"&gt;http://xxx.xxx.xxx.xxx:8040/services/&lt;/A&gt;" is called ?&lt;BR /&gt;Thanks !</description>
      <pubDate>Sat, 16 Nov 2024 11:38:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344246#M111921</guid>
      <dc:creator>Ahhouais</dc:creator>
      <dc:date>2024-11-16T11:38:24Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344247#M111922</link>
      <description>Hi 
&lt;BR /&gt;it is possible at Apache CXF level, adding a "org.apache.cxf.endpoint.private" contextual property to JAXWS or JAXRS endpoint will work. 
&lt;BR /&gt;Can you modify a bundle Blueprint context ? 
&lt;BR /&gt;Cheers, Sergey</description>
      <pubDate>Wed, 21 May 2014 17:36:20 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344247#M111922</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-21T17:36:20Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344248#M111923</link>
      <description>Hi Sergey, 
&lt;BR /&gt;Thank you for responding. 
&lt;BR /&gt;I am using the Talend studio... So I dont think that I can modify any file easily... 
&lt;BR /&gt;What I can do is to add or modifiy files in Karaf. 
&lt;BR /&gt;Regards.</description>
      <pubDate>Thu, 22 May 2014 09:16:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344248#M111923</guid>
      <dc:creator>Ahhouais</dc:creator>
      <dc:date>2014-05-22T09:16:05Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344249#M111924</link>
      <description>Hi, 
&lt;BR /&gt;The easiest workaround is to get the bundle (jar) created by Studio, unjar it, modify a context (file is named service.xml or beans.xml) in OSGI-INF/blueprint and jar it back and deploy a bundle again. You'd modify a JAXWS or JAXRS endpoint declaration by adding the property like this: 
&lt;BR /&gt;&amp;lt;jaxrs:server addres="/someaddress"&amp;gt; 
&lt;BR /&gt;&amp;lt;jaxrs 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;roperties&amp;gt; 
&lt;BR /&gt; &amp;lt;entry key="org.apache.cxf.endpoint.private" value="true"/&amp;gt; 
&lt;BR /&gt;&amp;lt;/jaxrs 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MAB6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/158321i00588DF41617C922/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MAB6.png" alt="0683p000009MAB6.png" /&gt;&lt;/span&gt;roperties&amp;gt; 
&lt;BR /&gt;&amp;lt;/jaxrs:server&amp;gt; 
&lt;BR /&gt;or do the same for jaxws:endpoint. 
&lt;BR /&gt;Actually the simpler option is: 
&lt;BR /&gt;etc/org.apache.cxf.osgi.cfg file may have CXF specific properties set. 
&lt;BR /&gt;So what you can do is set "org.apache.cxf.servlet.hide-service-list-page" to true, but note a user will probably see the error when accessing the page... 
&lt;BR /&gt;"org.apache.cxf.servlet.service-list-page-authenticate" property is also available - so may be you can 'open' the page to admins only, I haven't tried it though, 
&lt;BR /&gt;HTH, Sergey</description>
      <pubDate>Thu, 22 May 2014 10:28:35 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344249#M111924</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T10:28:35Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344250#M111925</link>
      <description>Hi Sergey !
&lt;BR /&gt;I tried the second solution. So I have edited the "etc/org.apache.cxf.osgi.cfg" file.
&lt;BR /&gt;I have added this line : org.apache.cxf.servlet.service-list-page-authenticate=true
&lt;BR /&gt;I have restarted the karaf runtime, but when I try to display the page http://localhost:8040/services/ I still can access it... Maybe the value "true" is no correct... 
&lt;BR /&gt;In fact, displaying this page is not a problem : what I really want is to hide only one Web service to be listed in this page... A specific one... Do you think that it is possible ?
&lt;BR /&gt;Thanks !</description>
      <pubDate>Thu, 22 May 2014 10:47:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344250#M111925</guid>
      <dc:creator>Ahhouais</dc:creator>
      <dc:date>2014-05-22T10:47:57Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344251#M111926</link>
      <description>The option org.apache.cxf.servlet.hide-service-list-page=true works : I can't display the exposed Web services. Good thing. Now, I want to hide only one of them 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009MACn.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/154443iC5B8CACEF3D12C6A/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009MACn.png" alt="0683p000009MACn.png" /&gt;&lt;/span&gt; 
&lt;BR /&gt;Regards</description>
      <pubDate>Thu, 22 May 2014 10:51:59 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344251#M111926</guid>
      <dc:creator>Ahhouais</dc:creator>
      <dc:date>2014-05-22T10:51:59Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344252#M111927</link>
      <description>The authenticate property was added recently, probably not supported yet in your version of the container. 
&lt;BR /&gt;Re the individual selection: at the moment only the trick with the bundle jar will do. 
&lt;BR /&gt;I've also created an enhancement request: 
&lt;BR /&gt; 
&lt;A href="https://jira.talendforge.org/browse/TESB-13575" rel="nofollow noopener noreferrer"&gt;https://jira.talendforge.org/browse/TESB-13575&lt;/A&gt; 
&lt;BR /&gt;Cheers, Sergey</description>
      <pubDate>Thu, 22 May 2014 11:03:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344252#M111927</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2014-05-22T11:03:18Z</dc:date>
    </item>
    <item>
      <title>Re: Hide a Web service in karaf</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344253#M111928</link>
      <description>Thank you so much Sergey !</description>
      <pubDate>Thu, 22 May 2014 12:41:09 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Hide-a-Web-service-in-karaf/m-p/2344253#M111928</guid>
      <dc:creator>Ahhouais</dc:creator>
      <dc:date>2014-05-22T12:41:09Z</dc:date>
    </item>
  </channel>
</rss>

