Hmmm… I think what is still missing is a documentation system for how services “fit together”. i.e. we may document each service seperately, but how can we document the execution flow where these services are invoked, one after the other?
I think webMethods can nail down a huge advantage by getting a really good documenation system in place. How can this be done?
Firstly: by auto-generating documentation for all services in the system and storing them in an easily accessible format (quite like javadoc does). Right now, the developer is required generate the document for each service manually.
Second: Intelligently correlate developer comments with the beautiful documentation already being generated. For instance, if the service comments state:
[I]INPUT
a - This is the first input variable
b - This is the second input variable
[/i]
…the documentation parser should ‘pick up’ the comments for the ‘a’ and ‘b’ records and display them against these records in the service input signature in the documentation. Ditto for output.
Third: And this is the most important one - Make it easy to show how service calls chain together. For B2B systems without TN, this can be done quite easily by putting hyperlinks against the service invokes in the documenatation.
It is for systems with Trading Networks where this idea really comes into its own. Here, TN activity logs can be used to autogenerate documentation on the flow of execution.
For example, consider a document “D” that entered Trading Networks. It may be picked up by a processing rule called “Inbound PO Receive”, in which case a log entry:
“Routing rule wfin - Inbound PO Receive selected”
appears in the activity log for that document. This processing rule may execute a webMethods IS service, which could in turn, generate two more documents, and so on. Now, if a special variable (say, the documentID of the initial document) is preserved throughout the flow of execution, the entire execution chain can be traced and automatically documented. All the developer will have to do is go to Transaction Analysis in the Trading Networks Console, right-click a document and select “Autogenerate execution chain”. He does this to a select few documents, and voila! the system is comprehensively documented, including the important execution chains!
Is some from WM listening on this? Please use these suggestions - it’s something sorely missed in WM. Or pay me - I’ll do it myself.
#webMethods#Integration-Server-and-ESB#Flow-and-Java-services