UNPKG

ang-soap

Version:

SOAP client

40 lines 1.24 kB
const defaultOptions = { axios: { method: 'POST', headers: { 'Content-Type': 'application/soap+xml', Accept: '*/*' } }, fastXmlParser: { jsonParser: { attributeNamePrefix: '@_', attrNodeName: false, textNodeName: '#text', ignoreAttributes: false, cdataTagName: '__cdata', cdataPositionChar: '\\c', format: true, indentBy: ' ', supressEmptyNode: true, }, xmlParser: { attributeNamePrefix: '', attrNodeName: false, textNodeName: '#text', ignoreAttributes: false, ignoreNameSpace: true, allowBooleanAttributes: false, parseNodeValue: false, parseAttributeValue: false, trimValues: false, cdataTagName: false, cdataPositionChar: '\\c', parseTrueNumberOnly: true, arrayMode: false, // "strict" stopNodes: ['parse-me-as-string'], }, }, jsonPath: '', debug: false, isRequestDataXML: false, isResponseXML: false }; module.exports = { defaultOptions };