This site contains the documentation that is relevant to older WSO2 product versions and offerings.
For the latest WSO2 documentation, visit https://wso2.com/documentation/.

WSDL Endpoint

The WSDL Endpoint is an endpoint definition based on a specified WSDL document.

The WSDL document can be specified in 2 ways:

  • As a URI.
  • As an inlined definition within the endpoint configuration.


XML Configuration

Note

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

The syntax of the endpoint is as follows.

<wsdl [uri="wsdl-uri"] service="qname" port/endpoint="qname">
    <wsdl:definition>...</wsdl:definition>?
    <wsdl20:description>...</wsdl20:description>?
    <enableRM [policy="key"]/>?
    <enableSec [policy="key"]/>?
    <enableAddressing/>?

    <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>
</wsdl>

The service and port name containing the target EPR has to be specified with the service and port (or endpoint) attributes respectively.

enableRM, enableSec, enableAddressing, suspendDurationOnFailure and timeout elements are same as for an Address Endpoint.


UI Configuration

The following page is opened by clicking WSDL Endpoint in the Add Endpoint tab of the Manage Endpoints page.

Parameters available to configure a WSDL endpoint are as follows.

Parameter NameDescription
NameThis parameter is used to enter a unique name for the endpoint.
WSDL URIThe URI of the WSDL. Click Test to test the URI.
ServiceThe service selected from the available services for the WSDL.
PortThe port selected for the service specified in the Service parameter. In a WSDL, an endpoint is bound to each port inside each service.
Show Advanced OptionsClick this link if you want to add advanced options for the endpoint. See Advanced Options for details of the available advanced options.
Add PropertyClick this link if you want to add properties to the endpoint. See Properties Reference for details of the available properties.