Versions Compared
Key
- This line was added.
- This line was removed.
- Formatting was changed.
REST 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 SOAP Webhook and define the request and response parameters based on your requirement.In Adeptia Connect, you While you have a pre-bundled set of REST providers to be used as a Simple Webhook type, you also have an option to create and use a SOAP Webhook REST provider as an Advanced REST Webhook type in a template according to your need. You can use your own WSDL file to create a SOAP Webhook before or during the creation of a template. If you have already created one using your WSDL file and published it
If you have published a REST Provider 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 clicking Image Added and use that as a source even when you are in the middle of creating a template.
Follow the steps below to create and use a SOAP REST Webhook as a source in a template.
Info |
---|
For steps previous to the step 1 being discussed below, refer to Creating a Template. |
- Select SOAP WebHook REST Webhook as a source application.
Image Removed
Image Added - Select the Webhook type as Simple or Advanced.
Image Removed
Image Added- Simple Webhook type will work as it was working before.
- Advance Webhook type allows you to use a predefined Webhook or define a new one by using your own WSDL file.
- When Advance configuration is selected:When Simple configuration is selected:
- Select Enable SSL check box if you want the REST Provider service to offer a SSL security.
Select a port in the Select Port field.
Tip If you want to publish the REST Webhook to a custom port instead of the default port, refer to this document. Note These two fields are available only when you have selected the Simple as a Webhook type.
- When Advanced configuration is selected:
Image AddedSelect a pre-defined
SOAPREST Provider in the Select Web Service Provider field.
You can
also byby clicking
Image RemovedImage Added.
Select the SOAP operation corresponding to the selected provider.
Click NextInfo The list displays all the available operations corresponding to the selected provider. The operations which have already been used in other templates will be grayed out. Note When you create a new REST Provider from Template wizard:
- The field Publish as will not be available and by default, the REST Provider will always be published as a Template.
- By default, the REST provider will be created in a published state.
- Click Next.
Select the Apply Security Policy check box.
Note This screen appears only when you have selected Webhook type as Simple. - Select a pre-defined security policy in the Select Security Policy to apply field. You can also create a new security policy by clicking Image Added.
- Click Next to proceed to the next step of template creation.
Info | |||||||||||||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Once the Template is created, you can get the Webhook URL by clicking Copy URL (in case of Simple Webhook type) and Endpoint URL (in case of Advanced Webhook type)under the Action menu on the Templates manage page.
The format of the copied URL for an Advanced Webhook type will be as follows: <selected Scheme in Provider>://<Server>:<Selected Port>/wsapi/apiVersion/resource end path The table below explains the components of this URL for different cases:
The format of the copied URL for a Simple Webhook type will be as follows: <selected Scheme in Provider>://<Server>:<Selected Port>/rest/triggerprocess/<templateId> The table below explains the components of this URL for different cases:
|
Panel | ||||
---|---|---|---|---|
| ||||
What's newBest practicesTraining guidesFrequently asked questionsAdeptia Connect APIsAdeptia security report |