<?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: tSoap Exception: Bad response on anonymous webservice in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363416#M127301</link>
    <description>Have you now tried the v1_0?wsdl version in Talend? Does it work? It is very difficult to help I'm afraid without screenshots or the ability to try things out. It does look like this is likely caused by the fact that you are forbidden from seeing the wsdl though.</description>
    <pubDate>Fri, 12 Jun 2015 10:16:03 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-06-12T10:16:03Z</dc:date>
    <item>
      <title>tSoap Exception: Bad response on anonymous webservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363413#M127298</link>
      <description>Hi, 
&lt;BR /&gt;I created a simple xml and tested with SoapUI. This works fine. 
&lt;BR /&gt;The webservice is free to use and no authentication is required. Whenever I use tSoap I get the Exception: 
&lt;BR /&gt; 
&lt;PRE&gt;jun 11, 2015 11:55:12 AM com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection post&lt;BR /&gt;SEVERE: SAAJ0008: Bad Response; Forbidden&lt;BR /&gt;Exception in component tSOAP_1&lt;BR /&gt;com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (403Forbidden&lt;BR /&gt;&amp;nbsp;at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)&lt;BR /&gt;&amp;nbsp;at org.talend.soap.SOAPUtil.extractContentAsDocument(SOAPUtil.java:227)&lt;BR /&gt;&amp;nbsp;at sagedataquality.bpostsoap_0_1.BpostSoap.tSOAP_1Process(BpostSoap.java:467)&lt;BR /&gt;&amp;nbsp;at sagedataquality.bpostsoap_0_1.BpostSoap.runJobInTOS(BpostSoap.java:778)&lt;BR /&gt;&amp;nbsp;at sagedataquality.bpostsoap_0_1.BpostSoap.main(BpostSoap.java:635)&lt;BR /&gt;Caused by: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (403Forbidden&lt;BR /&gt;&amp;nbsp;at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)&lt;BR /&gt;&amp;nbsp;... 5 more&lt;BR /&gt;CAUSE: com.sun.xml.internal.messaging.saaj.SOAPExceptionImpl: Bad response: (403Forbidden&lt;BR /&gt;&amp;nbsp;at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.post(Unknown Source)&lt;BR /&gt;&amp;nbsp;at com.sun.xml.internal.messaging.saaj.client.p2p.HttpSOAPConnection.call(Unknown Source)&lt;BR /&gt;&lt;/PRE&gt; 
&lt;BR /&gt;I tried both a soap message and a document input/output. 
&lt;BR /&gt;Here is the soap message that works fine in SoapUI: 
&lt;BR /&gt; 
&lt;PRE&gt;"&amp;lt;soapenv:Envelope xmlns:soapenv=\"\" xmlns:v001=\"\"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;soapenv:Header/&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;msg:ValidateAddressesRequest xmlns:msg=\"\"&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;msg:AddressToValidateList&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;msg:AddressToValidate id=\"0595.848.135\"&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:PostalAddress&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:DeliveryPointLocation&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:StructuredDeliveryPointLocation&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:StreetName&amp;gt;A DEFUISiSEAUX&amp;lt;/msg:StreetName&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:StreetNumber&amp;gt;23&amp;lt;/msg:StreetNumber&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:BoxNumber&amp;gt;&amp;lt;/msg:BoxNumber&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/msg:StructuredDeliveryPointLocation&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/msg:DeliveryPointLocation&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:PostalCodeMunicipality&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:StructuredPostalCodeMunicipality&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:PostalCode&amp;gt;4340&amp;lt;/msg:PostalCode&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:MunicipalityName&amp;gt;Awans&amp;lt;/msg:MunicipalityName&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/msg:StructuredPostalCodeMunicipality&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/msg:PostalCodeMunicipality&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;msg:CountryName&amp;gt;BE&amp;lt;/msg:CountryName&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp; &amp;nbsp;&amp;lt;/msg:PostalAddress&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;/msg:AddressToValidate&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;/msg:AddressToValidateList&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;msg:ValidateAddressOptions&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;msg:IncludeFormatting&amp;gt;true&amp;lt;/msg:IncludeFormatting&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;msg:IncludeSuggestions&amp;gt;true&amp;lt;/msg:IncludeSuggestions&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;nbsp;&amp;lt;msg:IncludeSubmittedAddress&amp;gt;false&amp;lt;/msg:IncludeSubmittedAddress&amp;gt;&lt;BR /&gt; &amp;nbsp;&amp;lt;/msg:ValidateAddressOptions&amp;gt;&lt;BR /&gt;&amp;lt;/msg:ValidateAddressesRequest&amp;gt;&lt;BR /&gt; &amp;nbsp; &amp;lt;/soapenv:Body&amp;gt;&lt;BR /&gt;&amp;lt;/soapenv:Envelope&amp;gt;"&lt;/PRE&gt; 
&lt;BR /&gt;The endpoint: 
&lt;BR /&gt; 
&lt;PRE&gt;""&lt;/PRE&gt; 
&lt;BR /&gt;The SOAP Action: 
&lt;BR /&gt; 
&lt;PRE&gt;""&lt;/PRE&gt;</description>
      <pubDate>Thu, 11 Jun 2015 11:16:53 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363413#M127298</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-06-11T11:16:53Z</dc:date>
    </item>
    <item>
      <title>Re: tSoap Exception: Bad response on anonymous webservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363414#M127299</link>
      <description>You are not setting the endpoint or soap action, or did you omit to put those details in? Also, I have seen a bad response error generated from setting the wrong SOAP Version.</description>
      <pubDate>Thu, 11 Jun 2015 13:01:36 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363414#M127299</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-11T13:01:36Z</dc:date>
    </item>
    <item>
      <title>Re: tSoap Exception: Bad response on anonymous webservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363415#M127300</link>
      <description>&lt;BLOCKQUOTE&gt; 
 &lt;TABLE border="1"&gt; 
  &lt;TBODY&gt; 
   &lt;TR&gt; 
    &lt;TD&gt;You are not setting the endpoint or soap action, or did you omit to put those details in? Also, I have seen a bad response error generated from setting the wrong SOAP Version.&lt;/TD&gt; 
   &lt;/TR&gt; 
  &lt;/TBODY&gt; 
 &lt;/TABLE&gt; 
&lt;/BLOCKQUOTE&gt; 
&lt;BR /&gt;I can't stay logged in as member when redirecting to forum, so I can't post life URL's or upload images, but here is some info: 
&lt;BR /&gt;The documentation says to use "webservices-pub.acbpost.be/ws/ExternalMailingAddressProofingCSE_v1_1" over https but adding ?wsdl in browser shows access denied. Using _v1_0?wsdl shows the scheme but that version is unavailable in the tSoap object? 
&lt;BR /&gt;For testing with SoupUI I used endpoint webservices-pub.acbpost.be/ws/ExternalMailingAddressProofingCS_v1?wsdl over https and action schema.bpost.be/services/common/address/ExternalMailingAddressProofingCS/v001/validateAddress over http. The test works fine and SoapUI shows that it is version 1.1. 
&lt;BR /&gt;So:&amp;nbsp; 
&lt;BR /&gt;in web browser only&amp;nbsp;ExternalMailingAddressProofingCSE_v1_0?wsdl tests ok,&amp;nbsp;...E_v1?wsdl and ...E_v1_1?wsdl do not 
&lt;BR /&gt;in SoupUI&amp;nbsp;ExternalMailingAddressProofingCSE_v1?wsdl works ok,&amp;nbsp; 
&lt;BR /&gt;in talend&amp;nbsp;ExternalMailingAddressProofingCSE_v1?wsdl, &amp;nbsp;...v1_1?wsdl don't work (forbidden) but ..._v1_0?wsdl, now seems to work. (output in document) 
&lt;BR /&gt;Do you have any idea where this disconcordance might come from ? 
&lt;BR /&gt;Regards, 
&lt;BR /&gt;Ramses</description>
      <pubDate>Fri, 12 Jun 2015 09:18:45 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363415#M127300</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2015-06-12T09:18:45Z</dc:date>
    </item>
    <item>
      <title>Re: tSoap Exception: Bad response on anonymous webservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363416#M127301</link>
      <description>Have you now tried the v1_0?wsdl version in Talend? Does it work? It is very difficult to help I'm afraid without screenshots or the ability to try things out. It does look like this is likely caused by the fact that you are forbidden from seeing the wsdl though.</description>
      <pubDate>Fri, 12 Jun 2015 10:16:03 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/tSoap-Exception-Bad-response-on-anonymous-webservice/m-p/2363416#M127301</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-06-12T10:16:03Z</dc:date>
    </item>
  </channel>
</rss>

