Managing SOAP APIs
You can view all the SOAP APIs that you created on the SOAP API details page. Use the actions to edit, delete, and copy a SOAP API.
Procedure
- To copy a SOAP API, select a SOAP API, and click the copy icon. The Copy dialog box is displayed.
- In the Copy dialog box , select a project from the list.
- Click Save. A copy of the SOAP API with the new name and it appears in the SOAP APIs page of the target project.
If you create a SOAP API by using a WSDL file, the system creates a copy of the SOAP API along with its dependencies (Flow services, Document Types, and Operations). When you modify flow services in the copied SOAP API, changes apply only to the copy, not the original.
If you create a SOAP API by using the Import API approach, each SOAP API has its own set of flow services.
If you create a SOAP API by using existing flow services (Create from scratch), a copy of the SOAP API is created. You can enter a new name during the copy process.- If copied within the same project, both the original and copied SOAP APIs refer to the same flow services. Changes to shared flow services affect both SOAP APIs.
- If copied to a different project, the flow services are also copied, so changes do not affect the original.
- If you add an operation with a different flow service to the copied SOAP API, it does not appear in the original.
Note:- If you create a SOAP API by using a WSDL file, a copy of the SOAP API (including its dependencies such as Flow services, Document Types, and Operations) is created.
- When flow services encapsulated by the copied SOAP API are modified, the changes are reflected only in the copied SOAP API and not in the SOAP API from which it was copied.
- If you create a SOAP API by using the Import API approach, each SOAP API has its own set of flow services.
- If you create a SOAP API by using existing flow services (Create from scratch), a copy of the SOAP API is created. You can enter a new name during the copy process. If copied within the same project, both the original and copied SOAP APIs refer to the same flow services. Changes to shared flow services affect both SOAP APIs. If copied to a different project, the flow services are also copied, so changes do not affect the original. If you add an operation with a different flow service to the copied SOAP API, it does not appear in the original.
- Click the SOAP API Name to open its details page. On the API details page, you see the WSDL document that is linked to the SOAP API. This document shows all the information that is needed to start the operations it describes. If the WSDL has relative URIs that can be accessed anonymously, webMethods Integration replaces them with absolute URIs based on the base URI of the WSDL file.
- Click the Operations tab. webMethods Integration uses the operation definitions from the WSDL to generate a flow service for each operation in the WSDL.Note:
- You cannot add or delete operations in a SOAP API created from a WSDL.
- Flow services that are generated by using a WSDL URL or WSDL file (SOAP APIs) are not shown in
the project folder or under Monitor page filters. To find them, go to SOAP
APIs > Operations >
Operation name>Flow service name. - The project folder is meant for adding business logic, so it does not include actions like restart, resume, or resubmit.
What to do next
To edit a SOAP API, go to the SOAP APIs page and click the edit icon next to the API. To delete one, just click the delete icon.