Socket
Book a DemoInstallSign in
Socket

soap-graphql

Package Overview
Dependencies
Maintainers
1
Versions
24
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

soap-graphql

create a graphql schema from a soap endpoint

Source
npmnpm
Version
0.0.6
Version published
Weekly downloads
23
-55.77%
Maintainers
1
Weekly downloads
 
Created
Source

soap-graphql

Create a graphql schema based on a WSDL-defined soap endpoint.

Note: Not production ready (yet). Will only work for a limited number of WSDLs.

Example

import * as express from 'express';
import * as expressGraphql from 'express-graphql';
import { GraphQLSchema } from 'graphql';
import { soapGraphqlSchema } from 'soap-graphql';

soapGraphqlSchema("http://<<url to wsdl>>").then((schema: GraphQLSchema) => {

    const app: express.Application = express();
    app.use('/graphql', expressGraphql({
        schema: schema,
        graphiql: true,
    }));

    app.listen(4000, () => { console.log(`serving graphql on http://localhost:4000/graphql`) });

});

Keywords

soap

FAQs

Package last updated on 02 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