librelist archives

« back to archive

Problem using Flask-Enterprise and hyphen in SOAP method

Problem using Flask-Enterprise and hyphen in SOAP method

From:
Rinke Hoekstra
Date:
2013-06-19 @ 18:27
Hi All,

I'm trying to use Flask-Enterprise to implement a SPARQL SOAP service [1].
The main SOAP method is called 'query-request'.

I cannot fathom how I can implement this method using Flask-Enterprise as
it would require me to define a Python function with a hyphen in its name
(this is forbidden).

Is there any way to register the method directly, either through the
decorator, or using some other means?

Thanks very much in advance.

Best,
Rinke

[1] http://www.w3.org/TR/rdf-sparql-protocol/#query-bindings-soap