Versions Compared

Key

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

...

Info
titleNote

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

Code Block
languagehtml/xml
<address uri="endpoint address" [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<responseAction>discard|fault</action>responseAction>
    </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>
</address>

...

  • Format- The message format for the endpoint. The available values are:Leave As-Is - No transformation is done to the outgoing message.

...

    • SOAP 1.1 - Transforming message to SOAP 1.1.
    • SOAP 1.2 - Transforming message to SOAP 1.2.
    • Plain Old XML (POX) - Transforming to plain old XML format.
    • Representational State Transfer (REST) - Transforming to HTTP Get Request.
    • GET
  • Optimize- Optimization for the message, which transfers binary data. The available values are:
    • Leave As-Is - No special Optimization. Keep the original message.
    • SwA - Optimized as a SwA (SOAP with Attachment) message.
    • MTOM - Optimized as a MTOM (message transmission optimization mechanism).

...

duration

Timeout duration in milliseconds.

actionresponseAction

Once a timeout occurs the action to perform, available options are discard (discard the response which arrives late) or fault (trigger a fault) .

...

errorCode

A comma separated error code list which can be returned by the endpoint. See SynpaseConstant class for a possible list of error codes.

initialDuration

Initial duration(in milliseconds) to suspend the endpoint.

progressionFactor

The progression factor for the geometric series. See above formula for a more detailed description.

maximumDuration

Maximum duration(in milliseconds) to suspend the endpoint.

...