SOAP Webhook can be used as a source in a template. The WSDL (Web Services Description Language) file bundled with Adeptia Connect is generally used to define a SOAP Webhook acting as a source in a template. However, there can be a situation when you may want to use your own WSDL file to create a Webhook and define the request and response parameters based on your requirement.
In Adeptia Connect, you have an option to create and use a SOAP Webhook according to your need in Adeptia Connect. You can use your own WSDL file to create a Webhook before or during the creation of a template. If If you have already created a Webhook using your WSDL file and publish published it as a Template, you will be able to select it from the designated drop-down box (Select Web Service Provider). You can also create a new one by uploading your WSDL file and use that as a source even when you are in the middle of creating a template.
Follow the steps below while you define the source application as 'SOAP WebHook' to create and use SOAP Webhook as a source in a template.
Info |
---|
For steps previous to the one step 1 being discussed below while creating a template, refer to to Creating a Template. |
- Select SOAP WebHook as a source application.
- Select the Webhook type as Simple or Advanced.
- Simple Webhook type will work as it was working before.
- Advanced Webhook type allows you to define a custom WSDL and other SOAP Properties to create a SOAP Provider.
- When Advanced configuration is selected:
- Select a pre-defined SOAP Provider from the drop-down list of Select Web Service Provider. You can also create a new provider by clicking
...
- .
- Select the SOAP operation corresponding to the
...
- selected provider.
...
Info The list of all WSDL
...
- While creating new WS Provider the existing AIS provider interface will be presented.
- The provider interface now contain the radio selection to define the Provider type as 'Standalone Provider' or 'Webhook Provider'.
- This radio button will be hidden while creating WS Provider from template and by default Webhook will be selected.
- This radio button will be visible on Provider GUI when provider is created from Manage Objects page.
- The provider interface now also contain the radio selection to mark the provider execution as Sync or Async
- When Provider is of Webhook type then configuration to select the Process flow for the WSDL operations will be hidden as the process flow is already determined to be underlying process flow into which webhook is used.
Key Decisions
...
operations will show the unused operations one of which you can select. The operations which have already been used in other templates will be grayed out.
- Click Next to proceed to the next step of template creation.
- Click Next to proceed to the next step of template creation.