I used mime services.
Below is the Mime data formed.
Content-Type: multipart/mixed; boundary=“----=_Part_0_2028805265.1694708400029”
------=_Part_0_2028805265.1694708400029
Content-Type: text/plain;charset=UTF8
content-transfer-encoding: 8bit
Miscellaneous
------=_Part_0_2028805265.1694708400029
Content-Type: application/pdf;name=“Test.pdf”
content-transfer-encoding: 8bit
%PDF-1.7
%âãÏÓ
2 0 obj
<</Contents 3 0 R /MediaBox [0 0 612 792] /Parent 1 0 R /Resources 4 0 R /Rotate 0 /Tabs /A /Type /Page >>
endobj
4 0 obj
<</ProcSet [/PDF /ImageB /ImageC /ImageI] /XObject <</Im3 5 0 R >> >>
endobj
5 0 obj
<</BitsPerComponent 8 /ColorSpace /DeviceRGB /Filter /DCTDecode /Height 480 /Length 39384 /Subtype /Image /Type /XObject /Width 360 >>
stream
ÿØÿà

But still the attachment content is not going. Facing error like Content is required.
Is there any sample code for this i need to send pdf as an attachment stream or bytes.
It works from postman though.
#webMethods#Integration-Server-and-ESB