Create an APIkit for SOAP Project

This process walks you through the creation of a new Mule project based on a SOAP API specification.

Before proceeding, ensure that you meet the Prerequisites for Using APIkit for SOAP.

  1. Under the File menu, select New > Mule Project.

    New Mule project window highlighting the project-name field, the runtime engine, the from design center or local files tab, and the expand icon for browsing files.
    1 In Project Name, enter a name for the project.
    For example, soap-implementation.
    2 Select the Mule runtime engine version.
    For example, Mule Server 4.2.2 EE.
    3 Under API Specification, select the From Design Center or Local Files tab.
    4 Select the expand icon: 30 and select Browse files…​.
  2. Select a service and port from the drop-down menus or accept the defaults. For this example, accept the defaults: Select TshirtService and TshirtServicePort.

    API specification window highlights the service and the port from the drop-down menus.
  3. Select Finish.

    The new project appears and has a src/main/resources/api folder that contains the WSDL file.

  4. Right-click a blank area of the canvas and choose the option to run the project.

  5. In your SOAP UI client, go to http://localhost:8081/TshirtService/TshirtServicePort?wsdl.

    The SOAP service returns the content of your WSDL file.

If you update your WSDL file, you can regenerate your flows:

  1. In the Package Explorer view, right-click your WSDL file.

  2. Select Mule > Generate Flows From WSDL.

Was this article helpful?

💙 Thanks for your feedback!

Edit on GitHub