I think you’ll need to do this in the service invoked by Partner Manager. Based on the EDIDC40 values, route the doc to another service as neeeded. It’s a bummer cuz you’ll need to update this service any time you add another route but I think it’s all you can do.
Of course someone please chime in if I’ve overlooked something.
#webMethods#edi#Integration-Server-and-ESB