The are two major types of SOAP interaction that wM IS supports: SOAP-RPC and SOAP-MSG.
With SOAP-RPC the focus is on invoking a particular service with specific input and output parameters. The wM SOAP-RPC processor does the de-enveloping/enveloping and parameter marshalling work for you. You don’t have to deal with SOAP things at all within your service.
With SOAP-MSG there is a bit more work you have to do. The SOAP processor, either the built-in processor or your custom made processor, expects SOAP docs as input and output. This means you get to pull the SOAP body or bodies from the inbound doc, and generate the outboud SOAP doc, putting your content in the appropriate body/bodies.
A SOAP body can hold anything. While not referred to as an attachment per se, you can place .pdf, .txt, .html, etc. data in the body. You need to set the appropriate tags so that the receiving system knows what it is getting.
The webMethods SOAP Programming Guide is a good source of information. Focus on the SOAP-MSG section. It should provide help for what you’re trying to do.
HTH.
#soa#API-Management#webMethods