Understanding the Configuration
The following shared resources are defined in the project:
- The Incoming HTTP Request process starter listens on the connection specified in
ListeningHTTPConnection.httpConnResource
. Therequest_news.html
file contains a form and clicking the Get News from Wiki! button sends the corresponding text string to the Incoming HTTP Request activity. - The conditional transition routes the request to the
Send HTTP Request
activity, which sends the request to the host using theListeningHTTPConnection
. After receiving a response from the remote site, theSend HTTP Response
activity closes the HTTP Connection established by the Incoming HTTP Request process starter. - An internet connection is required for the sample to connect to Wiki News. The
ListeningHTTPConnection
listens onBW.CLOUD.PORT
(default value 8080).