<p>Personally, I'd take the practical approach and learn from a series of implementations that work and pull out commonly required code either into a library or small, specific to your requirements, generator.</p>
<p>Going more generic depends on whether you want to move from supporting your interfaces to supporting a SOAP/WSDL stub generator. Even if that's only internal support, it's a decision I would take a little bit of time understanding :-) Which you're doing right now :-)</p>

<p>Robby<br>
</p>
<div class="gmail_quote">On Apr 29, 2014 4:07 PM, "Max Lapshin" <<a href="mailto:max.lapshin@gmail.com">max.lapshin@gmail.com</a>> wrote:<br type="attribution"><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex">
<div dir="ltr"><div class="gmail_extra">So, ad-hoc solution may be better?</div><div class="gmail_extra"><br></div></div>
</blockquote></div>