Creating SOAP connectors

You can access third-party web services hosted either in the cloud or on-premises. The SOAP connector uses a WSDL to create consumer operations.

About this task

Learn how to create a SOAP connector.

Note: You cannot add or delete operations to a SOAP connector created from a WSDL.

To create a SOAP connector, go to the Connectors tab in your project. From there, click SOAP and then select Add Connector to open the page where you can create a new SOAP connector.

You have two options for creating a SOAP connector:
  • Import from URL: You can specify the WSDL URL (the location where the WSDL file is hosted).
  • Import from file: You can upload a WSDL file directly.

Procedure

  1. To create a SOAP connector using a URL, follow the instructions as mentioned here:
    1. Click the Import from URL option. A text field appears in the same window.
    2. Specify the URL of the WSDL. The URL must begin with http:// or https://. The URL is used to retrieve the WSDL for the SOAP API.
    3. Click Next. The Define Connector page appears.
    4. In the Define Connector page, complete the following fields:

      • Name - Type a name for the SOAP connector, for example, Soap_connector.
      • Description - Type an optional description for the SOAP connector.
      • Connector Icon - Click Browse next to the Connector Icon if you want to select a different icon for your SOAP connector. The icon must be a PNG file, and its size must not exceed 50 KB; otherwise, the default image is displayed.
      • User - Enter the username if authentication is required to access the WSDL URL.
      • Password - Enter the password if authentication is required to access the WSDL URL.
      • Validate Schema with Xerces - Select this option if you want webMethods Integration to also use the Xerces parser to validate the schemas associated with the XML Schema definition.
      • Click Save.
        Note: Mandatory fields are indicated with an asterisk on the screen.

        The new SOAP connector appears in the SOAP Connectors page. You can edit and remove a SOAP connector from the SOAP Connectors details page. The Used In column displays the workflow and flow service where the connector is used.

    Click the Import from URL option. A text field appears in the same window.

  2. To create a SOAP connector using a file, follow the instructions as mentioned here:
    You can create a SOAP connector by using the Import from file option in the Create SOAP connector page of the Connectors tab. You are prompted to choose the primary WSDL file and add imported WSDLs or XSDs or XML to the primary WSDL and then define a connector. The ports that are configured here are listed in the Port Binding field of the account configuration dialog box while configuring a new account. Based on the selected port binding value, the URL field gets updated with the corresponding link. You can also edit the URL to specify a different web service endpoint.