#1 2007-11-15 08:22:32

Yong
Member
Registered: 2007-11-15
Posts: 12

tWebServiceInput_1

Tags: [Internet]

1. tWebServiceInput properties shown in TalendOpenStudio_UG_22b_EN.pdf is not same as what I can see from the downloaded Talend V2.2. I only see SchemaType, WSDL, method name and parameters in my Talend. But in the documents, it show the properties will consist of SchemaType, WSDL, Endpoint URI, SOAPAction URI, Need Authentication?, method name and return class. Can I know how can I get a page like shown in the document? 

2. I tried to execute a web service input with given data value for WSDL. After the configuration, the job do not show any error message. When I try to run the job, the system return errors as following :
Starting job TestJob1 at 15:20 15/11/2007.
Exception in component tWebServiceInput_1
java.net.UnknownHostException: www.atomic-x.com
    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 TestJob1 ended at 15:20 15/11/2007. [exit code=1]



Can you assist to advice whether there are any configuration/setting I will need to do? Thanks

Offline

#2 2007-11-15 12:26:55

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tWebServiceInput_1

Hi

1) The documentation is not the lastest version for TOS2.2.1.

2)

Exception in component tWebServiceInput_1
java.net.UnknownHostException: www.atomic-x.com

www.atomic-x.com is not a valid url for this component.

I have create a job with TOS2.2.1.

Please see the screenshots.

Best regards

         shong


Uploaded Images


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#3 2007-11-16 03:14:49

c0utta
Member
Registered: 2007-04-13
Posts: 134

Re: tWebServiceInput_1

Hi Yong,

There are also differences between the Java and the Perl tWebServiceInput components where different properties are exposed depending on the capability of the underlying module.

I would like to use Microsoft CRM with the Perl tWebServiceInput, but there's no way to handle the authentication side.  I can't even determine whether this is possible with Soap::Lite.  Can someone from the talend team (I'm looking in your direction plegall..) verify this?  If it is possible, then I'll put in a feature request.

Cheers,

c0utta

Offline

#4 2007-11-16 03:50:35

Yong
Member
Registered: 2007-11-15
Posts: 12

Re: tWebServiceInput_1

Hi Shong,

Could you provide me a valid URL so that I can test out how to make this component working correctly? Or will there be any demo showing how this web services can be used correctly?
Besides, regarding to the screen shots u uploaded, I'm not able to view the content clearly. Could you assist to advice on this?

Thanks.

Regards,
Yong

Offline

#5 2007-11-16 03:56:46

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tWebServiceInput_1

Hi Yong

how this component function?

Call the defined method from the invoked webservice, and returns the class  as defined, based on the given parameters.

Regarding to the uploaded images, I cant view the content properly. Please advice.

if you can't view the image, Please use firefox browser to open.

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#6 2007-11-16 04:42:48

Yong
Member
Registered: 2007-11-15
Posts: 12

Re: tWebServiceInput_1

Hi Shong,

Thanks for your quick answer. I had manage to view the images, and tried with the url as used in the screen shots u show. Here I get the following error message. Please advice.


Starting job TestJob1 at 11:41 16/11/2007.
Exception in component tWebServiceInput_1
java.net.UnknownHostException: www.deeptraining.com
    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 TestJob1 ended at 11:41 16/11/2007. [exit code=1]

Is there any connection setting I need to configure? This error message seems to be the same as the previous one.

thanks.

Regards,
Yong

Last edited by Yong (2007-11-16 04:45:04)

Offline

#7 2007-11-16 06:45:45

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tWebServiceInput_1

Hi

Exception in component tWebServiceInput_1
java.net.UnknownHostException: www.deeptraining.com

Did you try  with the url I show? Can you upload a screenshot of your job?

Best regards

        shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#8 2007-11-16 07:18:16

Yong
Member
Registered: 2007-11-15
Posts: 12

Re: tWebServiceInput_1

Hi Shong,

I have create a job using TOS 2_2_1, please view and advice.

Thanks.

Regards,
Yong


Uploaded Images

Last edited by Yong (2007-11-16 07:24:03)

Offline

#9 2007-11-16 08:18:16

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tWebServiceInput_1

Hi

I think your machine has been banned to access www.deeptraining.com, can you access www.deeptraining.com via IE browser?

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

#10 2007-11-16 08:21:36

Yong
Member
Registered: 2007-11-15
Posts: 12

Re: tWebServiceInput_1

Hi Shong,

I think the website is not being banned. I can access to www.deeptraining.com via IE browser.
I was wonder, whether there is any codes changes I will need for the http connection?

Please advice.

Thanks.

Regards,
Yong

Offline

#11 2007-11-20 07:49:23

Yong
Member
Registered: 2007-11-15
Posts: 12

Re: tWebServiceInput_1

Hi,

Now I get this error when I try the webservice component, after set the system properties to some proxy.
Could you assist how to fix this error? Any configuration or setting I need?

Exception in component tWebServiceInput_1
AxisFault
faultCode: {http://xml.apache.org/axis/}HTTP
faultSubcode:
faultString: (407)Proxy Authentication Required
faultActor:
faultNode:
faultDetail:
    {}:return code:  407
&lt;HTML&gt;
&lt;HEAD&gt;
&lt;TITLE&gt;Authentication Required&lt;/TITLE&gt;
&lt;META HTTP-EQUIV=&quot;refresh&quot;
CONTENT=&quot;0;URL=http://ecdn.mot.com/proxy/407.htm&quot;&gt;
&lt;/head&gt;
&lt;BODY&gt;
&lt;H1&gt;Authentication Required&lt;/H1&gt;

&lt;p&gt;You are automatically re-directed to &lt;a href=&quot;http://ecdn.mot.com/proxy/407.htm&quot;&gt;http://ecdn.mot.com/proxy/407.htm&lt;/a&gt;
for more information. Otherwise please click on the URL link.&lt;/p&gt;

&lt;/body&gt;
&lt;/html&gt;
    {http://xml.apache.org/axis/}HttpErrorCode:407

(407)Proxy Authentication Required
    at org.apache.axis.transport.http.HTTPSender.readFromSocket(HTTPSender.java:744)
    at org.apache.axis.transport.http.HTTPSender.invoke(HTTPSender.java:144)
    at org.apache.axis.strategies.InvocationStrategy.visit(InvocationStrategy.java:32)
    at org.apache.axis.SimpleChain.doVisiting(SimpleChain.java:118)
    at org.apache.axis.SimpleChain.invoke(SimpleChain.java:83)
    at org.apache.axis.client.AxisClient.invoke(AxisClient.java:165)
    at org.apache.axis.client.Call.invokeEngine(Call.java:2784)
    at org.apache.axis.client.Call.invoke(Call.java:2767)
    at org.apache.axis.client.Call.invoke(Call.java:2443)
    at org.apache.axis.client.Call.invoke(Call.java:2366)
    at org.apache.axis.client.Call.invoke(Call.java:1812)
    at org.talend.DynamicInvoker.invokeMethod(DynamicInvoker.java:242)
    at org.talend.DynamicInvoker.main(DynamicInvoker.java:125)
    at org.talend.DynamicInvoker.main(DynamicInvoker.java:101)
    at test.testjob1.TestJob1.tWebServiceInput_1Process(TestJob1.java:213)
    at test.testjob1.TestJob1.tJava_2Process(TestJob1.java:159)
    at test.testjob1.TestJob1.runJob(TestJob1.java:455)
    at test.testjob1.TestJob1.main(TestJob1.java:400)
Job TestJob1 ended at 14:44 20/11/2007. [exit code=1]


Thanks.

Regards,
Yong

Offline

#12 2007-11-20 08:17:10

shong
Talend team
Registered: 2007-08-29
Posts: 10310
Website

Re: tWebServiceInput_1

Hi

TOS2.3.0M1 is available now. Did you download this version and test this problem on your machine?

Best regards

         shong


Email:shong@talend.com
Choose Talend, Enjoy Talend!
New & Event: Talend Help Center
Talend-->the leader of open source data management and application integration solutions!

Offline

Board footer

Powered by FluxBB