Subversion Repositories XServices

Compare Revisions

Regard whitespace Rev 20 → Rev 21

/xservices/trunk/src/java/net/brutex/xservices/ws/MiscService.java/MiscService.java
13,12 → 13,12
* See the License for the specific language governing permissions and
* limitations under the License.
*/
 
package net.brutex.xservices.ws;
 
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import net.brutex.xservices.types.FileSetResource;
import net.brutex.xservices.types.HostConnection;
import net.brutex.xservices.types.ReturnCode;
import net.brutex.xservices.util.BrutexNamespaces;
40,6 → 40,14
@WebParam(name="subject") String subject,
@WebParam(name="message") String message);
 
@WebMethod(operationName = "sendMailSimpleWithAttachment")
public ReturnCode sendMailSimpleWithAttachment(@WebParam(name = "mailhost") HostConnection mailhost,
@WebParam(name = "from") String from,
@WebParam(name = "to") String tolist,
@WebParam(name = "subject") String subject,
@WebParam(name = "message") String message,
@WebParam(name = "attachments") FileSetResource res);
 
@WebMethod(operationName="sleep")
public ReturnCode sleep(@WebParam(name="minutes") int minutes,
@WebParam(name="seconds") int seconds);