<?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 [resolved] Getting &amp;quot;The constructor URI() is not visible&amp;quot; in tWebservice in Talend Studio</title>
    <link>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264158#M44090</link>
    <description>Hi, 
&lt;BR /&gt;I'm trying to integrate with "service now" webservice (for example using this wsdl: 
&lt;BR /&gt; 
&lt;A href="https://demo15.service-now.com/imp_computer.do?WSDL" target="_blank" rel="nofollow noopener noreferrer"&gt;https://demo15.service-now.com/imp_computer.do?WSDL&lt;/A&gt; 
&lt;BR /&gt; user: admin password: admin) 
&lt;BR /&gt;I can retrieve the wsdl and get the correct data fields in the input/output mapping : But when I run the script, I get the following error: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt; The constructor URI() is not visible 
&lt;BR /&gt; Syntax error, insert ")" to complete ClassInstanceCreationExpression 
&lt;BR /&gt; Syntax error, insert ";" to complete LocalVariableDeclarationStatement 
&lt;BR /&gt; Syntax error on token(s), misplaced construct(s) 
&lt;BR /&gt; Syntax error on token ":", EmptyStatement expected after this token 
&lt;BR /&gt; Syntax error, insert ")" to complete ClassInstanceCreationExpression 
&lt;BR /&gt; Syntax error, insert ";" to complete BlockStatements 
&lt;BR /&gt;etc etc 
&lt;BR /&gt;Any suggestions? 
&lt;BR /&gt;If I try with the 
&lt;A href="http://www.deeptraining.com/webservices/weather.asmx?WSDL" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.deeptraining.com/webservices/weather.asmx?WSDL&lt;/A&gt; webservice I do not get the same error. 
&lt;BR /&gt;BR 
&lt;BR /&gt;Anders</description>
    <pubDate>Wed, 19 Sep 2012 14:58:57 GMT</pubDate>
    <dc:creator>_AnonymousUser</dc:creator>
    <dc:date>2012-09-19T14:58:57Z</dc:date>
    <item>
      <title>[resolved] Getting "The constructor URI() is not visible" in tWebservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264158#M44090</link>
      <description>Hi, 
&lt;BR /&gt;I'm trying to integrate with "service now" webservice (for example using this wsdl: 
&lt;BR /&gt; 
&lt;A href="https://demo15.service-now.com/imp_computer.do?WSDL" target="_blank" rel="nofollow noopener noreferrer"&gt;https://demo15.service-now.com/imp_computer.do?WSDL&lt;/A&gt; 
&lt;BR /&gt; user: admin password: admin) 
&lt;BR /&gt;I can retrieve the wsdl and get the correct data fields in the input/output mapping : But when I run the script, I get the following error: 
&lt;BR /&gt;Exception in thread "main" java.lang.Error: Unresolved compilation problems: 
&lt;BR /&gt; The constructor URI() is not visible 
&lt;BR /&gt; Syntax error, insert ")" to complete ClassInstanceCreationExpression 
&lt;BR /&gt; Syntax error, insert ";" to complete LocalVariableDeclarationStatement 
&lt;BR /&gt; Syntax error on token(s), misplaced construct(s) 
&lt;BR /&gt; Syntax error on token ":", EmptyStatement expected after this token 
&lt;BR /&gt; Syntax error, insert ")" to complete ClassInstanceCreationExpression 
&lt;BR /&gt; Syntax error, insert ";" to complete BlockStatements 
&lt;BR /&gt;etc etc 
&lt;BR /&gt;Any suggestions? 
&lt;BR /&gt;If I try with the 
&lt;A href="http://www.deeptraining.com/webservices/weather.asmx?WSDL" target="_blank" rel="nofollow noopener noreferrer"&gt;http://www.deeptraining.com/webservices/weather.asmx?WSDL&lt;/A&gt; webservice I do not get the same error. 
&lt;BR /&gt;BR 
&lt;BR /&gt;Anders</description>
      <pubDate>Wed, 19 Sep 2012 14:58:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264158#M44090</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-19T14:58:57Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Getting "The constructor URI() is not visible" in tWebservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264159#M44091</link>
      <description>Try to put double quotes around the wsdl url.
&lt;BR /&gt;Nicolas</description>
      <pubDate>Wed, 19 Sep 2012 19:15:14 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264159#M44091</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-19T19:15:14Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Getting "The constructor URI() is not visible" in tWebservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264160#M44092</link>
      <description>It worked.....Thanks for the answer!</description>
      <pubDate>Thu, 20 Sep 2012 07:56:26 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264160#M44092</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-20T07:56:26Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Getting "The constructor URI() is not visible" in tWebservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264161#M44093</link>
      <description>I now have problem when parsing the response: The mapped parameters all says "null", but when I run it in SoapUI I get decent values in all fields: 
&lt;BR /&gt;&amp;lt;SOAP-ENV:Envelope xmlns 
&lt;span class="lia-inline-image-display-wrapper" image-alt="0683p000009M9p6.png"&gt;&lt;img src="https://community.qlik.com/t5/image/serverpage/image-id/134116iFBD5D7F21624A744/image-size/large?v=v2&amp;amp;px=999" role="button" title="0683p000009M9p6.png" alt="0683p000009M9p6.png" /&gt;&lt;/span&gt;OAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"&amp;gt; 
&lt;BR /&gt; &amp;lt;SOAP-ENV:Body&amp;gt; 
&lt;BR /&gt; &amp;lt;insertResponse xmlns="http://www.service-now.com/u_aw_test"&amp;gt; 
&lt;BR /&gt; &amp;lt;sys_id&amp;gt;7c1f530ed9283000930e426c8cf34cea&amp;lt;/sys_id&amp;gt; 
&lt;BR /&gt; &amp;lt;table&amp;gt;cmdb_ci_aix_server&amp;lt;/table&amp;gt; 
&lt;BR /&gt; &amp;lt;display_name&amp;gt;name&amp;lt;/display_name&amp;gt; 
&lt;BR /&gt; &amp;lt;display_value&amp;gt;Anderstorp&amp;lt;/display_value&amp;gt; 
&lt;BR /&gt; &amp;lt;status&amp;gt;ignored&amp;lt;/status&amp;gt; 
&lt;BR /&gt; &amp;lt;status_message&amp;gt;No field values changed&amp;lt;/status_message&amp;gt; 
&lt;BR /&gt; &amp;lt;/insertResponse&amp;gt; 
&lt;BR /&gt; &amp;lt;/SOAP-ENV:Body&amp;gt; 
&lt;BR /&gt;&amp;lt;/SOAP-ENV:Envelope&amp;gt; 
&lt;BR /&gt;If I try the "getWeather" webservice from deeptraing it works fine in Talend Studio (In SoapUI there is a slight difference in the tagging of the envelope between the different webservices 
&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;&amp;lt;soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema"&amp;gt; 
&lt;BR /&gt; &amp;lt;soap:Body&amp;gt; 
&lt;BR /&gt; &amp;lt;GetWeatherResponse xmlns="http://litwinconsulting.com/webservices/"&amp;gt; 
&lt;BR /&gt; &amp;lt;GetWeatherResult&amp;gt;Sunny&amp;lt;/GetWeatherResult&amp;gt; 
&lt;BR /&gt; &amp;lt;/GetWeatherResponse&amp;gt; 
&lt;BR /&gt; &amp;lt;/soap:Body&amp;gt; 
&lt;BR /&gt;&amp;lt;/soap:Envelope 
&lt;BR /&gt;Any ideas? 
&lt;BR /&gt;BR 
&lt;BR /&gt;Anders</description>
      <pubDate>Thu, 20 Sep 2012 09:12:04 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264161#M44093</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-20T09:12:04Z</dc:date>
    </item>
    <item>
      <title>Re: [resolved] Getting "The constructor URI() is not visible" in tWebservice</title>
      <link>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264162#M44094</link>
      <description>I got it working by changing the:&lt;BR /&gt;".UnqualifiedElementFormDefault" option on server side</description>
      <pubDate>Thu, 20 Sep 2012 09:19:57 GMT</pubDate>
      <guid>https://community.qlik.com/t5/Talend-Studio/resolved-Getting-quot-The-constructor-URI-is-not-visible-quot-in/m-p/2264162#M44094</guid>
      <dc:creator>_AnonymousUser</dc:creator>
      <dc:date>2012-09-20T09:19:57Z</dc:date>
    </item>
  </channel>
</rss>

