Invoke Rest Service

Certified Lead Developer
Hi,
I have a requirement, where n number of systems are connected in a local network with a common server where Appian is running and getting access by all other systems in that network. Now I build a Rest service which expects few FormParam to be send as POST call, in order to invoke that service, currently that service is running in a particular system of the network rather than the main server system where Appian is running, when I invoke this service using SoapUI it getting invoke properly but when I try to invoke the same service using Appian either by using httppost , or httpwrite function or by using httpQuery smart service, it's is unable to hit the service , it's getting time out after few minutes. is it needed to deploy the service also in the same server system where Appian is been installed, because if so then it's tightly coupled. please suggest me, where to deploy the service so...

OriginalPostID-257739

  Discussion posts and replies are publicly visible

Parents
  • Try one thing: see if you can use a!httpquery function to call the web service at http://up.jsontest.com
    See if you are getting a response.
    If not, it is likely that you are behind a corporate proxy/firewall and the Appian server is also behind the corporate proxy/firewall.
    In that case, the JVM options when Appian starts should be enabled with proxy options.
    You can set those options in standalone.conf.bat and restart JBoss. It should work then. Just google for setting proxy options for JVM.
Reply
  • Try one thing: see if you can use a!httpquery function to call the web service at http://up.jsontest.com
    See if you are getting a response.
    If not, it is likely that you are behind a corporate proxy/firewall and the Appian server is also behind the corporate proxy/firewall.
    In that case, the JVM options when Appian starts should be enabled with proxy options.
    You can set those options in standalone.conf.bat and restart JBoss. It should work then. Just google for setting proxy options for JVM.
Children
No Data