Contact Us 1-800-596-4880

Create an APIkit for SOAP Project

Create a new Mule project based on a SOAP API specification.

Before proceeding, ensure that you meet the prerequisites for using APIkit for SOAP.

  1. In Anypoint Studio, from File, select New > Mule Project.

    New Mule project window that highlights the project-name field, runtime engine, *From Design Center or Local Files* tab, and 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 In API Specification, select From Design Center or Local Files.
4 Select Browse files from the More actions menu.
  1. Select a service and port. For this example, accept the default values, TshirtService and TshirtServicePort.

    API specification window that highlights the service and the port from the menu
  2. Click Finish.

    The new project appears with the WSDL file in the src/main/resources/api folder.

  3. Right-click a blank area of the canvas and select Run Project.

  4. 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, regenerate your flows by right-clicking your WSDL file and selecting Mule > Generate Flows From WSDL.