Socket
Book a DemoInstallSign in
Socket

soap-graphql-demo

Package Overview
Dependencies
Maintainers
1
Versions
1
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soap-graphql-demo

Demo for soap-graphql

latest
Source
npmnpm
Version
0.1.0
Version published
Weekly downloads
0
Maintainers
1
Weekly downloads
 
Created
Source

soap-graphql-demo

Demo application for soap-graphql.

Uses:

  • express-graphql to serve the GraphQL schema as a webserver.
  • graphql-weaver to weave multiple SOAP endpoints into one GraphQL schema.

Installation

npm install -g soap-graphql-demo

Usage

Example Server

soap-graphql-demo

Starts an example server for these openly available SOAP endpoints:

Serve a single SOAP endpoint

soap-graphql-demo <<url-to-wsdl>>

Starts a server for a single SOAP endpoint. url-to-wsdl can be either a web URL or a path to a local WSDL file.

Example:

soap-graphql-demo http://www.webservicex.net/isbn.asmx?WSDL

Use a config file

soap-graphql-demo --config <<path-to-config-file>>

Starts a server based on the given config. path-to-config-file must be absolute or relative path to a config file.

Config file must look like this:

{
    "port": 4001,
    "path": "/my-graphql",
    "endpoints": {
        "bible": "http://www.webservicex.net/BibleWebservice.asmx?WSDL",
        "braille": "http://www.webservicex.net/braille.asmx?WSDL"
    }
}

port: Port on which the server will be served, defaults to 4000.

path: Path on which the GraphQL schema will be served, defaults to /graphql.

endpoints: List of SOAP endpoints.

Keywords

soap-graphql

FAQs

Package last updated on 04 Feb 2018

Did you know?

Socket

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

About

Packages

Stay in touch

Get open source security insights delivered straight into your inbox.

  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc

U.S. Patent No. 12,346,443 & 12,314,394. Other pending.