soap-graphql
Version:
Create a GraphQL schema from a WSDL-defined SOAP endpoint.
19 lines (18 loc) • 970 B
TypeScript
import { LateResolvedMessage, Logger } from '../soap2graphql/logger';
import { SoapCaller, SoapCallInput } from '../soap2graphql/soap-caller';
import { SoapOperation } from '../soap2graphql/soap-endpoint';
import { NodeSoapClient } from './node-soap';
/**
* Default implementation of SoapCaller for node-soap.
*/
export declare class NodeSoapCaller implements SoapCaller {
protected soapClient: NodeSoapClient;
protected logger: Logger;
constructor(soapClient: NodeSoapClient, logger: Logger);
call(input: SoapCallInput): Promise<any>;
protected requestFunctionForOperation(operation: SoapOperation): (requestMessage: any, callback: (err: any, res: any) => void) => void;
protected createSoapRequestMessage(input: SoapCallInput): Promise<any>;
protected deepCopy(obj: any): any;
protected createGraphqlResult(input: SoapCallInput, result: any): Promise<any>;
protected debug(message: LateResolvedMessage): void;
}