You are not logged in.
Announcement
Unanswered posts
|
Pages: 1
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
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 .
++
Offline
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
Pages: 1