Node-Siebel
The tests in this library demonstrate connecting to Siebel using the node-soap library. In addition, this library can be used to generate a REST server which forwards requests to Siebel's SOAP API.
Install
npm install node-siebel
Run Tests
npm install -g mochamocha
Tutorial
For more details and background, please see the tutorial.
Create A REST Server
With some minor changes, this should allow you to start a REST server that forwards requests to a node-soap client.
This is from example.js.
// get HTTP modulesvar connect = http = request = server = ; // create a node-soap clientvar soap = join = join wsdlPath = username = 'SADMIN' password = 'SADMIN' sessionType = 'None'; soap;
REST endpoints will be generated based on the WSDL you provide. An example Siebel Order Management WSDL is provided which will generate the following endpoints:
POST /order/:Id => Order/SynchronizeOrderDELETE /order/:Id => Order/DeleteOrderGET /order/:Id => Order/GetOrderByIdPUT /order/:Id => Order/UpdateOrderGET /order => Order/GetOrderPOST /order => Order/InsertOrder anything else POST /order/<action> => Order/<action>
Copyright
Copyright (c) 2014 Pravici, LLC License: MIT