Socket
Socket
Sign inDemoInstall

@axway-api-builder-ext/api-builder-plugin-fn-xml-node

Package Overview
Dependencies
28
Maintainers
3
Versions
16
Alerts
File Explorer

Advanced tools

Install Socket

Detect and block malicious and high-risk dependencies

Install

    @axway-api-builder-ext/api-builder-plugin-fn-xml-node

Axway API-Builder flow node to handle XML-Payload. For instance converting XML into JSON or JS-Objects.


Version published
Weekly downloads
1
decreased by-75%
Maintainers
3
Install size
5.87 MB
Created
Weekly downloads
 

Readme

Source

Build Status

API-Builder XML-Flow node

Use this extension to add an XML-Flow node to your Axway API-Builder project. With that you can convert XML-Payload you may have received from a backend stream (e.g. a SOAP-Service) into a Javascript Object for further processing or directly into a JSON-String. That allows you to easily merge data from different sources and formats into a JSON-Based-REST-API.
The Flow-Node is based on the XML-JS Library.

Convert XML to JSON

After have installed the XML-Node into your API-Builder project, Drag & Drop the XML-Node into your flow and select the method: XML to JSON. You get the following configuration options:
XML Node Settings
Provide the XML data should be converted into JSON using either a Selector or a plain XML-String. Secondly you can decide if you would like to have a Javascript Object or the JSON-Payload as String.

Convert JSON to XML

Install

After creating your API Builder service (api-builder init), you can install this plugin using npm:

npm install --no-optional @axway-api-builder-ext/api-builder-plugin-fn-xml-node

After installation start the API-Builder project and you get the following node:
XML Node

Changelog

See Change-Log

Limitations/Caveats

  • JSON to XML not yet supported

Contributing

Please read Contributing.md for details on our code of conduct, and the process for submitting pull requests to us.

Team

alt text Axway Team

License

Apache License 2.0

Keywords

FAQs

Last updated on 26 Sep 2022

Did you know?

Socket for GitHub automatically highlights issues in each pull request and monitors the health of all your open source dependencies. Discover the contents of your packages and block harmful activity before you install or update your dependencies.

Install

Related posts

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc