|
1 | 1 | ---
|
2 |
| -title: Import SOAP API using the Azure portal | Microsoft Docs |
3 |
| -description: Learn how to import a standard XML representation of a SOAP API, and then test the API in the Azure and Developer portals. |
| 2 | +title: Import SOAP API to Azure API Management using the portal | Microsoft Docs |
| 3 | +description: Learn how to import a SOAP API to Azure API Management as a WSDL specification. Then, test the API in the Azure portal. |
4 | 4 | author: dlepow
|
5 | 5 | ms.service: api-management
|
6 | 6 | ms.topic: how-to
|
7 |
| -ms.date: 02/10/2022 |
| 7 | +ms.date: 03/01/2022 |
8 | 8 | ms.author: danlep
|
9 | 9 |
|
10 | 10 | ---
|
11 |
| -# Import SOAP API |
| 11 | +# Import SOAP API to API Management |
12 | 12 |
|
13 |
| -This article shows how to import a standard XML representation of a SOAP API. The article also shows how to test the API Management API. |
| 13 | +This article shows how to import a WSDL specification, which is a standard XML representation of a SOAP API. The article also shows how to test the API in API Management. |
14 | 14 |
|
15 | 15 | In this article, you learn how to:
|
16 | 16 |
|
17 | 17 | > [!div class="checklist"]
|
18 |
| -> * Import SOAP API |
| 18 | +> * Import a SOAP API |
19 | 19 | > * Test the API in the Azure portal
|
20 | 20 |
|
| 21 | +[!INCLUDE [api-management-wsdl-import](../../includes/api-management-wsdl-import.md)] |
| 22 | + |
21 | 23 | ## Prerequisites
|
22 | 24 |
|
23 | 25 | Complete the following quickstart: [Create an Azure API Management instance](get-started-create-service-instance.md)
|
24 | 26 |
|
25 | 27 | [!INCLUDE [api-management-navigate-to-instance.md](../../includes/api-management-navigate-to-instance.md)]
|
26 | 28 |
|
27 |
| -## <a name="create-api"> </a>Import and publish a back-end API |
28 |
| - |
29 |
| -1. Navigate to your API Management service in the Azure portal and select **APIs** from the menu. |
30 |
| -2. Select **WSDL** from the **Add a new API** list. |
31 |
| - |
32 |
| -  |
33 |
| -3. In the **WSDL specification**, enter the URL to where your SOAP API resides. |
34 |
| -4. The **SOAP pass-through** radio button is selected by default. With this selection, the API is going to be exposed as SOAP. Consumer has to use SOAP rules. If you want to "restify" the API, follow the steps in [Import a SOAP API and convert it to REST](restify-soap-api.md). |
35 |
| - |
36 |
| -  |
37 |
| -5. Press tab. |
| 29 | +## <a name="create-api"> </a>Import and publish a backend API |
38 | 30 |
|
39 |
| - The following fields get filled up with the info from the SOAP API: Display name, Name, Description. |
40 |
| -6. Add an API URL suffix. The suffix is a name that identifies this specific API in this API Management instance. It has to be unique in this API Management instance. |
41 |
| -7. Publish the API by associating the API with a product. In this case, the "*Unlimited*" product is used. If you want for the API to be published and be available to developers, add it to a product. You can do it during API creation or set it later. |
| 31 | +1. From the left menu, under the **APIs** section, select **APIs** > **+ Add API**. |
| 32 | +1. Under **Create from definition**, select **WSDL**. |
42 | 33 |
|
43 |
| - Products are associations of one or more APIs. You can include a number of APIs and offer them to developers through the developer portal. Developers must first subscribe to a product to get access to the API. When they subscribe, they get a subscription key that is good for any API in that product. If you created the API Management instance, you are an administrator already, so you are subscribed to every product by default. |
| 34 | +  |
| 35 | +1. In **WSDL specification**, enter the URL to your SOAP API, or click **Select a file** to select a local WSDL file. |
| 36 | +1. In **Import method**, **SOAP pass-through** is selected by default. |
| 37 | + With this selection, the API is exposed as SOAP, and API consumers have to use SOAP rules. If you want to "restify" the API, follow the steps in [Import a SOAP API and convert it to REST](restify-soap-api.md). |
44 | 38 |
|
45 |
| - By default, each API Management instance comes with two sample products: |
| 39 | +  |
| 40 | +1. The following fields are filled automatically with information from the SOAP API: **Display name**, **Name**, **Description**. |
| 41 | +1. Enter other API settings. You can set the values during creation or configure them later by going to the **Settings** tab. |
46 | 42 |
|
47 |
| - * **Starter** |
48 |
| - * **Unlimited** |
49 |
| -8. Enter other API settings. You can set the values during creation or configure them later by going to the **Settings** tab. The settings are explained in the [Import and publish your first API](import-and-publish.md#import-and-publish-a-backend-api) tutorial. |
50 |
| -9. Select **Create**. |
| 43 | + For more information about API settings, see [Import and publish your first API](import-and-publish.md#import-and-publish-a-backend-api) tutorial. |
| 44 | +1. Select **Create**. |
51 | 45 |
|
52 | 46 | ### Test the new API in the portal
|
53 | 47 |
|
54 |
| -Operations can be called directly from the administrative portal, which provides a convenient way to view and test the operations of an API. |
| 48 | +Operations can be called directly from the portal, which provides a convenient way to view and test the operations of an API. |
55 | 49 |
|
56 | 50 | 1. Select the API you created in the previous step.
|
57 | 51 | 2. Press the **Test** tab.
|
58 | 52 | 3. Select some operation.
|
59 | 53 |
|
60 |
| - The page displays fields for query parameters and fields for the headers. One of the headers is "Ocp-Apim-Subscription-Key", for the subscription key of the product that is associated with this API. If you created the API Management instance, you are an administrator already, so the key is filled in automatically. |
| 54 | + The page displays fields for query parameters and fields for the headers. One of the headers is **Ocp-Apim-Subscription-Key**, for the subscription key of the product that is associated with this API. If you created the API Management instance, you're an administrator already, so the key is filled in automatically. |
61 | 55 | 1. Press **Send**.
|
62 | 56 |
|
63 |
| - Backend responds with **200 OK** and some data. |
| 57 | + When the test is successful, the backend responds with **200 OK** and some data. |
64 | 58 |
|
65 | 59 | ## Wildcard SOAP action
|
66 | 60 |
|
|
0 commit comments