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

Launch a job with .NET

Dear all,
I'm using TOS in my company to do some ETL jobs, and i'ts working perfectly, well done 0683p000009MACn.png !
I would now like to launch some jobs from a web page made in ASP .NET. I think a web service is the best way to do that, and TOS can export a project with a web service.
When I import the web reference generated by TOS with Visual Studio, the wsdl file is recognized, and VS is able to show the method's list... no problem.
BUT... impossible to find the reference from the code, I just can't find the object nor the methods... When I start a debug, the following error appears :
---
Erreur 1 Impossible to import the link 'demoTalendPourProjetETLSoapBinding' from namespace ' http://talend.org'. App_WebReferences/talend/
---
What happens ? How can I launch Talend jobs with .NET ?
Thanks for your help
Labels (3)
6 Replies
Anonymous
Not applicable
Author

Hello
BUT... impossible to find the reference from the code, I just can't find the object nor the methods... When I start a debug, the following error appears :

Read this 1686.
There is method name: runJob in wsdl file:
<wsdl 0683p000009MA5A.pngperation name="runJob">
Best regards

shong
Anonymous
Not applicable
Author

Dear shong,
Thank you for your reply
I'm using ASP .NET, so my web server is IIS
I have exported my job in Axis WebService (ZIP) (because WAR is not recognized), and put the extracted files in my WebSite's repository
The file system is :
-MyWebSite
-Talend
-WEB-INF
-wsdl
-myJob.wsdl
So the url will begin by http://localhost:4985/WebSite1/Talend/
But what do I have to type next ?
Thanks for helping me
Regards
PS : TOS version : 2.3.1
Anonymous
Not applicable
Author

Ok I have installed Tomcat just to test, and I made my WAR file
WAR file's name : Talend
Job's name : demo
When I go on the url http://localhost:8080/Talend/services/demo?method=runJob
I get the following XML :
--
?
<soapenv:Envelope>
?
<soapenv:Body>
?
<soapenv:Fault>
<faultcode>ns1 0683p000009M9p6.pngerver.NoService</faultcode>
?
<faultstring>
The AXIS engine could not find a target service to invoke! targetService is demo
</faultstring>
?
<detail>
<ns2:hostname>MATTHIEU-GARDE</ns2:hostname>
</detail>
</soapenv:Fault>
</soapenv:Body>
</soapenv:Envelope>
--
Seems like my web service is hiding
I found somewhere a guy who had the same problem, and he had been able to solve it by adding urn: to his url, like this :
http://localhost:8080/Talend/services/urn:demo?method=runJob
But it's not working for me 0683p000009MPcz.png
Some ideas ?
Thanks 0683p000009MA9p.png

PS : actually, I have the same problem than : https://community.talend.com/t5/Archive/Read-FDB-with-TOS/td-p/172527
Anonymous
Not applicable
Author

Hello everybody
Any idea on this monday morning ? 0683p000009MACn.png
Please do not hesitate to tell me I my question is not precise enouth
My jdk is JDK 6 Update 5 with Java EE, shall I have an other one ?
On java.com download page, I have :
- JDK 6 Update 5
- JDK 6 Update 5 with Java EE
- JDK 6 Update 5 with NetBeans 6.0.1
Thanks
Anonymous
Not applicable
Author

Hello maverick
I have test it with the JDK (build 1.6.0_05-b13) and Tomcat (jakarta-tomcat-5.0.28.exe) on TOS (TOS-All-r11699-V2.3.1). It run nomally. I see your note on this topic (forum:10184), your can check the post screen there. And I want your provide more info to help us locate this problem.
thanks.
Anonymous
Not applicable
Author

xtan, thank you very much for your support
I'm working on XP Pro SP2
JDK version : 1.6.0_05
Tomcat version : 5.0.28 (I had 6.0 before and thought the problem was coming from here... but now that I have the 5.0, the problem is still there !)
TOS version : 2.3.1.r11699
My wsdd directory is missing when Tomcat extracts the generated WAR file... I've never been able to make this run correctly
I join some screenshots for you
Thanks again
0683p000009MBaN.jpg