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.

    create new mule project soap
    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.

    create apikit soap project
  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