Authorization - Calling a SOAP Webservice

Last modified by Eva Torken on 2023/06/27 12:34

When talking to external parties via a SOAP web service they will most likely require some form of authorization. Within eMagiz, you have various options to send the correct authorization towards that external system. The one that is most used when communicating with external parties is a username/password combination (i.e. basic authentication). In this microlearning, we will focus on that scenario and discuss some of the other possibilities that eMagiz offers out of the box.

Should you have any questions, please contact academy@emagiz.com.

1. Prerequisites

  • Basic knowledge of the eMagiz platform

2. Key concepts

This microlearning centers around the endpoint check.

By authorization, we mean: The act of proving to the external party that you are indeed who you claim to be

  • Main form used is a username/password combination (i.e. basic authentication)
  • Other standard eMagiz options are:
    • Mendix authentication
    • Metacom authentication
    • Zimbra authentication

3. Authorization - Calling a SOAP Webservice

When talking to external parties via a SOAP web service they will most likely require some form of authorization. Within eMagiz, you have various options to send the correct authorization towards that external system. The one that is most used when communicating with external parties is a username/password combination (i.e. basic authentication). In this microlearning, we will focus on that scenario and discuss some of the other possibilities that eMagiz offers out of the box.

  • Main form used is a username/password combination (i.e. basic authentication)
  • Other standard eMagiz options are:
    • Mendix authentication
    • Metacom authentication
    • Zimbra authentication

3.1 Username password credentials

To set up the authorization we need to navigate to the Create phase of eMagiz and open the flow in which we want to add the authorization. Here we can add a support object called HTTP Components message sender. 

novice-soap-webservice-connectivity-authorization-calling-a-soap-webservice--http-components-message-sender.png

When you open the component you can choose Username password credentials in the drop-down and fill in properties to represent the password and username.

novice-soap-webservice-connectivity-authorization-calling-a-soap-webservice--http-components-message-sender-filled-in.png

After you have done so you can link the support object to the functional component by double-clicking on the functional component, navigate to the Advanced tab and select the correct message sender.

novice-soap-webservice-connectivity-authorization-calling-a-soap-webservice--link-message-sender.png

3.2 Alternatives

Some alternatives that eMagiz offers for authentication in combination with calling a SOAP web service are:

  • Mendix authentication
  • Metacom authentication
  • Zimbra authentication

To learn the specifics of each of these options please read the help text on these components to determine whether they can help you build a successful integration.

4. Key takeaways

  • Main form used is a username/password combination (i.e. basic authentication)
  • Other standard eMagiz options are:
    • Mendix authentication
    • Metacom authentication
    • Zimbra authentication
  • Make sure to link the support object to the functional component

5. Suggested Additional Readings

If you are interested in this topic and want more information on it please read the help text provided by eMagiz.