In your TN Processing Rule, the triggered custom service(specified in Processing Action “Execute a Service”), should incorporate pub.pubish:publish logic.
Once TN receives the document,check the Activitylog and this will show up your custom service invocation ,which will publish the document to the Broker and make sure the document is published on broker side.
HTH.
#B2B-Integration#webMethods#Integration-Server-and-ESB