<?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: Error while invoking webservice via TESBConsumer (Response was of unexpected text/html ContentType) in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230610#M21181</link>
    <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The probleme was in the namesapce within the Txmlmap which was wrong, now i am getting the response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
    <pubDate>Thu, 05 Sep 2019 13:47:18 GMT</pubDate>
    <dc:creator>guratalgura</dc:creator>
    <dc:date>2019-09-05T13:47:18Z</dc:date>
    <item>
      <title>Error while invoking webservice via TESBConsumer (Response was of unexpected text/html ContentType)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230607#M21178</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;thanks in advance,&lt;/P&gt; 
&lt;P&gt;i am trying to invoque a webservice via wsdl&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;when using soapui no probleme the call to the web service is ok&lt;/P&gt; 
&lt;P&gt;when trying to invoque the webservice in talend i get the following error:&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="job" style="width: 476px;"&gt;&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M6at.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/132761iF34A04F64454C478/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M6at.png" alt="0683p000009M6at.png" /&gt;&lt;/span&gt;&lt;SPAN class="lia-inline-image-caption" onclick="event.preventDefault();"&gt;job&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;[statistics] connected&lt;BR /&gt;[WARN ]: org.apache.cxf.wsdl.service.factory.ReflectionServiceFactoryBean - No method was found for the WSDL operation {&lt;A href="http://receiver.message.ws.msgEAI.portnet.portel.es/}get" target="_blank" rel="nofollow noopener noreferrer"&gt;http://receiver.message.ws.msgEAI.portnet.portel.es/}get&lt;/A&gt;.&lt;BR /&gt;[WARN ]: org.apache.cxf.ws.addressing.ContextUtils - WS-Addressing - failed to retrieve Message Addressing Properties from context&lt;BR /&gt;Exception in component tESBConsumer_1 (PORTNET_BS_Consumer)&lt;BR /&gt;org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: &amp;lt;head&amp;gt;&amp;lt;body&amp;gt; This object may be found &amp;lt;a HREF="&lt;A href="https://community.talend.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://test.portnet.ma/portnet/PortnetMessageReceiverService"&amp;gt;here&amp;lt;/a&lt;/A&gt;&amp;gt; &amp;lt;/body&amp;gt;&lt;BR /&gt;at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:96)&lt;BR /&gt;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:833)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1695)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)&lt;BR /&gt;at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56)&lt;BR /&gt;at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:225)&lt;BR /&gt;at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)&lt;BR /&gt;at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)&lt;BR /&gt;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:537)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:446)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:361)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:339)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer$GenericConsumer.invoke(PORTNET_BS_Consumer.java:723)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer.tFixedFlowInput_1Process(PORTNET_BS_Consumer.java:2092)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer.runJobInTOS(PORTNET_BS_Consumer.java:3202)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer.main(PORTNET_BS_Consumer.java:3051)&lt;BR /&gt;[WARN ]: org.apache.cxf.phase.PhaseInterceptorChain - Interceptor for {&lt;A href="http://receiver.message.ws.msgEAI.portnet.portel.es/}PortnetMessageReceiverService#{http://receiver.message.ws.msgEAI.portnet.portel.es/}put" target="_blank" rel="nofollow noopener noreferrer"&gt;http://receiver.message.ws.msgEAI.portnet.portel.es/}PortnetMessageReceiverService#{http://receiver.message.ws.msgEAI.portnet.portel.es/}put&lt;/A&gt; has thrown exception, unwinding now&lt;BR /&gt;org.apache.cxf.interceptor.Fault: Response was of unexpected text/html ContentType. Incoming portion of HTML stream: &amp;lt;head&amp;gt;&amp;lt;body&amp;gt; This object may be found &amp;lt;a HREF="&lt;A href="https://community.talend.com/" target="_blank" rel="nofollow noopener noreferrer"&gt;https://test.portnet.ma/portnet/PortnetMessageReceiverService"&amp;gt;here&amp;lt;/a&lt;/A&gt;&amp;gt; &amp;lt;/body&amp;gt;&lt;BR /&gt;at org.apache.cxf.interceptor.StaxInInterceptor.handleMessage(StaxInInterceptor.java:96)&lt;BR /&gt;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.onMessage(ClientImpl.java:833)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponseInternal(HTTPConduit.java:1695)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1572)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1373)&lt;BR /&gt;at org.apache.cxf.io.CacheAndWriteOutputStream.postClose(CacheAndWriteOutputStream.java:56)&lt;BR /&gt;at org.apache.cxf.io.CachedOutputStream.close(CachedOutputStream.java:225)&lt;BR /&gt;at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:56)&lt;BR /&gt;at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:673)&lt;BR /&gt;at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:63)&lt;BR /&gt;at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:308)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.doInvoke(ClientImpl.java:537)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:446)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:361)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:319)&lt;BR /&gt;at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:339)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer$GenericConsumer.invoke(PORTNET_BS_Consumer.java:723)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer.tFixedFlowInput_1Process(PORTNET_BS_Consumer.java:2092)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer.runJobInTOS(PORTNET_BS_Consumer.java:3202)&lt;BR /&gt;at xml_bs.portnet_bs_consumer_0_1.PORTNET_BS_Consumer.main(PORTNET_BS_Consumer.java:3051)&lt;BR /&gt;[statistics] disconnected&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt; 
&lt;P&gt;thanks,&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 15 Jul 2019 19:00:13 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230607#M21178</guid>
      <dc:creator>guratalgura</dc:creator>
      <dc:date>2019-07-15T19:00:13Z</dc:date>
    </item>
    <item>
      <title>Re: Error while invoking webservice via TESBConsumer (Response was of unexpected text/html ContentType)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230608#M21179</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt; 
&lt;P&gt;Are you able to receive the WSDL even from browser? Could you please r&lt;SPAN class="ph cmd"&gt;ight-click the &lt;SPAN class="ph uicontrol"&gt;tESBConsumer&lt;/SPAN&gt; component again, select &lt;SPAN class="ph uicontrol"&gt;Row&lt;/SPAN&gt; &amp;gt; &lt;SPAN class="ph uicontrol"&gt;Fault &lt;/SPAN&gt;&lt;/SPAN&gt;&lt;SPAN class="ph cmd"&gt;from the contextual menu and click the other &lt;SPAN class="ph uicontrol"&gt;tLogRow&lt;/SPAN&gt; component?&lt;BR /&gt;&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="ph cmd"&gt;Best regards&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&lt;SPAN class="ph cmd"&gt;Sabrina&lt;/SPAN&gt;&lt;/P&gt; 
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 25 Jul 2019 09:55:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230608#M21179</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-07-25T09:55:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while invoking webservice via TESBConsumer (Response was of unexpected text/html ContentType)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230609#M21180</link>
      <description>&lt;P&gt;hello,&lt;/P&gt;
&lt;P&gt;thanks for your response&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;yes i can get the wsdl from the browser&lt;/P&gt;
&lt;P&gt;this is the url &lt;SPAN&gt;&lt;A href="https://test.portnet.ma/portnet/PortnetMessageReceiverService?wsdl" target="_blank" rel="nofollow noopener noreferrer"&gt;https://test.portnet.ma/portnet/PortnetMessageReceiverService?wsdl&lt;/A&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i try soapui i can create a project using the url above no probleme, but when i past the same url&amp;nbsp; within the TESBcostumer i get the error: Error getting service description: Unexpected error while loading external schema file: XML document structures must start and end&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;when i placed the wsdl and schemas locally (see wsdl attached) : the error above was no more&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;after that i got the error (Response was of unexpected text/html ContentType)&lt;/P&gt;
&lt;P&gt;after searching i figured that there was a redirection in the webservice from http to https, so i activated&lt;/P&gt;
&lt;P&gt;follow redirects in the TESBcostumer&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;the error (Response was of unexpected text/html ContentType) disappeared&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;now i get this error : {&lt;A href="http://schemas.xmlsoap.org/soap/envelope/}Client|Cannot" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/}Client|Cannot&lt;/A&gt; find dispatch method for {&lt;A href="http://receiver.message.portnet/}put" target="_blank" rel="nofollow noopener noreferrer"&gt;http://receiver.message.portnet/}put&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;what really bothers me is why i can't work with wsdl url in TESBcostumer, although it's working fine in soapui, maybe because i moved the wsdl and schemas locally i keep getting the error&lt;/P&gt;
&lt;P&gt;{&lt;A href="http://schemas.xmlsoap.org/soap/envelope/}Client|Cannot" target="_blank" rel="nofollow noopener noreferrer"&gt;http://schemas.xmlsoap.org/soap/envelope/}Client|Cannot&lt;/A&gt; find dispatch method for {&lt;A href="http://receiver.message.portnet/}put" target="_blank" rel="nofollow noopener noreferrer"&gt;http://receiver.message.portnet/}put&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;thanks,&lt;/P&gt;</description>
      <pubDate>Fri, 26 Jul 2019 17:12:05 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230609#M21180</guid>
      <dc:creator>guratalgura</dc:creator>
      <dc:date>2019-07-26T17:12:05Z</dc:date>
    </item>
    <item>
      <title>Re: Error while invoking webservice via TESBConsumer (Response was of unexpected text/html ContentType)</title>
      <link>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230610#M21181</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;The probleme was in the namesapce within the Txmlmap which was wrong, now i am getting the response&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks&lt;/P&gt;</description>
      <pubDate>Thu, 05 Sep 2019 13:47:18 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/Error-while-invoking-webservice-via-TESBConsumer-Response-was-of/m-p/2230610#M21181</guid>
      <dc:creator>guratalgura</dc:creator>
      <dc:date>2019-09-05T13:47:18Z</dc:date>
    </item>
  </channel>
</rss>

