Commit 402115d5 authored by Kazuhiko Shiozaki's avatar Kazuhiko Shiozaki

support spyne 2.12.

parent 607c1e9d
......@@ -93,6 +93,9 @@ class SOAPBinding(Base):
wsdl.build_interface_document(self.absolute_url())
return wsdl.get_interface_document()
REQUEST.stdin.seek(0)
if hasattr(MethodContext, 'SERVER'):
ctx = MethodContext(server, MethodContext.SERVER)
else: # BBB spyne < 2.12
ctx = MethodContext(server)
ctx.in_string = REQUEST.stdin
ctx, = server.generate_contexts(ctx)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment