Skip to content
Snippets Groups Projects
Commit e985d0b4 authored by Vermaat's avatar Vermaat
Browse files

Fix for primitive JSON result datatypes

git-svn-id: https://humgenprojects.lumc.nl/svn/mutalyzer/branches/spyne@577 eb6bd6ab-9ccd-42b9-aceb-e2899b4a52f1
parent f942943b
No related branches found
No related tags found
No related merge requests found
......@@ -12,6 +12,10 @@ from mutalyzer.services import rpc
# HTTP/RPC application.
# Note that we originally provided skip_depth=2 to the JsonObject constructor
# to get rid of some annoying wrappers around the json results. However, this
# breaks methods returning a primitive datatype (e.g. just a string). Might
# file a bug about this on spyne.
application = Application([rpc.MutalyzerService], tns=mutalyzer.SOAP_NAMESPACE,
in_protocol=HttpRpc(), out_protocol=JsonObject(skip_depth=2),
in_protocol=HttpRpc(), out_protocol=JsonObject(),
name='Mutalyzer')
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment