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
  • 0
    Certified Lead Developer
    @Chetany Thanks for you response.

    I tried calling above mention service using httpQuery as well as using Smart Service, and both worked well, as it's a GET call so this does not require any FormParam, but the service which i have build is of POST and needed to send few FormParam in order to invoke it. Even i tested my service by creating a REST Client in Java as well as in SOAPUI as mention earlier, here also this gets invokes well and working as expected.

    Any suggestion, what could be the cause behind Appian unable to invoke the Service
Reply
  • 0
    Certified Lead Developer
    @Chetany Thanks for you response.

    I tried calling above mention service using httpQuery as well as using Smart Service, and both worked well, as it's a GET call so this does not require any FormParam, but the service which i have build is of POST and needed to send few FormParam in order to invoke it. Even i tested my service by creating a REST Client in Java as well as in SOAPUI as mention earlier, here also this gets invokes well and working as expected.

    Any suggestion, what could be the cause behind Appian unable to invoke the Service
Children
No Data