Start integrating with ONEiO for free!
SIGN UP

Endpoint Configuration Guide - Custom SOAP

In this document, you will find detailed info about Custom SOAP Endpoint Type. This Endpoint Type is a Self-Service type, so users can add them without a need to reach out to ONEiO Support.

 

Table of Contents

  1. General
    1. Authentication
    2. Basic
    3. Certificate
  2. Inbound
    1. Receiver Settings
    2. Data Settings
    3. Response Settings
    4. Entity Type Resolving
    5. Inbound Attachments
  3. Outbound
    1. HTTP Settings
    2. SOAP Settings
    3. Outbound Attachments
  4. Entity Type
    1. Response Handling
    2. Attributes

 

General

Field Default value
Status Sets the status of the endpoint as Active/Suspended. The Suspended status would queue all the messages received and to be sent. Setting it back to Active would release all queued messages.  Active
Name The name of an endpoint. It is recommended to use short words since this name is used in displays throughout ONEiO.
Base URL The base address of your interface. You can test the HTTP connection by clicking the "Test Connection" button. Note that this function does not test the authentication, only if ONEiO can reach the endpoint, i.e., establish a secure network connection.
Timezone The timezone of your system in relation to the outbound messages it sends to ONEiO. That is relevant if you want ONEiO to parse date type attributes which is useful for automatic conversion in the mapping process. UTC
Global Datetime Pattern

The pattern ONEiO uses to read DateTime fields and how ONEiO sends out DateTime fields.

The valid pattern is according to the DateTimeFormat. Additionally, the value of EpochTime or EpochTime_s can be used when the inbound date-time is either in milliseconds or seconds since Epoch.

yyyy-MM-dd'T'HH:mm:ssZZ

 

Authentication

Method Supported by ONEiO authentication methods when sending messages towards your system. The available options are Basic, and Certificate.  Basic

Basic Auth Settings

Username  Username of the integration user.
 
Password Password of the integration user.
 

Certificate Auth Settings

Status Enables/disables client certificate authentication.  Enabled
Client Certificate Data A base64-encoded string containing either a PKCS12 file or an unencrypted PEM-formatted private key and certificate.
 
Client Certificate Password A password is needed if the data contains an encrypted PKCS12 file.
 
Basic Auth Toggles the usage of Basic Auth on top of Certificate Auth.  Disabled

 

Inbound (from your system to ONEiO)

Receiver Settings

ONEiO Receiver QA The URL of the ONEiO SOAP receiver in the QA environment
ONEiO Receiver PROD

The URL of the ONEiO SOAP receiver in the PROD environment

Username

Username generated by ONEiO. The button to the right will generate the password.  

Data Settings

Whitelist Filtering

A comma-separated list of conditions that must all match in order to allow the inbound message to be processed. Each contains an attribute name, operation, and value. Supported operation types are:

= (or ==) for EQUALS

!= for NOT EQUALS

IN which evaluates to true if any of the values in the list are equal to the value compared to.


 
Representation

Defines the representation of the attributes when parsed by ONEiO from the original payload. Which in turn affects the path for mapping an element. I.e., "Legacy" dot (.) versus "Structured Body" slash(/) notation. See more about the attributes representation in this article.

 Legacy

Response Settings

Response Template

Allows to create a template for a message ONEiO would respond to a request from your system.

Response Status Code

Defines the HTTP status code of a response by ONEiO.

 202

Entity Type Resolving

Inbound Container

By default the root element of the inbound message will be the entity type. This can be configured differently by using the system property Inbound Container or Fixed Entity Type.

If Inbound Container is used and ${entityType} is not part of configuration, then Fixed Entity Type has to be used.

The container element the inbound message uses . (dot) for separating elements/fields and supports the variables ${entityType} and ${messageType}. E.g. '${entityType}.${messageType}.attributes'. Defaults to ${entityType}.

${entityType}
Entity Type Element

The path to the element, whose value will be used as the entity type. Supports using "*" wildcards for cases where the path is dynamic. Only one wildcard per path will be supported in order do avoid complexity.

For example, it the root element of a message contains a dynamic message type, an exact path can not be given. So to resolve the entity type in:

<Dynamic_Message_type>
    <Entity_type>Incident</Entity_type>
</Dynamic_Message_type>

The path to use would be "*.Entity_type"

Supports using "\@" at for cases where it requires to retrieve an attribute value instead of element value. For example, If you what to extract the value "Incident" from:

<Message_type>
    <Entity Entity_type="Incident">Wrong_Value</Entity >
</Message_type>

The path to use would be "Message_Type.Entity@Entity_type"

If there is no element in the path it will retrieve the attribute from the root. For example, If you what to extract the value "Incident" from:

<Message_type Entity_type="Incident">
    <Entity>Wrong_Value</Entity >
</Message_type>

The path to use would be "@Entity_type" or "Message_type@Entity_type". 

You can use "*" and "\@" in the same path but one after other, for instance "some.*@attribute" is an invalid path, but "*.element@attribute" is a valid path.

Fixed Entity Type

For use when there is no element representing the entity type in the inbound payload or if you want to set it fixed to a specific value.

Inbound Attachments

Parent Element

The name of the parent element that contains all the actual attachment elements. You can give a static path for the element as well, e.g. "data.attachments" would mean that the element is a child of data element and is named attachments.

 attachments
Actual Element

The name of the actual attachment element whose child elements contain the actual data, empty string tries getting the attachments directly from the path of the Parent Element.

 attachment
Content-type Element

The name of the element that contains the content type of the file. 

Filename Element

The name of the element that contains the filename

 name
Data Element

The name of the element that contains the Base64 encoded attachment

base64Data
Duplicate Filtering

Enables the function at ONEiO to filter the attachments in case they have already been "seen", i.e., we already received and parsed them at an earlier stage or they have been integrated by ONEiO.

Disabled
Id Element

Mandatory for Duplicate Filtering the name of the element representing the "ID" of an attachment. 

 

Outbound (from ONEiO to your system)

 

HTTP Settings

Target for CREATE Resource used with CREATE messages. This means the very first message towards this endpoint of a certain ID. The used in the call URI will be the combination of the base URL of the endpoint and this value. ${system:uri}
Target for UPDATE Resource method used with UPDATE messages. This means all the next messages towards this endpoint of a certain ID. The used in the call URI will be the combination of the base URL of the endpoint and this value. ${system:uri}
Unrecoverable HTTP error codes

List of numeric HTTP response codes that are to be handled as non-recoverable when sending messages to your API. If ONEiO receives an error code that is not on the list, it will retry the message automatically, indefinitely. If ONEiO receives an error code that IS on this list, the message will result in an error. Values are separated by a comma (",").

400,404,405,403,422
HTTP Client Read Timeout

Read timeout for the client in milliseconds.

60000

HTTP Client Connection Timeout

Connection timeout for the client in milliseconds.

60000

SOAP Settings

Namespace Prefix

Sets the outbound namespace prefix for a message configurable on System, Entity type, Message type and attribute level with a cascading down inheritance

 

Namespace URI

Sets the outbound namespace URI for a message configurable on System, Entity type, Message type and attribute level with a cascading down inheritance. 

 

SOAP Action Header

Defines the SOAP action header which can cascade down from the System to the Entity and then Message level. Currently it's not possible to add a custom header value through the UI, however it's possible via a support request. 

 

Outbound Container

By default the entity type will be used as root element for the outbound message.

The container element of the outbound message uses "." (dot) for separating elements/fields and supports the variables  ${entityType} and ${messageType}. E.g. '${entityType}.${messageType}.attributes'.

 

${entityType}

Insert Missing Attributes

Specifies that empty fields should be added to outbound message if the field value is missing.

Disabled

Insert All Attributes

Specifies that all attributes should be added to outbound message whether it has attribute configuration or not.

Enabled

Outbound Attachments

Parent Element

The name of the parent element that contains all the actual attachment elements. You can give a static path for the element as well, e.g. "data.attachments" would mean that the element is a child of data element and is named attachments.

attachments

Actual Element

The name of the actual attachment element whose child elements contain the actual data, empty string places the attachments directly under Parent Element.

attachment

Content-type Element

The name of the element that contains the content type of the file. 

Filename Element

The name of the element that contains the filename

name

File Extension Element

Name for the element that contains the file extension of the attachment. If the attachment doesn't have an extension at all, an empty value is put in the element.

Data Element

The name of the element that contains the Base64 encoded attachment

base64Data

 

Entity Type

Entity Type Defines the entity type, an immutable property.
Display Name
Defines the display name of an entity that will be featured in messages, routing rules, etc. 
Allow Missing Id for Updates By default, ONEiO needs to have information about the entity Id to be able to update it. This property overrides the behavior in a case when your API will handle the request based on other properties. No

Response Handling

Id Element The path to the attribute containing the ID information in the synchronous response from the API of your system.
HTTP Success Codes

Defines a comma-delimited list of HTTP codes representing a success of an operation. (i.e. 200,201,202)

200
Success Element

The path to the attribute containing the status of a successful operation. This property is mutually exclusive with the "Id Element".

Success Values

Defines a comma-delimited list of values representing a successful operation.

Error Element

The path to the attribute containing error information.

Attributes

 

ID Element

The path to the element representing the "ID" of an inbound entity.



External ID Element

The path to the element representing the "External ID" of an inbound entity. 


Name

The name of an attribute 

Data Type

The data type of an attribute

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request

Comments

0 comments

Please sign in to leave a comment.