Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

SOAP event receiver is used to receive events in XML format via HTTP, HTTPS, and local transports. By default, it uses the following URLs to retrieve events.

  • For super tenants: 

- http://localhost:9763/services/<EVENT_RECEIVER_NAME>/receive  

- https://localhost:9443/services/<EVENT_RECEIVER_NAME>/receive  

- local:/// services / <EVENT_RECEIVER_NAME>/receive

  • For other tenants:

- http://localhost:9763/services/t/<TENANT_DOMAIN>/<EVENT_RECEIVER_NAME>/receive  

- https://localhost:9443/services/t/<TENANT_DOMAIN>/<EVENT_RECEIVER_NAME>/receive  

- local:///services/t/<TENANT_DOMAIN>/<EVENT_RECEIVER_NAME>/receive

Table of Contents
maxLevel3

Creating a SOAP event receiver

For instructions on creating a SOAP event receiver, see  Receiving Events .  

Configuring adapter properties

Specify the  Adapter Properties , when creating a SOAP event receiver using the management console as shown below.

SOAP input event adapter propertiesImage Added

Info

After entering the transport type in adapter properties, select the  Event Stream  to which you want to map the incoming events, and the  Message Format  which you want to apply on the receiving events. Also, click  Advanced  to define custom input mappings based on the  Message Format  you selected. For more information on custom input mapping types, see  Receiving Events in Various Event Formats .

You can also d efine the respective adapter properties of the event receiver based on the transport type within the  <from>  element of the event receiver configuration in the <PRODUCT_HOME>/repository/deployment/server/eventreceivers/ directory as follows.

Code Block
<eventReceiver name="SOAPInputEventAdapter" statistics="disable" trace="disable" xmlns="http://wso2.org/carbon/eventreceiver">
    <from eventAdapterType="soap">
        <property name="transports">http</property>
    </from>
   .............................
</eventReceiver>

The above adapter properties are described below.

Adapter propertyDescriptionConfiguration file propertyExample

Transport(s)

Transport type via which the events are received.
transports
http