Changes for page WebService
Last modified by hamza bayoud on 2023/11/09 09:40
Change comment:
There is no comment for this version
Summary
-
Page properties (1 modified, 0 added, 0 removed)
-
Attachments (0 modified, 5 added, 0 removed)
Details
- Page properties
-
- Content
-
... ... @@ -47,7 +47,7 @@ 47 47 NB2: After inserting the message into the envelope, the final message must be in JSON format, otherwise an error will be generated! 48 48 49 49 50 -==== LACONFIGURATIONDU WEB SERVICE: ====50 +==== WEB SERVICE CONFIGURATION : ==== 51 51 52 52 The 'WebService' connector is configured as follows: 53 53 ... ... @@ -56,7 +56,7 @@ 56 56 57 57 * **Config**: The preconfigured remote web service configuration. 58 58 * **Dynamic Envelope**: Specifies whether the envelope is dynamic or not: 59 -** Dynamic Envelope: Specifies that the envelope comes from a dynamic file (which will be generated globally by the 'XMLToBIN' connector , which we will detail later in the documentation).59 +** Dynamic Envelope: Specifies that the envelope comes from a dynamic file (which will be generated globally by the 'XMLToBIN' connector). 60 60 ** Non-dynamic Envelope: Specifies that the envelope comes from a previously uploaded static file. 61 61 * **Envelope**: Two cases arise: 62 62 ** If the envelope is dynamic: Then the parameter becomes a text field to specify the name of the connector that we want to consider as an envelope (usually an 'XMLToBIN ... ... @@ -66,7 +66,25 @@ 66 66 The 'WebService' connector returns a file containing the response from the REST call made. 67 67 68 68 69 +=== EXEMPLE : === 69 69 71 +**1//__.ENVELOPPE STATIQUE : __//** 70 70 73 +[[image:1699441020429-173.png]] 71 71 72 - 75 +In this example, we will make a call to the Postman remote API with a static envelope, and with the input file for the scenario (which is always named 'inputFile'). 76 + 77 + 78 +[[image:1699441054286-201.png]] 79 + 80 + 81 +We will base ourselves on a fixed envelope, which is a simple JSON: 82 + 83 +[[image:1699441132525-298.png]] 84 + 85 + 86 +The %DATA64% will be replaced by the content of the file received by the 'SFTPListener' connector encoded. 87 + 88 +The logs from sessions prove that the data was indeed encoded correctly. 89 + 90 +[[image:1699441283363-510.png]]
- 1699440926137-738.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hbayoud - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.3 KB - Content
- 1699441020429-173.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hbayoud - Size
-
... ... @@ -1,0 +1,1 @@ 1 +23.8 KB - Content
- 1699441054286-201.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hbayoud - Size
-
... ... @@ -1,0 +1,1 @@ 1 +17.9 KB - Content
- 1699441132525-298.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hbayoud - Size
-
... ... @@ -1,0 +1,1 @@ 1 +8.3 KB - Content
- 1699441283363-510.png
-
- Author
-
... ... @@ -1,0 +1,1 @@ 1 +XWiki.hbayoud - Size
-
... ... @@ -1,0 +1,1 @@ 1 +103.9 KB - Content