0.1.4 • Published 10 years ago

seneca-soap v0.1.4

Weekly downloads
268
License
MIT
Repository
github
Last release
10 years ago

options

{
  server: yourServer, // (optional) http server instance
  port: 8004, // (optional) if server is not set, one will be started on this port

}

Usage

seneca.act({

    role: 'soap',

    cmd: 'register',

    name: 'myService'

    mappings: {

      apiName1: {
        role: 'myRole',
        cmd : 'myCmd'
      },

      apiName2: {
        role: '...',
        cmd : '...'
      }

    },

    wsdl: fs.readFileSync('./yourWsdl.wsdl')

  }, function(err) {

    // registered

  }
)
0.1.4

10 years ago

0.1.3

10 years ago

0.1.2

10 years ago

0.1.1

10 years ago

0.1.0

10 years ago