package org.jboss.soa.bpel.testcase;

import javax.jws.HandlerChain;
import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;
import javax.jws.soap.SOAPBinding.Style;

@HandlerChain(file="/myhandler.xml")
@WebService(targetNamespace="http://www.jboss.org/soa/bpel/testcase")
@SOAPBinding(style=Style.RPC)
public class ComponentSMSCTBC {
	
	@WebMethod(operationName="sendSMS")
	public String sendSMS(@WebParam(name="from") String from
						, @WebParam(name="to") String to
						, @WebParam(name="message") String message) {

		System.out.println(">>>>>>>>>> sendSMS <<<<<<<<<<< " + from + " " + to + " " + message);
		return "Success";
	}
}
