Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

Commit

Permalink
Added dependencies
Browse files Browse the repository at this point in the history
  • Loading branch information
thomaschaaf committed Jan 27, 2012
1 parent dc67727 commit 116da86
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
1 change: 1 addition & 0 deletions package.json
Expand Up @@ -7,5 +7,6 @@
, "jade": ">= 0.0.1"
, "MD5": ">= 0.0.0"
, "xml2js": ">= 0.0.1"
, "tar": ">= 0.0.1"
}
}
3 changes: 2 additions & 1 deletion routes/index.js
Expand Up @@ -62,6 +62,7 @@ fs.createReadStream(req.files.FILENAME.path)
})
.on("end", function () {
console.error("done")
res.send('<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><UploadPhotoResponse xmlns="http://localhost/api/soap/eyefilm"><success>true</success></UploadPhotoResponse></SOAP-ENV:Body></SOAP-ENV:Envelope>');
})
console.log("LET ME UPLOAD!");

Expand Down Expand Up @@ -133,7 +134,7 @@ exports.soap = function(req, res) {
});
break;
case "MarkLastPhotoInRoll":
console.log("MarkLastPhotoInRoll");
res.send('<?xml version="1.0" encoding="UTF-8"?><SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Body><MarkLastPhotoInRollResponse xmlns="http://localhost/api/soap/eyefilm" /></SOAP-ENV:Body></SOAP-ENV:Envelope>');
break;
default:
console.log("Different request", req.headers);
Expand Down

0 comments on commit 116da86

Please sign in to comment.