Skip to content

Commit 8add504

Browse files
committed
Rename attachments
1 parent 686eb10 commit 8add504

36 files changed

+33
-33
lines changed

content/en/docs/refguide/modeling/integration/web-services/published-web-services/expose-a-web-service.md

Lines changed: 11 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ This how-to was written based on Studio Pro 9.24. All the images, names, and ste
3030

3131
1. Create the following **Customer** entity in your domain model (for details on how to create an entity, see [Configuring a Domain Model](/refguide/configuring-a-domain-model/)):
3232

33-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/8945665.png" class="no-border" >}}
33+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/entity.png" class="no-border" >}}
3434

3535
2. Create overview and detail pages to manage objects of the **Customer** type (for details on how to create overview and detail pages, see [How to Create Your First Two Overview and Detail Pages](/howto/front-end/create-your-first-two-overview-and-detail-pages/)).
3636
3. Create a menu item to access the customer overview page (for details on how to create menu items, see [Setting Up Navigation](/refguide/setting-up-the-navigation-structure/)).
@@ -44,16 +44,16 @@ To create a published web service, follow these steps:
4444

4545
2. In the **Add Published Web Service** window, enter *CustomerWebService* for the **Name**, then click **OK**:
4646

47-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581728.png" class="no-border" >}}
47+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/add-service.png" class="no-border" >}}
4848

4949
3. You should now see the **Published Web Service** properties window. Take note of the following tab details:
5050
* On the **Operations** tab, you can see the available operations of the web service (currently, the list is empty, so an operation will be added in the section [Publishing a Microflow](#publish-a-microflow), below):
5151

52-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581713.png" class="no-border" >}}
52+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/operations-tab.png" class="no-border" >}}
5353

5454
* On the **Settings** tab, you can configure the other settings. Do change them before publishing your web service, especially the **Target namespace** (for details on these settings, see [Published Web Service](/refguide/published-web-service/)):
5555

56-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581712.png" class="no-border" >}}
56+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/settings-tab.png" class="no-border" >}}
5757

5858
4. Click **OK**.
5959

@@ -64,11 +64,11 @@ To create the functionality to expose, follow these steps:
6464
1. Create a microflow that retrieves and returns a list of customers from the database (for details on how to create a microflow, see [Triggering a Microflow From a Menu Item](/refguide/triggering-microflow-from-menu-item/)).
6565
2. Add two input parameters to dynamically set the range settings of the retrieve action. Configure the range options of the retrieve action like this:
6666

67-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581709.png" class="no-border" >}}
67+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/input-parameters.png" class="no-border" >}}
6868

6969
Reference this microflow:
7070

71-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/model.jpg" class="no-border" >}}
71+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/reference-microflow.jpg" class="no-border" >}}
7272

7373
If you get any errors, you will need to mark the input parameters in the **Operations** > **Parameters** section of the service document as **Optional** and **Nillable** (see the following section.)
7474

@@ -78,11 +78,11 @@ To publish a microflow, follow these steps:
7878

7979
1. Right-click somewhere in the background of the microflow and select **Publish as Web service operation**:
8080

81-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581708.png" class="no-border" >}}
81+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/publish-as-operation.png" class="no-border" >}}
8282

8383
2. Locate the web service created in [Creating a Published Web Service](#create-published-web-service) and click **Select**:
8484

85-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581723.png" class="no-border" >}}
85+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/locate-service.png" class="no-border" >}}
8686

8787
3. You should now see the **Operation Operation** properties editor. Take note of the following tab details:
8888

@@ -92,7 +92,7 @@ To publish a microflow, follow these steps:
9292

9393
4. Click **Select...** to select which attributes and associations of the return object **Customer** you want to expose:
9494

95-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581704.png" class="no-border" >}}
95+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/select-attributes.png" class="no-border" >}}
9696

9797
5. Select the members you want to expose and click **OK**. Only the selected members will be returned by the web service.
9898
6. Click **OK** to save the operation.
@@ -109,7 +109,7 @@ To get a WSDL, follow these steps:
109109
* If you run the application in a Free App environment, the application URL should look like this: `https://myfirstapp.mendixcloud.com/index.html`
110110
3. In both of the above cases, you can replace `/index.html` with `/ws-doc/` to open the web service documentation page:
111111

112-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581703.png" class="no-border" >}}
112+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/service-page.png" class="no-border" >}}
113113

114114
You should see the name of your web service in the list.
115115
4. Click the "WSDL schema" URL to open the WSDL. This WSDL can be given to others so they can interact with your web service.
@@ -121,7 +121,7 @@ To change the user authentication, follow these steps:
121121
1. Double-click the published web service in the **App Explorer**.
122122
2. In the **Published Web Service** properties window, open the **Settings** tab. Because **No Authentication** is set, current users of the web service do not need to authenticate:
123123

124-
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/18581702.png" class="no-border" >}}
124+
{{< figure src="/attachments/refguide/modeling/integration/web-services/expose-a-web-service/authentication.png" class="no-border" >}}
125125

126126
3. Change **Authentication** to **Username and password**.
127127

content/en/docs/refguide/modeling/integration/web-services/published-web-services/operations.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@ An operation has the properties described below.
1313

1414
## General
1515

16-
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/16843884.png" class="no-border" >}}
16+
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/general.png" class="no-border" >}}
1717

1818
### Name
1919

@@ -29,7 +29,7 @@ Describes the operation and is included in the WSDL.
2929

3030
## Parameters
3131

32-
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/16843879.png" class="no-border" >}}
32+
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/parameters.png" class="no-border" >}}
3333

3434
### Microflow Parameter
3535

@@ -59,7 +59,7 @@ This is available when the parameter is a list, and can be used to name the obje
5959
The `CountCarsAndHp` operation takes a non-optional list of vehicles as a parameter, which is called *VehicleList* and consists of objects called *Vehicle*. This information is based on the microflow and entity model, but can be modified.
6060
{{% /alert %}}
6161

62-
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/918221.png" class="no-border" >}}
62+
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/microflow-example.png" class="no-border" >}}
6363

6464
The microflow attached to the `CountCarsAndHp` operation. It takes a list of objects of the entity Vehicle as input and returns an object that holds the number of cars and the total amount of horsepower of those cars.
6565

@@ -76,7 +76,7 @@ If you click **Select** in the **Parameter** tab, you can select individual memb
7676
| All nillable | Checks the Nillable box on every expanded node and visible leaf node. |
7777
| All non-nillable | Unchecks the Nillable box on every expanded node and visible leaf node. |
7878

79-
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/16843878.png" class="no-border" >}}
79+
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/attributes.png" class="no-border" >}}
8080

8181
Here you can select which members of the entity can be passed and/or are optional or nillable, as well as set their names. Note that checking **Optional** or **Nillable** on the root element has no effect; set these values in the operation editor.
8282

@@ -112,6 +112,6 @@ This determines if the element in the XML is sent as nil if the return value is
112112

113113
Optional and Nillable cannot both be checked.
114114

115-
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/16843880.png" class="no-border" >}}
115+
{{< figure src="http://attachments/refguide/modeling/integration/web-services/operations/nillable.png" class="no-border" >}}
116116

117117
Here, you can see an optional Order entity set as the return type of the operation ReturnsOrder.

content/en/docs/refguide/modeling/integration/web-services/testing-web-services-using-soapui.md

Lines changed: 17 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -39,11 +39,11 @@ In [Expose a Web Service](/howto/integration/expose-a-web-service/), you publish
3939
1. Open the app you created in [How to Expose a Web Service](/howto/integration/expose-a-web-service/).
4040
2. Create a microflow that creates a customer and returns a Boolean:
4141

42-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/model1.jpg" class="no-border" >}}
42+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/microflow-return.jpg" class="no-border" >}}
4343

4444
3. Create a microflow that deletes a customer and returns a Boolean:
4545

46-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/model2.jpg" class="no-border" >}}
46+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/microflow-delete.jpg" class="no-border" >}}
4747

4848
4. Publish both microflows as web service operations of the **CustomerWebService** as described in [How to Expose a Web Service](/howto/integration/expose-a-web-service/).
4949

@@ -55,10 +55,10 @@ In this section, you will create a new SOAP project.
5555
2. Press <kbd>Ctrl</kbd> + <kbd>N</kbd> to create a new SOAP project.
5656
3. Run your app locally in Studio Pro.
5757
4. Go to `http://localhost:8080/ws-doc/`.
58-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580314.png" class="no-border" >}}
58+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/local-host.png" class="no-border" >}}
5959
5. Enter the URL of the WSDL schema in the **Initial WSDL** field in SoapUI.
6060
The **Project Name** field will automatically be filled with the name of the web service, followed by *?wsdl*.
61-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580334.png" class="no-border" >}}
61+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/initial-wsdl.png" class="no-border" >}}
6262
6. Click **OK**. This will create a new SOAP project in SoapUI.
6363

6464
## Building a TestSuite, TestCase, and TestStep
@@ -68,21 +68,21 @@ In this section, you will build a TestSuite. A TestSuite contains one or more Te
6868
1. In SoapUI, press <kbd>Ctrl</kbd> + <kbd>T</kbd> to create a new TestSuite. You can use the given name `TestSuite 1.
6969
2. Click **OK**.
7070
3. Select `TestSuite 1` and press <kbd>Ctrl</kbd> + <kbd>N</kbd> to create a new TestCase.
71-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580331.png" class="no-border" >}}
71+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/testcase.png" class="no-border" >}}
7272
4. Click **OK**.
7373
5. Expand TestSuite 1 and TestCase 1.
7474
6. Right-click **Test Steps(0)** and select **SOAP Request**.
75-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580312.png" class="no-border" >}}
75+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/soap-request.png" class="no-border" >}}
7676
7. Enter *Retrieve Customers* in the name field.
77-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580329.png" class="no-border" >}}
77+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/retrieve-customers.png" class="no-border" >}}
7878
8. Click **OK**.
7979
9. Select **CustomerWebserviceSoap -> GetCustomers**.
80-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580328.png" class="no-border" >}}
80+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/get-customers.png" class="no-border" >}}
8181
10. Click **OK**.
82-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580327.png" class="no-border" >}}
82+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/add-request.png" class="no-border" >}}
8383
11. Click **OK**.
8484
12. Open SOAP request **Retrieve Customers**.
85-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580326.png" class="no-border" >}}
85+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/open-soap-request.png" class="no-border" >}}
8686
13. Change the follow value:
8787

8888
```java
@@ -137,15 +137,15 @@ In this section, you will build a TestSuite. A TestSuite contains one or more Te
137137
Assertions are used to validate the message received by a TestStep during execution, usually by comparing parts of the message (or the entire message) to some expected value. In this section, you will create an assertion that validates the number of customers.
138138

139139
1. Click **Assertions (1)**.
140-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580307.png" class="no-border" >}}
140+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/assertions.png" class="no-border" >}}
141141
In chapter 3 step 9 the *Add SOAP Response Assertion* checkbox was checked. That is the first assertion you see in the list, *SOAP Response - VALID*.
142142
2. Click the add assertion icon.
143-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580324.png" class="no-border" >}}
143+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/assertion-icon.png" class="no-border" >}}
144144
3. Click **Property Content**.
145145
4. Click **XPath Match**.
146146
5. Enter *count(//Customer)* in the XPath Expression field.
147147
6. In step 1.4 of the previous how-to, you added some data. Enter the number of created customers in the **Expected Result** field. In this example, four customers were created.
148-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580323.png" class="no-border" >}}
148+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/expected-result.png" class="no-border" >}}
149149
7. Click **Save**.
150150

151151
## Extending Your Test Case
@@ -176,11 +176,11 @@ In this section, you will extend your TestCase with multiple test steps and asse
176176
```
177177

178178
3. Add a **Contains Assertion** and enter *true* in the content field.
179-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580322.png" class="no-border" >}}
179+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/contains-assertion.png" class="no-border" >}}
180180
4. Right-click TestStep **Retrieve Customers**.
181181
5. Select **Clone TestStep**.
182182
6. Change **TestStep Name** to *Retrieve Customers 2*.
183-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580320.png" class="no-border" >}}
183+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/retrieve-customers-2.png" class="no-border" >}}
184184
7. Click **OK**.
185185
8. Open TestStep **Retrieve Customers 2**.
186186
9. Click **Assertions (2)**.
@@ -209,9 +209,9 @@ In this section, you will extend your TestCase with multiple test steps and asse
209209
In this section, you will learn how to run the TestCase you created in previous chapters.
210210

211211
1. Open TestCase **TestCase 1**.
212-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580310.png" class="no-border" >}}
212+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/testcase-2.png" class="no-border" >}}
213213
2. Click the run this TestCase icon.
214-
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/18580309.png" class="no-border" >}}
214+
{{< figure src="/attachments/refguide/modeling/integration/web-services/testing-web-services-using-soapui/testcase-icon.png" class="no-border" >}}
215215

216216
Congratulations! You have created your first automated test with SoapUI.
217217

0 commit comments

Comments
 (0)