Petals-BC-Mail 4.0.0+

compared with
Key
This line was removed.
This word was removed. This word was added.
This line was added.

Changes (4)

View Page History

Several WSDL annotations are available. They should be put in the binding section of your WSDL:
{code:lang=xml}
<wsdl:binding name="emailNotifyVacationBinding" type="notifyService:emailNotifyVacation"
xmlns:bcmail="http://petals.ow2.org/bc/mail/annotations/1.0" >
All annotations are member of namespace '{{http://petals.ow2.org/bc/mail/annotations/1.0}}'. Annotations override content of the SU descripto. Available annotations are:
|| Name || Description || Required || Default value ||
| subject | Mail subject. To be able to put data extracted from the incoming message, you can use XPath expression placeholders as '$\{<xpath-expression>}' in the content of this annotation. | No | - |
| body | Mail body. To be able to put data extracted from the incoming message, you can use XPath expression placeholders as '$\{<xpath-expression>}' in the content of this annotation. | No | - |
| to | Recipient of the mail defined as a XPath expression. Only one recipient is accepted. | No | - |
| options | Use to set options on mail. Options are available as attributes:
* {{dsn-on-never}}: Disable DSN,
* {{dsn-content}}: Define the content of DSN: {{full}} (entire body) or {{headers}} (only headers). | No | - |
| header | Use to add headers in your mail. The header name is defined through the sub-tag '{{name}}', and its value through '{{value}}'. The value can contains XPath expression placeholders as '$\{<xpath-expression>}'. | No | - |

h4. Service Unit descriptor