In my experience, it is better to use wm/tn/receive.
- Setup a partner profile. Use the id as sender id in the document. TN will automatically extract this info for you and logs.
- Setup the document type which will be published from partner.
- Setup a processing rule to call the service which will be called for execution by TN once the document logged in TN.
- Add your processing logic in the service.
If you want to use your own service, you need two services. One is to receive and log the data into TN which replaces the tn.receive. Another one is the processing logic.
Jeya.
#Integration-Server-and-ESB#webmethods-Protocol-and-Transport#webMethods