
This section describes how you add an attachment to your Web service.
Only String and byte[] type parameters are supported for sending as attachments.
On the right, there are tabs named after the bean methods. Depending on the methods' parameters, Input and Output subtabs are displayed listing "in" and "out" parameters. If your methods contain only input parameters, then only the Input tab is displayed. If you want a certain parameter to be sent as an attachment, select the checkbox of that parameter.
This value will be used in the WSDL as well as in the HTTP message. By default, for byte[] parameters this type is application/octetstream and for String parameters - text/plain.
Configuring Incoming Parameter