Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Qlik Open Lakehouse is Now Generally Available! Discover the key highlights and partner resources here.
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Exception in component tWebServiceInput_1

Have been trying to get the tWebServiceInput Scenario (given in the documentation ) working.
I get the error like this:
Starting job WebServiceExample at 09:59 05/02/2008.
Exception in component tWebServiceInput_1
java.io.IOException: Server returned HTTP response code: 407 for URL: http://www.deeptraining.com/webservices/weather.asmx?WSDL
at sun.net. www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Job WebServiceExample ended at 09:59 05/02/2008.

I first was getting a Connect time out error. So I did the following in the tJava to set the proxy authentication :
java.util.Properties systemSettings = System.getProperties();
systemSettings.put("http.proxyHost", "proxy.xxx.com");
systemSettings.put("http.proxyPort", "8080");
System.setProperties(systemSettings);
String username = "xxx";
String password = "yyy";
// if authentification is needed :
System.setProperty ("http.proxyUserName",username);
System.setProperty ("http.proxyPassword",password);

Any help in resolving this would be appreaciated.
I am able to access the URL: http://www.deeptraining.com/webservices/weather.asmx?WSDL with IE after giving my authentication for the proxy.
Can I get some help on this from anybody who has tried this out please?
I do not know how to get this working...
Labels (4)
7 Replies
Anonymous
Not applicable
Author

Has anybody faced this same problem? Please help
Anonymous
Not applicable
Author

Hello,
Since 2.3.0, we have added a new option in tWebServiceInput to allow proxy configuration directly in the components.
HTH,
Anonymous
Not applicable
Author

I still do not understand where to correct my code. Can anybody post a simple working example with the properties to be set exactly (with proxy handled). Thanks,
Anonymous
Not applicable
Author

Please can anybody give me a pointer to this? An Example which is working with proxy settings done?
Anonymous
Not applicable
Author

Hi
As Mhirt said, since 2.3.0, we have added a new option in tWebServiceInput to allow proxy configuration directly in the components.
Here is a simple example, see the screenshots.
Best regards
shong
_AnonymousUser
Specialist III
Specialist III

I downloaded the 2.3 version and tried the same example with the proxy host, proxy port , proxy user and proxy password set. But I get the connection timed out error still.
What is the wrong thing that I am doing here?
tarting job testingwebservice at 14:48 19/02/2008.
Exception in component tWebServiceInput_1
java.net.ConnectException: Connection timed out: connect
at java.net.PlainSocketImpl.socketConnect(Native Method)
at java.net.PlainSocketImpl.doConnect(Unknown Source)
at java.net.PlainSocketImpl.connectToAddress(Unknown Source)
at java.net.PlainSocketImpl.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at java.net.Socket.connect(Unknown Source)
at sun.net.NetworkClient.doConnect(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.openServer(Unknown Source)
at sun.net.www.http.HttpClient.<init>(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.http.HttpClient.New(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getNewHttpClient(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.plainConnect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.connect(Unknown Source)
at sun.net.www.protocol.http.HttpURLConnection.getInputStream(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLEntityManager.setupCurrentEntity(Unknown Source)
at com.sun.org.apache.xerces.internal.impl.XMLVersionDetector.determineDocVersion(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XML11Configuration.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.XMLParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.parsers.DOMParser.parse(Unknown Source)
at com.sun.org.apache.xerces.internal.jaxp.DocumentBuilderImpl.parse(Unknown Source)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:369)
at org.apache.axis.utils.XMLUtils.newDocument(XMLUtils.java:420)
at org.apache.axis.wsdl.symbolTable.SymbolTable.populate(SymbolTable.java:482)
at org.apache.axis.wsdl.gen.Parser$WSDLRunnable.run(Parser.java:361)
at java.lang.Thread.run(Unknown Source)
Job testingwebservice ended at 14:49 19/02/2008.
Anonymous
Not applicable
Author

HI RANI
I don't know how to display screenshots here, if you want, give me your email and I will send you an example illustrating the use of tWebServiceInput with proxy configuration
Good luck