Call Internal Webservice
Description
This part allows users to enable their logicnet-based application to perform a web service call to a webservice that is hosted on the same installation. Please use the call webservice part if a webservice is hosted elsewhere.
Use
The call internal webservice part is available from the "web services" option in a process node. When you select the part, enter the connection information for the webservice to which to connect. The system can store the response in the application context.
Editor Fields
| Field |
Description/Use |
Type/Options |
Optional/Mandatory |
| Result code path |
This is the path of the data object in which the result code will be saved. |
Data Object |
Mandatory |
| Response path |
This is the path of the data object in which the response will be saved. |
Data Object |
Mandatory |
| Trace full request and response |
Check this box to have the full request and response data output to debug tracing (only traced if debug tracing is enabled). |
Checkbox |
Optional |
| Method |
This is the call method associated with the particular web service. |
GET | POST |
Mandatory |
| Path |
This is the path of the web service call. |
Text |
Optional |
| Content type |
This is the content type for the web service call. |
Text |
Optional |
| Soap action |
This is the SOAP soap action of the web service call. |
Text |
Optional |
| Maximum redirects |
This is the maximum number of redirects the system should allow for the web service call. |
Number |
Optional |
| Custom headers |
This is where the user enters any customized headers the system should add to the web service call. |
Collection |
Optional |
| Request |
This field is only required when the method is set to "POST". It is the request that the system should send. |
Text |
Optional |
| Asynchronously |
Yes: Call the webservice asynchronously. |
Yes | No |
Mandatory |
| Worker-handle |
This is only required when "Asynchronously" is set to "Yes". It is the name of the worker handle to handle the asynchronous web service call. |
Text |
Optional |
Example
To see the Call Internal Webservice part working, download the example projects in your workspace.
Reply
Content aside
- 4 yrs agoLast active
- 37Views
-
3
Following
