Exception in component tWebServiceInput_1

One Star

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...
One Star

Re: Exception in component tWebServiceInput_1

Has anybody faced this same problem? Please help
Employee

Re: Exception in component tWebServiceInput_1

Hello,
Since 2.3.0, we have added a new option in tWebServiceInput to allow proxy configuration directly in the components.
HTH,
One Star

Re: Exception in component tWebServiceInput_1

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,
One Star

Re: Exception in component tWebServiceInput_1

Please can anybody give me a pointer to this? An Example which is working with proxy settings done?
Community Manager

Re: Exception in component tWebServiceInput_1

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
----------------------------------------------------------
Talend | Data Agility for Modern Business
One Star

Re: Exception in component tWebServiceInput_1

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.
One Star

Re: Exception in component tWebServiceInput_1

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