UNPKG

ang-soap

Version:

SOAP client

26 lines (23 loc) 938 B
const errorMessages = { convertingJsontoXml:"Error when converting from json to xml", performingHttpRequest : "Error when performing the http request", emptyResult : "Empty result", convertingXmlToJson:"Error when converting from xml to Json", targetObjectNotFound: "Target object not found", findingTheTargetObject : 'Error when finding the target object using jsonPath', }; const debugMessages = { xmlRequestBody: "--DEBUG-- XML request body => ", parsingError:"--DEBUG-- parsing error => ", httpResponse: "--DEBUG-- http response => ", axiosError : "--DEBUG-- axios error => ", convertedJson : "--DEBUG-- converted json => ", targetJson:"--DEBUG-- target json => ", jsonPathError:"--DEBUG-- jsonPath error => ", }; const encoding = { utf8: "utf-8", base64: "base64", basic: 'Basic' }; module.exports = {errorMessages, debugMessages, encoding};