Do not input private or sensitive data. View Qlik Privacy & Cookie Policy.
Skip to main content

Announcements
Want to see what's currently in public preview? We've pulled it all together in one place. Check it out here
cancel
Showing results for 
Search instead for 
Did you mean: 
Anonymous
Not applicable

Issue deploying a rest service on a Windows Server

Hi All,

 

I'm new with TOS ESB and work with the community version. I've developed a REST service which works fine on my local machine (checked on SoapUi with the following url : http://localhost:8088/transport/order/123456). I've created my job (.jar for OSGi container) and copied it in the Runtime_ESBSE\container\deploy directory on a Windows 2012R2 server. When I check the karaf webconsole, I can see my job (status = active) and everything seems to be fine. When I try to invoke my REST service on the server with SoapUI (http://localhost:8088/transport/order/123456) everything is ok,I retrieve my data but when I try to invoke the REST service deployed on the distant server from my local machine (http://my-server:8088/transport/order/123456), I get the following error : Socket is not connected.

 

Additional info :

- I've stopped Windows 2012R2 server firewall

- I've added the following option on the header properties of the tRESTResponse component : Name = "Access-Control-Allow-Origin" - Value = "*"

- The endpoint REST on the tRESTRequest is : http://localhost:8088/transport/order

 

Does someone have an idea to help me ?

Many thanks

Labels (2)
10 Replies
Anonymous
Not applicable
Author

Ok, I'll look at this configuration file.

Thanks again for your help !

 

Best regards