Versions Compared

Key

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

...

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:The following page is opened by clicking Address Endpoint in the Add Endpoint tab of the Manage Endpoints page.

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. Se Properties Reference for further information on the available properties.
Excerpt
hiddentrue

Description of the Default Endpoint in WSO2 ESB.