endpoint Property

This topic documents a feature of Binary Behaviors, which are obsolete as of Internet Explorer 10.

A property of the call object that specifies an URL that can be used to obtain the Web Services Description Language (WSDL) for a Web Service.

Syntax

HTML N/A
Scripting [ endpoint = ] objCall.endpoint

Possible Values

objCall An instance of the call object.
endpoint A String defining an URL that returns the WSDL.

The property is write-only. The property has no default value.

Remarks

This property corresponds to the location attribute of a <soap:address> element in the WSDL file. For more information, see Soap Binding.

Example

The following code snippet shows how the endpoint can be used.

<script language="JavaScript">
function Doc_Load()
{
    aaa.useService("MyWSDL.wsdl", "service");
    // Define a call object
    var objCall = new Object();
    // Define the function for the RPC call.
    objCall.funcName = "echoString";
    // Define the url of the endpoint
    objCall.endpoint = "/anotherURL/";
    // Make the RPC call using the call object (co).
    aaa.service.callService (fnHandler, objCall, "abc");
}

function fnHandler(res)
{
    if (!res.error) 
    {
        alert(res.value);
    }
    else
    {
        alert(res.errorDetail.string);
    }
}
</script>

Applies To

call, WebService

See Also

async, callService, Documenting Your Web Service, password, portName, SOAPHeader, SOAP Toolkit, timeout, userName, Web Services Description Language (WSDL) 1.1