com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links' is unknown.

Output SOAP Event Adapter

Output SOAP event adapter is an internal event adapter, which comes with WSO2 products. It sends SOAP events over Thrift using  HTTP and HTTPS to external servers, which can receive XML messages.

Configuring output SOAP event adapter

You can configure output SOAP event adapter using the management console or using a configuration file.

Configure using the management console

Follow the instructions below to configure output SOAP event adapter using the management console. This deploys the event adapter in the <PRODUCT_HOME>/repository/deployment/ server/outputeventadaptors/ directory.

  1. Log in to the product's management console, and click Configure.
  2. Click Output Event Adaptors in the Event Processor Configs menu,  and then click Add Output Event Adaptor.
  3. Enter soapOutputEventAdapter for Event Adaptor Name, and select soap for Event Adaptor Type as shown below. 


    create output SOAP event adapter

  4. Click Add Event Adaptor.

Configure using a configuration file

Follow the instructions below to to configure output SOAP event adapter using a configuration file.

  1. Create an XML file with the following output SOAP event adapter configurations. Output event adapter implementation must start with <outputEventAdaptor> as the root element.

    <outputEventAdaptor name="soapOutputEventAdaptor" statistics="disable"
    trace="disable" type="soap" xmlns="http://wso2.org/carbon/eventadaptormanager"/>
  2. Add the XML file to the <PRODUCT_HOME>/repository/deployment/server/outputeventadaptors/ directory. Since hot deployment is supported in the product, you can simply add/remove output event adapter configuration files to deploy/undeploy output event adapters to/from the server.

After an adapter is successfully added, it gets added to the list of adapters displayed under Event Processor Configs in the Configure menu of the product's management console. Click Edit to change its configuration and redeploy it. This opens an XML-based editor allowing you to edit the event adapter configurations from the UI.  Do your modifications and click  Update . You can also delete it, enable/disable statistics or enable/disable tracing on it using the provided options in the UI.

Configuring output SOAP event adapter message properties

The configured output event adapters are used in event formatters. With output event adapter message properties, event formatters are able to extract data from event streams and format the output events. Message properties specific to output event adapters of the soap type can be configured as follows. 
  1. Log into the CEP Management Console. For detailed instructions, see Running the Product.
  2. In the Main tab, click Event Streams to open the Available Event Streams page.
  3. Click the Outflows link of the event stream to which the relevant input event adapter is connected. As a result, Event In-Flows (<Output_Event_Adapter_Name>) opens.
  4. Click on the relevant event formatter name to open the Event Formatter Details page.
    output SOAP event adapter message properties
    The message properties of a soap output event adapter are described below. Change the property values as required.

    PropertyDescription
    HeadersSOAP headers
    PasswordUsername token is required to send event to a HTTPS endpoint. 
    UsernamePassword token is required to send event to a HTTPS endpoint. 
    Url Destination web service URL
    Output Event TypeThe outgoing event type to be mapped. The output SOAP event adapter supports only XML mappings.
com.atlassian.confluence.content.render.xhtml.migration.exceptions.UnknownMacroMigrationException: The macro 'next_previous_links2' is unknown.