Versions Compared

Key

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

The Default Endpoint is an endpoint defined for adding QoS and other configurations to the endpoint which is resolved from the To address of the message context. All the configurations such as message format for the endpoint, the method to optimize attachments, reliable messaging, and security policies for the endpoint can be specified as in the Address Endpoint. This endpoint differs from the address endpoint only in the URI attribute which will not be present in this endpoint.

...

Info
titleNote

You can configure the Default endpoint using XML. Click on "Switch to source view " in in the "Default Endpoint" page.

Code Block
languagehtml/xml
<default [format="soap11|soap12|pox|get"] [optimize="mtom|swa"]
     [encoding="charset encoding"]
     [statistics="enable|disable"] [trace="enable|disable"]>

    <enableRM [policy="key"]/>?
    <enableSec [policy="key"]/>?
    <enableAddressing [version="final|submission"] [separateListener="true|false"]/>?

    <timeout>
        <duration>timeout duration in milliseconds</duration>
        <action>discard|fault</action>
    </timeout>?

    <markForSuspension>
        [<errorCodes>xxx,yyy</errorCodes>]
        <retriesBeforeSuspension>m</retriesBeforeSuspension>
        <retryDelay>d</retryDelay>
    </markForSuspension>

    <suspendOnFailure>
        [<errorCodes>xxx,yyy</errorCodes>]
        <initialDuration>n</initialDuration>
        <progressionFactor>r</progressionFactor>
        <maximumDuration>l</maximumDuration>
    </suspendOnFailure>
</default>

...

UI Configuration

1. In the "Add Endpoint" tab, click "Default Endpoint" (See Adding an Endpoint). The "Default Endpoint" page appears.

Default EndpointImage Removed

  • Name - The only Default Endpoint specific option. It defines the unique name of an endpoint.

2. In case you want to configure advanced options, click on the "Show Advanced Options" drop-down pane.

Image Removed

3. Then the page with all the available Default Endpoint options appears.

Image Removed

Specific advanced options of a Default Endpoint are the following:To configure a default endpoint in the Management Console, go to the Main tab and click Endpoints to open the Manage Endpoints page. Click on the Add Endpoint tab and then click Default Endpoint.

Default EndpointImage Added

Parameters available to configure the default endpoint are as follows.

Parameter NameDescription
NameThis parameter is used to define a unique name for the endpoint.
Show Advanced Options

Click this link if you want to add advanced options for the endpoint. Advanced options specific to the default endpoint are as follows.

  • Format- The message format for the endpoint. The available values are

...

  • as follows.
    • Leave As-Is

...

    • : If this is selected, no transformation is done to the outgoing message.
    • SOAP 1.1

...

    • : If this is selected the message is transformed to SOAP 1.1.
    • SOAP 1.2

...

    • : If this is selected the message is transformed to SOAP 1.2.
    • Plain Old XML (POX)

...

    • : If this is selected the message is transformed to plain old XML format.
    • Representational State Transfer (REST)

...

    •  - If this is selected, the message is transformed to REST.
    • GET: If this is selected, the message is transformed to a HTTP Get Request.

...

  • Optimize- Optimization for the message, which transfers binary data. The available values are

...

  • as follows.
    • Leave As-Is

...

    •  - If this is selected, there will be no special optimization.

...

    • The original message will be kept.
    • SwA

...

    •  - If this is selected, the message is optimized as a SwA (SOAP with Attachment) message.
    • MTOM

...

    •  - If this is selected, the message is optimized using a MTOM (message transmission optimization mechanism).
Info
titleNote

The rest of the

...

advanced options are common for Address, WSDL, Default endpoints. See the

...

description of common options in Managing Endpoints.

Add PropertyClick this link if you want to add properties to the endpoint. See Properties Reference for further information on the available properties.
Excerpt
hiddentrue

Description of the Default Endpoint in WSO2 ESB.