<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
</head>
<body bgcolor="#FFFFFF" text="#000000">
Hello,<br>
I am looking at a way to change the default behaviour on output
generation with soap.<br>
Basically spyne creates the typedefs but responds with its
autogenerated names:<br>
<i><br>
</i><i><senv:Envelope xmlns:tns="tns" xmlns:s0="datamodel"
xmlns:senv=<a class="moz-txt-link-rfc2396E" href="http://schemas.xmlsoap.org/soap/envelope/">"http://schemas.xmlsoap.org/soap/envelope/"</a>></i><i><br>
</i><i> <senv:Body></i><i><br>
</i><i><b> <tns:helloResponse></b></i><i><b><br>
</b></i><i><b> <tns:helloResult></b></i><i><br>
</i><i> <s0:param2>myval</s0:param2></i><i><br>
</i><i> <s0:param1>1</s0:param1></i><i><br>
</i><i><b> </tns:helloResult></b></i><i><b><br>
</b></i><i><b> </tns:helloResponse></b></i><i><br>
</i><i> </senv:Body></i><i><br>
</i><i></senv:Envelope></i><br>
<br>
I need to change the default name of helloResult. I could already
manage it for helloResponse, by using on the srpc decorator the
parameter
<meta http-equiv="content-type" content="text/html; charset=utf-8">
_in_message_name etc... However, I dont know how to change the name
for helloResult. I tried, on the return type, to do something like
this:<br>
<br>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<pre style="background-color:#ffffff;color:#000000;font-family:'Courier New';font-size:12pt;"><span style="color:#000080;font-weight:bold;">class </span>MyThing(<span style="background-color:#e4e4ff;">ComplexModel</span>):
param1 = Integer
param2 = String
__type_name__ = <span style="color:#008000;font-weight:bold;">'MySpecificResultThing'</span></pre>
but still got helloResult. Any idea ? <br>
<br>
Thank you !<br>
<br>
<br>
<br>
<br>
<br>
<br>
</body>
</html>