
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Access to web service from other computers in a LAN
Hello,
I have installed Talend ESB container RunTime as a service on a Windows server 2012 R2.
I have created the "Hello world" web service.
It's working on this server :
http://localhost:8088/ gives me
<root>
<Reponse>Hello world !!!</Reponse>
</root>
How can I have access to this "Hello world" web service from other computers in the LAN ?
I have tried to use the name_of_the_server:8088 but it doesn't worked.
What can I do ?
Ben

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Have you tried using the IP address of the machine. If you do not have a DNS or HOSTS files configured properly, machine names will not necessarily work.
Also, it seems strange that your http://localhost:8088 url would work since the ESB Runtime is configured by default to use port 8040 and you would need to a URL similar to this....
http://localhost:8040/services/
....to see a list of your services. A service called "myservice" installed into the Runtime configured as above, would be accessed via this url...
http://localhost:8040/services/myservice

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
when I use http://localhost:8040/services/ I have this :
Available RESTful services:
Endpoint address: http://localhost:8088/
WADL : http://localhost:8088/?_wadl
On the server I have installed Talend ESB, is it the reason why the server use the port 8088 ?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
You got what I would expect you to get when used the url http://localhost:8040/services/. However it looks like you have not promoted your web service to the runtime. It should be listed in the available services.
Are you using the the Open Studio version or the Data Fabric version of Talend ESB?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I'm using Talend Open Studio for ESB Version: 7.2.1
For this job, I have done :
Build job
select OSGI Bundle For ESB
And I have put the generated jar file in the folder : C:\Talend ESB\Runtime_ESBSE\container\deploy

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
That is correct. Now, when you go to http://localhost:8040/services/ you should see your service listed there. If you do not, either the service is not running because of a problem or you have more than one runtime on your machine.
To test to see if the service is running, go to your c:\Talend ESB\Runtime_ESBSE\container\bin folder and run client.bat. This will reveal your Karaf console. Type bundle:list (this could be bundles:list ....I forget and cannot do this right now as I don't have a runtime installed). This will reveal all of the bundles that running in your Karaf. You should see your service there if it is in the deploy folder. It will tell you its status.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Hello,
when I go to http://localhost:8040/services/ I have this message :
HTTP ERROR 404
Problem accessing /services/. Reason:
Not Found
Powered by Jetty:// 9.4.18.v20190429
When I run client.bat in c:\Talend ESB\Runtime_ESBSE\container\bin folder, I have been asked for a password for tadmin
I have seen in users.properties in the folder C:\Talend ESB\Runtime_ESBSE\container\etc
tadmin=tadmin,_g_:admingroup,sl_admin
so, I try with the password tadmin, I have the message "No more authentication methods available"

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
Something has clearly changed as before you said.....
"when I use http://localhost:8040/services/ I have this :
Available RESTful services:"
Now you are saying that you are getting an error when you call that URL. What have you done between then and now?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
I have tried again http://localhost:8040/services/ and I have :
Available RESTful services:
Endpoint address: http://localhost:8088/
WADL : http://localhost:8088/?_wadl
I don't know why it wasn't working before...
