<?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: tESBConsumer org.apache.cxf.ws.policy.PolicyException in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340806#M108809</link>
    <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the&amp;nbsp;&lt;SPAN&gt;'Use Authentication' I tried&amp;nbsp;'Username Token' as the option and still get the "&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied" exception.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I tried the tWebService component (thank you for the suggestion) and I get the following error:&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Exception in component tWebService_1 (test_material_query)
java.lang.IllegalStateException: Response message did not contain proper response data. Expected: {http://sap.com/xi/SAPGlobal20/Global}MaterialByElementsResponse_sync
	at org.apache.cxf.endpoint.ClientImpl.processResult(ClientImpl.java:664)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:542)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:442)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:343)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:316)
	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:199)
	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:238)
	at infohub.test_material_query_0_1.test_material_query.tWebService_1Process(test_material_query.java:430)
	at infohub.test_material_query_0_1.test_material_query.runJobInTOS(test_material_query.java:705)
	at infohub.test_material_query_0_1.test_material_query.main(test_material_query.java:554)&lt;/PRE&gt;&lt;P class="p1"&gt;The WSDL namespace I am referencing has a pointer to&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;A href="http://sap.com/xi/SAPGlobal20/Global" target="_blank" rel="nofollow noopener noreferrer"&gt;http://sap.com/xi/SAPGlobal20/Global&lt;/A&gt; which appears to not be&amp;nbsp;online.&amp;nbsp;I'm wondering if that is the root cause.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 12 Jul 2018 11:30:28 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2018-07-12T11:30:28Z</dc:date>
    <item>
      <title>tESBConsumer org.apache.cxf.ws.policy.PolicyException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340804#M108807</link>
      <description>&lt;P&gt;I have a simple job that is set up to query a SOAP service and read in the results using the tESBConsumer component. (Screenshot below.) However, upon running the job, I get the following Java exception:&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;Exception in component tESBConsumer_1 (test_material_query)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied.&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.EndpointPolicyImpl.chooseAlternative(EndpointPolicyImpl.java:172)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.EndpointPolicyImpl.finalizeConfig(EndpointPolicyImpl.java:146)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.EndpointPolicyImpl.initialize(EndpointPolicyImpl.java:142)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.PolicyEngineImpl.createEndpointPolicyInfo(PolicyEngineImpl.java:604)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.PolicyEngineImpl.getEndpointPolicy(PolicyEngineImpl.java:316)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.PolicyEngineImpl.getClientEndpointPolicy(PolicyEngineImpl.java:303)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.ws.policy.PolicyDataEngineImpl.getClientEndpointPolicy(PolicyDataEngineImpl.java:61)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.HTTPConduit.updateClientPolicy(HTTPConduit.java:326)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.HTTPConduit.updateClientPolicy(HTTPConduit.java:346)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.HTTPConduit.getClient(HTTPConduit.java:894)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.HTTPConduit.configureConduitFromEndpointInfo(HTTPConduit.java:368)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.HTTPConduit.finalizeConfig(HTTPConduit.java:448)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.transport.http.HTTPTransportFactory.getConduit(HTTPTransportFactory.java:249)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:226)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.binding.soap.SoapTransportFactory.getConduit(SoapTransportFactory.java:233)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.endpoint.AbstractConduitSelector.createConduit(AbstractConduitSelector.java:146)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.endpoint.AbstractConduitSelector.getSelectedConduit(AbstractConduitSelector.java:108)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.endpoint.UpfrontConduitSelector.selectConduit(UpfrontConduitSelector.java:77)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at org.apache.cxf.endpoint.ClientImpl.getConduit(ClientImpl.java:879)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at infohub.test_material_query_0_1.test_material_query$GenericConsumer.invoke(test_material_query.java:639)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at infohub.test_material_query_0_1.test_material_query.tFixedFlowInput_1Process(test_material_query.java:2035)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at infohub.test_material_query_0_1.test_material_query.runJobInTOS(test_material_query.java:2860)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;FONT face="courier new,courier" size="2"&gt;at infohub.test_material_query_0_1.test_material_query.main(test_material_query.java:2709)&lt;/FONT&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="tos_esb_apache_error_20180707v1.jpg" style="width: 960px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009Lz7r.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/136447i64442655BB474889/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009Lz7r.jpg" alt="0683p000009Lz7r.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;I'm able to use tESBConsumer with SOAP services that do not use authentication, so I'm wondering if the SOAP service I am trying to call does not&amp;nbsp;handle&amp;nbsp;org.apache.cxf.ws.policy authentication correctly. Unfortunately, I do not have access to the log files of the service endpoint.&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;I'm using a local WSDL file in the tESBConsumer "WSDL: " settings in the pop-up menu (Screenshot below).&amp;nbsp;I am using a local WSDL file because I cannot find an active WSDL URL to work with on the server side. System documentation is extremely opaque.&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Talend_Open_Studio_for_ESB_-_tESBConsumer_-_tESBConsumer_1_and_Talend_Open_Studio_for_ESB__7_0_1_20180411_1414____InfoHub__Connection__Local_.jpg" style="width: 787px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009LypF.jpg"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/129330iBC3FE711597C8D41/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009LypF.jpg" alt="0683p000009LypF.jpg" /&gt;&lt;/span&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;Details of my environment:&lt;/P&gt; 
&lt;P class="p1"&gt;OS X: 10.11.6 (15G21013)&lt;/P&gt; 
&lt;P class="p1"&gt;Talend Open Studio for ESB: 7.0.1&lt;/P&gt; 
&lt;P class="p1"&gt;Java: jdk1.8.0_101&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P class="p1"&gt;Has anyone seen a similar error with tESBConsumer? Any insights are welcome.&lt;/P&gt; 
&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 16 Nov 2024 07:59:24 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340804#M108807</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2024-11-16T07:59:24Z</dc:date>
    </item>
    <item>
      <title>Re: tESBConsumer org.apache.cxf.ws.policy.PolicyException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340805#M108808</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;
&lt;P&gt;Have you tried to use twebservice component to see if it works? Are you using tESBConsumer with 'Use Authentication' and 'Username Token' as the option?&lt;/P&gt;
&lt;P&gt;Best regards&lt;/P&gt;
&lt;P&gt;Sabrina&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 11 Jul 2018 07:57:39 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340805#M108808</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-11T07:57:39Z</dc:date>
    </item>
    <item>
      <title>Re: tESBConsumer org.apache.cxf.ws.policy.PolicyException</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340806#M108809</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For the&amp;nbsp;&lt;SPAN&gt;'Use Authentication' I tried&amp;nbsp;'Username Token' as the option and still get the "&lt;/SPAN&gt;&lt;/P&gt;&lt;P class="p1"&gt;org.apache.cxf.ws.policy.PolicyException: None of the policy alternatives can be satisfied" exception.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;I tried the tWebService component (thank you for the suggestion) and I get the following error:&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Exception in component tWebService_1 (test_material_query)
java.lang.IllegalStateException: Response message did not contain proper response data. Expected: {http://sap.com/xi/SAPGlobal20/Global}MaterialByElementsResponse_sync
	at org.apache.cxf.endpoint.ClientImpl.processResult(ClientImpl.java:664)
	at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:542)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:442)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:343)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:296)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:316)
	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:199)
	at org.talend.webservice.helper.ServiceInvokerHelper.invoke(ServiceInvokerHelper.java:238)
	at infohub.test_material_query_0_1.test_material_query.tWebService_1Process(test_material_query.java:430)
	at infohub.test_material_query_0_1.test_material_query.runJobInTOS(test_material_query.java:705)
	at infohub.test_material_query_0_1.test_material_query.main(test_material_query.java:554)&lt;/PRE&gt;&lt;P class="p1"&gt;The WSDL namespace I am referencing has a pointer to&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&lt;A href="http://sap.com/xi/SAPGlobal20/Global" target="_blank" rel="nofollow noopener noreferrer"&gt;http://sap.com/xi/SAPGlobal20/Global&lt;/A&gt; which appears to not be&amp;nbsp;online.&amp;nbsp;I'm wondering if that is the root cause.&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;&lt;P class="p1"&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 12 Jul 2018 11:30:28 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tESBConsumer-org-apache-cxf-ws-policy-PolicyException/m-p/2340806#M108809</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-07-12T11:30:28Z</dc:date>
    </item>
  </channel>
</rss>

