ramesh,
If all these documents have the exact same requirements of the processing rule then yes one processing rule will do it all. If you need to execute different services for different documents then create a unique processing rule associated to the unique requirements for that doctype or trading relationship.
For example we have the exact same document going to 2 different trading partners. One trading partner requires immediate delivery and the other requires batched documents in a single ISA one time per day. Ultimately they run the same mapping service, but to accomplish the batching the intial program executed is a service that maps and batches while draining a queue. They each have their own processing rule for the same doctype but different receiver Id’s. If the trading partner that wishes to receive the batched EDI file changes their requirements to now have immediate delivery I simply add that receiver to the first processing rule that does not batch and my job is done, no coding necessary. The reverse is also true, less likely, but true. If the immediate delivery trading partner decided they liked batched EDI I simply switch them to the processing rule that batches documents. Again they share the same mapping logic just different delivery processes.
I tend to use processing rules as much as I can to control partner specific requirements to insulate those specific requirements from the coding as often as I can.
One more thing if you do your processing at the document level (210, 214, etc…) then do not add the group envelope as a selected doctype in that processing rule or you will have your service executed twice I believe. Chose your processing to either be at the group level or the individual document level but not both.
HTH,
Dawn
#webMethods#edi#Integration-Server-and-ESB