Web Services

An application is using web services and can be accessed by getPro.aspx and listPro.aspx (URL: server:port/.../getPro.aspx)
Using tools like postman, we can access (post and retrieve) the web services without authentication or any further attributes other than the URL.
If we do a get, we can pass parameters to get specific information.
1. How could I use these in Appian Web Service Smart service or HTTP Query Smart service or scripting.
a. retrieve information (GET) from the web service
b. post information (POST) from Appian to the web service

2. set up a web service listener in Appian to accept data posted by the other application web service which triggers
a. Save to database
b. Initiate a process model

OriginalPostID-266881

  Discussion posts and replies are publicly visible

Parents
  • 0
    Certified Lead Developer
    @eltonr we have few expressions which will help you, interacting with GET and POST service

    For GET
    =======
    httpQuery()

    For POST
    ==========
    httpWrite()

    However we have some additional Shared component, which makes our job more easy, named as "Send HTTP Request Plug-in" which provides httpget() for retrieving information from GET, httppost() for posting information from Appian to the Web service using POST

    Please explain point no: 2 in detail
Reply
  • 0
    Certified Lead Developer
    @eltonr we have few expressions which will help you, interacting with GET and POST service

    For GET
    =======
    httpQuery()

    For POST
    ==========
    httpWrite()

    However we have some additional Shared component, which makes our job more easy, named as "Send HTTP Request Plug-in" which provides httpget() for retrieving information from GET, httppost() for posting information from Appian to the Web service using POST

    Please explain point no: 2 in detail
Children
No Data