Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
6 changed files
with
87 additions
and
13 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1 +1,2 @@ | ||
node_modules/* | ||
npm-debug.log |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
module.exports = require('./src/controller'); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,20 +1,26 @@ | ||
{ | ||
"author": "VIDAL Software", | ||
"name": "caeliajs", | ||
"description": "Caelia done right :-)", | ||
"version": "0.8.0", | ||
"name": "express-soap", | ||
"description": "Enables an Express server to proxy to an underlying SOAP server through an emulated JSON/HTTP API", | ||
"version": "0.1.0", | ||
"author": "Tony Sokhon <tonyskn@gmail.com>", | ||
"repository": { | ||
"type": "git", | ||
"url": "git@github.com:softwarevidal/Caelia.git" | ||
"url": "https://github.com/tonyskn/express-soap" | ||
}, | ||
"main": "index.js", | ||
"scripts": { | ||
"start": "node server.js", | ||
"test": "node_modules/.bin/mocha test/*.js" | ||
}, | ||
"main": "main.js", | ||
"engines": { | ||
"node": "~0.6.6" | ||
"node": ">=0.6.0" | ||
}, | ||
"dependencies": { | ||
"forever" : "0.8.5", | ||
"soap" : "0.2.4" | ||
}, | ||
"devDependencies": { | ||
"commander": "0.5.2", | ||
"express" : "2.5.8", | ||
"soap" : "0.2.4" | ||
"mocha" : "1.0.3" | ||
} | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
File renamed without changes.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,64 @@ | ||
<?xml version="1.0"?> | ||
|
||
<wsdl:definitions name="StockQuote" | ||
targetNamespace="http://example.com/stockquote.wsdl" | ||
xmlns:tns="http://example.com/stockquote.wsdl" | ||
xmlns:xsd1="http://example.com/stockquote.xsd" | ||
xmlns:soap="http://schemas.xmlsoap.org/wsdl/soap/" | ||
xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/"> | ||
|
||
<wsdl:types> | ||
<xsd:schema targetNamespace="http://example.com/stockquote.xsd" xmlns:xsd="http://www.w3.org/2000/10/XMLSchema"> | ||
<xsd:element name="TradePriceRequest"> | ||
<xsd:simpleType> | ||
<xsd:restriction base="string"> | ||
<xsd:enumeration value="AAPL" /> | ||
<xsd:enumeration value="GOOG" /> | ||
</xsd:restriction> | ||
</xsd:simpleType> | ||
</xsd:element> | ||
<xsd:element name="TradePrice"> | ||
<xsd:complexType> | ||
<xsd:all> | ||
<xsd:element name="price" type="float"/> | ||
</xsd:all> | ||
</xsd:complexType> | ||
</xsd:element> | ||
</xsd:schema> | ||
</wsdl:types> | ||
|
||
<wsdl:message name="GetLastTradePriceInput"> | ||
<wsdl:part name="body" element="xsd1:TradePriceRequest"/> | ||
</wsdl:message> | ||
|
||
<wsdl:message name="GetLastTradePriceOutput"> | ||
<wsdl:part name="body" element="xsd1:TradePrice"/> | ||
</wsdl:message> | ||
|
||
<wsdl:portType name="StockQuotePortType"> | ||
<wsdl:operation name="GetLastTradePrice"> | ||
<wsdl:input message="tns:GetLastTradePriceInput"/> | ||
<wsdl:output message="tns:GetLastTradePriceOutput"/> | ||
</wsdl:operation> | ||
</wsdl:portType> | ||
|
||
<wsdl:binding name="StockQuoteSoapBinding" type="tns:StockQuotePortType"> | ||
<soap:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> | ||
<wsdl:operation name="GetLastTradePrice"> | ||
<soap:operation soapAction="http://example.com/GetLastTradePrice"/> | ||
<wsdl:input> | ||
<soap:body use="literal"/> | ||
</wsdl:input> | ||
<wsdl:output> | ||
<soap:body use="literal"/> | ||
</wsdl:output> | ||
</wsdl:operation> | ||
</wsdl:binding> | ||
|
||
<wsdl:service name="StockQuoteService"> | ||
<wsdl:port name="StockQuotePort" binding="tns:StockQuoteSoapBinding"> | ||
<soap:address location="http://localhost:15099/stockquote"/> | ||
</wsdl:port> | ||
</wsdl:service> | ||
|
||
</wsdl:definitions> |