Finally solved this problem with the help of webMethods Technical Support. webMethods take on this one…
We don’t support that ‘Subject’ header. This must
be some custom header.
With that said, you can however have a workaround. You can easily modify our
public wm.EDIINT:send service so that all EDIINT messages sent outbound will
have that particular header (or any others you wish to add).
Here is how it can be done:
(1) edit the wm.EDIINT:send service in the Developer;
(2) in the 2nd Sequence at top level (“prepare to submit to TN”), under 1st
Branch (/protocol), look at the Default child.
(3) In the Pipeline Out, there is a record called
‘mimeHeader’ with an ‘AS2-From’ and ‘AS2-To’ members. You can create a new
member/child called ‘Subject’, and hard-code or map in the value you desire
here.
Notes:
-We would suggest making a backup copy of the original send service before editing it;
-always make note of any public services that you edit, as we typically
advise against it, but for something like this, it is justified.
#webMethods#Integration-Server-and-ESB#edi