TODO

Example

TODO

Hierarchy

  • Soap

Constructors

Methods

  • Builder of a SOAP client

    Parameters

    • url: string

      URL to WSDL.

    Returns ClientBuilder

  • Create a SOAP client

    Parameters

    • url: string

      URL to WSDL. If not a fully-qualified path, it will asume the filesystem in this domain

    • Optional settings: ClientSettings

    Returns Client

    Example

    Create a SOAP client with a url.

    const client = B.soap.createClient('/wsdls/client.wsdl');
    

    Example

    Create a SOAP client with a url and service name.

    const client = B.soap.createClient('/wsdls/client.wsdl', {serviceName: 'MySoapService'});
    
  • Use this method to extend an AbstractPhaseInterceptor

    Type Parameters

    Parameters

    Returns AbstractPhaseInterceptor<T>

    Example

    const myInterceptor = B.soap.extendAbstractPhaseInterceptor({
    handleMessage: (message) -> {}
    handleFault: (message) -> {}
    });
  • Use this method to extend an AbstractSoapInterceptor

    Parameters

    Returns AbstractSoapInterceptor

    Example

    const myInterceptor = B.soap.extendAbstractSoapInterceptor({
    handleMessage: (message) -> {}
    handleFault: (message) -> {}
    });
  • Use this method to implement an Interceptor

    Type Parameters

    Parameters

    Returns Interceptor<T>

    Example

    const myInterceptor = B.soap.implementInterceptor({
    handleMessage: (message) -> {}
    handleFault: (message) -> {}
    });

Generated using TypeDoc