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
  • @aloks176, can't say for sure. My experience is as follows:
    I have Appian on my local desktop (and its in a local network of the company). I was not able to access webservices hosted on the global Internet. But I was able to access them from SOAPUI and Postman.
    Then, I changed one setting in standalone.conf.bat. I added values for http.poxy and http.port for proxy settings. It then started to work from Appian functions also. It means Java had to be informed about the proxy on my machine.

    I believe the same configuration should also work for web service hosted within the local network. In my case, I was trying to call web service hosted outside our local network which was not working(but started working after I edited standalone.conf.bat and restarted JBoss).

    In your case, the web service is in the local network itself and it still is not working.. So, not sure about the issue.
Reply
  • @aloks176, can't say for sure. My experience is as follows:
    I have Appian on my local desktop (and its in a local network of the company). I was not able to access webservices hosted on the global Internet. But I was able to access them from SOAPUI and Postman.
    Then, I changed one setting in standalone.conf.bat. I added values for http.poxy and http.port for proxy settings. It then started to work from Appian functions also. It means Java had to be informed about the proxy on my machine.

    I believe the same configuration should also work for web service hosted within the local network. In my case, I was trying to call web service hosted outside our local network which was not working(but started working after I edited standalone.conf.bat and restarted JBoss).

    In your case, the web service is in the local network itself and it still is not working.. So, not sure about the issue.
Children
No Data