On Thursday 06 February 2003 02:38 am, Matt Sergeant wrote: > On Wednesday, Feb 5, 2003, at 20:16 Europe/London, Tod Harter wrote: > > 1) an IDL generator that can take a server class and generate the WSDL > > to > > describe the corresponding service. > > I have in progress a B::SAX (B is the perl backend modules which allow > you access to the parse tree) which might be very useful for you here. > You'd basically do: > > Perl -> B::SAX -> SAX Events -> DOM -> XSLT -> WSDL > > The only bit you'd have to write would be the XSLT.
Where do you find the time? It sounds like a great idea, I think... If I'm not mistaken this would allow you to do exactly what I'm talking about. Naturally you would need some ancillary language to describe what exactly functions you wanted to export, what the transport bindings and endpoints were, and if there are any other issues like custom SOAP headers etc. Even if it just generated boilerplate WSDL it wouldn't be hard to feed that into another XSLT that merged it with such a description and produced a final output form. Actually maybe what you want to produce is a "perl IDL' output that is XML and can be easily munged to produce WSDL, POD, or other things people might want.... -- Tod Harter Giant Electronic Brain --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
