• Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to deploy and to call a TALEND webservice?

#1 2009-05-11 15:14:39

VTA
New member
Registered: 2009-05-11
Posts: 8

How to deploy and to call a TALEND webservice?

Hi,

I've got some troubles to deploy a webservice.
I follow the instructions at this link: http://www.talendforge.org/wiki/doku.php?id=doc:export_as_webservice

Explanations:
1- My job's aim is to send an e-mail. I used the "tSendMail" process.
    When i run the job from Talend, the e-mail is successfully sent and received.

2- I export my job as an Axis webservice (WAR). My job is successfully exported as a webservice. (.war)


Now my problem is that I don't know how to deploy and to call this webservice in my website (developped in PHP).

The tutorial (available in the link at the top), mentions that Apache Tomcat will automatically deploy the webservice.
However, I don't think that Apache Tomcat is installed in my computer.

So, have you any idea to deploy my webservice without Apache Tomcat, please?

Thank you.

Offline

#2 2009-05-12 13:44:36

kzone
Member
Company: Synotis
Registered: 2008-07-06
Posts: 911
Website

Re: How to deploy and to call a TALEND webservice?

hi,

Applications .war are done to be used on a server j2ee like tomcat that can "read" java code !
You have to deploy such server to use it.

to install apache tomcat go and download last version (I preferer 5.5).

in PHP ,  you can try to use "protocol" Soap ( PHP SOAP Extension and tWebService .

++


do Svg your graphical language !!!

Offline

#3 2009-05-12 14:29:11

VTA
New member
Registered: 2009-05-11
Posts: 8

Re: How to deploy and to call a TALEND webservice?

Thanks a lot for your contribution, kzone.

I used Tomcat and I deployed successfully my webservice.

For persons interested:
To call this webservice, I type this link in my browser "http://localhost:8080/my_job_0.1/services/my_job?method=runJob "
An XML tree appeared in the window and I can read the value of the return (0).
A few seconds later, I received my e-mail.

About SOAP, I will try to understand your tutorial.

Thank you.

Offline

  • Index
  •  » Talend Open Studio for Data Integration » Usage, Operation
  •  » How to deploy and to call a TALEND webservice?

Board footer

Powered by FluxBB