This documentation is for WSO2 API Manager 2.6.0. View documentation for the latest release.

All docs This doc
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

Version 1 Next »

WSO2 API Manager supports the management of both REST and SOAP APIs. 

In this tutorial, we create and publish an API with a SOAP endpoint and then invoke it using the integrated API Console. 

See the following topics for a description of the concepts that you need to know when invoking an API:

Let's get started.

  1. Log in to the API Publisher and click ADD NEW API.
  2. Select the option to design an API with an existing SOAP endpoint, select Pass Through, give the endpoint URL and click Start Creating.

    This example uses the WSDL from CDYNE as the endpoint here, but you can use any SOAP backend of your choice.

  3. The Design tab of the API opens. Give the information in the table below and click Next: Implement > to proceed to the implementation phase.

    Sample value



  4. Click the Managed API option.
  5. Select HTTP/SOAP Endpoint, provide the production endpoint (in this example,, and click Manage.
  6. In the Manage tab, select the Gold tier, scroll down and click Save & Publish.

    If you wish to add scopes to the resources that were created, click Add Scopes and specify the scopes you want to add. If you specify a scope, you need to use the same scope when generating access tokens for the subscribed application and when invoking the API. For more information on working with the scopes, see OAuthscopes.

    Note that when creating this API, the default option, Apply per Resource, was selected under Advanced Throttling Policies. For more information on setting advanced throttling policies, see Enforce Throttling and Resource Access Policies.

    You have now published the SOAP API to the API Store. Let's subscribe to it.

  7. When prompted, choose to open the newly published API in the API Store.
  8. The SoapTest API opens. Select an application (e.g., DefaultApplication), the Gold tier and subscribe to the API. 

  9. Click the View Subscriptions button when prompted. The Subscriptions tab opens. 
  10. Click the Production Keys tab and click Generate Keys to create an application access token. If you have already generated keys before, click Regenerate. By default, access tokens expire an hour after creation, unless you change the expiration time.

    Let's invoke the API.
  11. On the APIs menu, select the API and click the API Console tab.
  12. Expand the POST method and click Try it out. Enter the following, and click Execute to invoke the API.  

    SOAP Request
    <soapenv:Envelope xmlns:soapenv="" xmlns:quer="">
    SOAP Action

  13. Note the API response that appears on the console.

In this tutorial, you created an API with a SOAP backend and invoked it using the integrated Swagger API Console.

You can also invoke this API using a third-party tool such as SOAP UI. For more information on how to invoke an API using a SOAP client, see Invoke an API using a SOAP Client.

  • No labels