Wout,
I haven’t looked at Mark’s code that he sent, but if you are using TContext class then you should be able to set some parameters.
There is no generic receive service per se, but trading networks uses tn receive service.
If you are using a standard flow service, then you can create a content handler that invokes that specific flow service. You will need to create a custom content type like text/my-message-type that IS will key off of. Also, you will need to register the content handler.
There is an article written by Igor Androsov that addresses this problem here on wmusers.
Also, I believe through some prior correspondence, that you work for a webMethods Implmentation partner and you have access to Advantage. There is some info there as well.
If you have the eLearning passport, there is a short course there on Custom Content Handlers by one of the webm gurus.
HTH,
Ray
#API-Management#soa#webMethods