Cool, thanks Mariano. On 17 October 2010 05:33, Mariano Reingart <[email protected]> wrote:
> On Thu, Oct 14, 2010 at 9:58 PM, David Mitchell <[email protected]> > wrote: > > Hello group, > > I'm having a lot of fun working with web2py's SOAP functionality - thanks > to > > Massimo and Mariano Reingart for doing the work to put this together. > > However, there's one point I'm struggling with right now: > > HOW TO PUT SOME HELPFUL HINTS IN THE WSDL > > I'd really like it if the published WSDL for my SOAP services included a > few > > helpful hints. For example, I'd like the current fragment in the WSDL > > > > <parameter1> > > <!--string--> > > > > </parameter1> > > <parameter2> > > <!--string--> > > </parameter2> > > > > to look something like > > > > <parameter1> > > <!--string--><!--This parameter is optional, and will default to > 'abc123' > > if not supplied--> > > </parameter1> > > <parameter2> > > <!--string--><!--This parameter should reflect the current status > of widget > > 98765--> > > > > </parameter2> > > > > Is there a relatively straightforward way I can present comments in the > > WSDL? > > Dave, sorry but there isn't a easy way to do that now, and, in fact, I > think I haven't seen any WSDL with that comments. > > But you can use the html documentation generated by > web2py/pysimplesoap, where comments are output in sample xml messages: > > http://code.google.com/p/pysimplesoap/wiki/Web2Py > > You could even edit the wsdl with an xml editor and use it, it should > work either. > > Best regards, > > Mariano Reingart > http://www.sistemasagiles.com.ar > http://reingart.blogspot.com >

