You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/use-platform-supported-content/business-event-services.md
+2-2Lines changed: 2 additions & 2 deletions
Original file line number
Diff line number
Diff line change
@@ -27,14 +27,14 @@ Business event services in are defined centrally by one app for a specific use c
27
27
28
28
To create a new business service, right-click on a module in your app and go to **Add other** > **Business event service** > **Create a new business event service**. The business event service document is open in Studio Pro:
See the [Creating a New Business Event Service](/appstore/services/business-events/#two-way-be-create) section of *Mendix Business Events* for more information.
33
33
34
34
##### Using an Existing Business Event Service {#use-existing}
35
35
36
36
To create a new business service, right-click on a module in your app and go to **Add other** > **Business event service** > **Use an existing business event service**. After importing the YAML file, the business event service document is open in Studio Pro:
See the [Using an Existing Business Event Service](/appstore/services/business-events/#two-way-be-existing) section of *Mendix Business Events* for more information.
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/web-services/consumed-web-services/consume-a-complex-web-service.md
+9-9Lines changed: 9 additions & 9 deletions
Original file line number
Diff line number
Diff line change
@@ -26,52 +26,52 @@ To import a web service directly, follow these steps:
26
26
2. Specify a name for the new consumed web service and click **OK**.
27
27
3. In the **Consumed Web Service** box, specify the **WSDL Source** to be use this consumed web service. Click **Edit**, and in the **WSDL Source** dialog box, specify a **URL** or load a **File** from your computer.
4. Click **Import** to fetch the services and operations in the WSDL. If prompted, in the **WSDL Source** dialog box, select the ports you want to use and click **OK**.
32
32
33
33
5. In the **Consumed web service** screen, review the **Services** and **Operations** available to the imported web service. If you click on any of the operations, information about the operation will be displayed in the right pane. You can select individual web service operations from the list, otherwise the whole service and operation will be imported:
To configure the web service call, follow these steps:
40
40
41
41
1. If you did not use the web service wizard or did not use the option in the wizard to automatically create a microflow, create a microflow that will call the imported web service:
{{% alert color="info" %}}Make sure the microflow either creates the variables required as arguments for the web service call or has them passed to it.{{% /alert %}}
46
46
47
47
2. If you are creating your own microflow, add the [Call web service](/refguide/call-web-service-action/) activity to the microflow. For details on how to add activities to a microflow, see [Activities](/refguide/activities/).
48
48
3. Double-click the activity to open the **Call Web Service** properties editor and in the **Operation** field, click **Select**.
49
49
4. In the **Select Web Service Operation** dialog box, you can select the operation for this web service call:
50
50
51
-
{{< figure src="/attachments/refguide/modeling/integration/consume-a-complex-web-service/select-web-service-op.png" alt="select web service op" class="no-border" width="700" >}}
51
+
{{< figure src="/attachments/refguide/modeling/integration/web-services/consume-a-complex-web-service/select-web-service-op.png" alt="select web service op" class="no-border" width="700" >}}
52
52
53
53
5. In the **SOAP Request Body** tab of the **Call Web Service** properties editor, you can configure the SOAP body. This contains the parameters needed to execute the web service request. The **Simple**, **Export Mapping**, and **Custom** options enable you to select the type of SOAP body to use. Click **Edit value** and use one of the following to change the domain-to-XML mapping or the variables from the microflow used as input arguments:
54
54
***Simple expressions for each request parameter** — if the imported web service requires only primitive arguments:
***Export mappings for each request parameter** or **Export mapping for the entire request** — if the domain model entities need to be mapped to XML elements
59
59
***Custom request template** — for the definition of a custom XML body with parameters:
6. In the **HTTP Headers** tab, if the Mendix Runtime should use HTTP authentication before calling the web service, check **Use HTTP authentication** and enter the **User name** and **Password** using the **Edit** buttons:
Copy file name to clipboardExpand all lines: content/en/docs/refguide/modeling/integration/web-services/consumed-web-services/consume-a-simple-web-service.md
+13-13Lines changed: 13 additions & 13 deletions
Original file line number
Diff line number
Diff line change
@@ -29,11 +29,11 @@ To import a WSDL, follow these steps:
29
29
3. On the **Consumed Web Service** screen, click **Edit**. Enter `https://www.w3schools.com/xml/tempconvert.asmx?wsdl` as the **URL** and click **Import**.
30
30
4. The **Select Ports** dialog box is displayed for selecting a web service port:
5. Click **OK** to select the default, then click **OK** to close the **WSDL Source** dialog. The operations **CelsiusToFahrenheit** and **FahrenheitToCelsius** are imported into the app:
8. Drag a **Call web service** activity from the toolbox and add it to the microflow just before the end event.
62
62
9. Double-click this activity to open the **Call Web Service** properties editor. For the **Operation** of your consumed web service, click **Select**. Expand the **TemperatureConverter** web service and under **TempConvert**, click **CelsiusToFahrenheit** > **Select**:
10. In the **Location** section for this operation, check the **Override location** box to override the location and use the secure location of the web service.
67
67
11. Click **Edit** and change `http` to `https` for the URL in the **Location** editor, then click **OK**.
68
68
12. In the **SOAP Request Body** tab of the **Call Web Service** properties editor, double-click the **Celsius (optional)** input parameter and enter `toString($TemperatureInCelsius)` for the expression, as the web service operation expects a string value. Then, click **OK**.
15. Drag a **Show message** activity from the **Toolbox** to the line before the end event.
81
81
16. Double-click the new activity to open the **Show Message** dialog box.
82
82
83
83
17. Select **Information** as the **Type**, and enter *The temperature in Fahrenheit is: {1}* for the **Template**. The *{1}* functions as a placeholder for the parameters.
18. Create a new parameter and enter `$TemperatureInFahrenheit` for the expression (this is the return value of the web service operation) and click **OK**:
20. Create a menu item that triggers this microflow. For details on how to create a menu item, see [Setting Up Navigation](/refguide/setting-up-the-navigation-structure/).
0 commit comments