Subversion Repositories XServices

Compare Revisions

Ignore whitespace Rev 78 → Rev 79

/xservices/trunk/src/java/net/brutex/xservices/ws/MiscService.java
60,9 → 60,10
*/
@WebMethod(operationName = "sendMailSimple")
@WSDLDocumentation(value = "Send an email (simple).")
public ReturnCode sendMailSimple(@WebParam(name = "mailhost") HostConnection mailhost,
@WebParam(name = "from") String from,
@WebParam(name = "to") String tolist,
public ReturnCode sendMailSimple(
@WebParam(name = "mailhost") @XmlElement(minOccurs="1", nillable=false) HostConnection mailhost,
@WebParam(name = "from") @XmlElement(minOccurs="1", nillable=false) String from,
@WebParam(name = "to") @XmlElement(minOccurs="1", nillable=false) String tolist,
@WebParam(name = "subject") String subject,
@WebParam(name = "message") String message);
 
78,9 → 79,10
*/
@WebMethod(operationName = "sendMailSimpleWithAttachment")
@WSDLDocumentation(value = "Send an email with attachment (simple).")
public ReturnCode sendMailSimpleWithAttachment(@WebParam(name = "mailhost") HostConnection mailhost,
@WebParam(name = "from") String from,
@WebParam(name = "to") String tolist,
public ReturnCode sendMailSimpleWithAttachment(
@WebParam(name = "mailhost") @XmlElement(minOccurs="1", nillable=false) HostConnection mailhost,
@WebParam(name = "from") @XmlElement(minOccurs="1", nillable=false) String from,
@WebParam(name = "to") @XmlElement(minOccurs="1", nillable=false) String tolist,
@WebParam(name = "subject") String subject,
@WebParam(name = "message") String message,
@WebParam(name = "attachments") FileSetResource res);
103,9 → 105,10
*/
@WebMethod(operationName = "sendMail")
@WSDLDocumentation(value = "Send an email (advanced).")
public ReturnCode sendMail(@WebParam(name = "mailhost") HostConnection mailhost,
@WebParam(name = "from") String from,
@WebParam(name = "to") String tolist,
public ReturnCode sendMail(
@WebParam(name = "mailhost") @XmlElement(minOccurs="1", nillable=false) HostConnection mailhost,
@WebParam(name = "from") @XmlElement(minOccurs="1", nillable=false) String from,
@WebParam(name = "to") @XmlElement(minOccurs="1", nillable=false) String tolist,
@WebParam(name = "cc") String cclist,
@WebParam(name = "bcc") String bcclist,
@WebParam(name = "subject") String subject,
124,7 → 127,8
*/
@WebMethod(operationName = "sleep")
@WSDLDocumentation(value = "Delay request response a specified duration.")
public ReturnCode sleep(@WebParam(name = "minutes") int minutes,
public ReturnCode sleep(
@WebParam(name = "minutes") int minutes,
@WebParam(name = "seconds") int seconds);