Use webservicequery or httppost or another way in expressions?

We extensively use the process model based smartservice node 'Send Http Request', which I think is part of a plugin.  We would like to start calling some of our internal webservices inside of expressions/SAIL code (and not in a process model).   A coworker has been using the httppost() function available in the webservice plugin.  I tried to implement the native webservicequery() function without much luck.

What is the preferred method for calling webservices via expressions/rules/SAIL?

There appears to be a few different plugins and internal functions for calling webservices, but not a clear indication of why someone should use one over another.

What about the preferred smart service node in a process?  (a coworker has recently been writing her own Java based plugin also)

 

  Discussion posts and replies are publicly visible

  • 1)To Interacting with GET and POST service we have two functions:

    For GET service use httpQuery()

    For POST service use httpWrite()

    we have one more Shared component "Send HTTP Request Plug-in" which provides

    httpget() for GET service ,
    httppost() for posting Appian data to the Web service using POST

    2)for SOAP Web Services use webservicequery(), webservicewrite()
    and we have "Call Web Service" Smart Service

    for RESTful Web Services use a!httpquery(),a!httpwrite()

    Note:In 17.2 we have integration object for RESTful Web Services

    3)In Appian we can expose our service by two types
    1)creating web API (RESTful Web Services)

    2)publish your process model as web service(SOAP Web Services)

    Hope it will help you
  • Appian have an out of the box feature - "integrations" . Try using that.