package org.jboss.soa.bpel.tests.samples.travel;

import javax.jws.WebMethod;
import javax.jws.WebParam;
import javax.jws.WebResult;
import javax.jws.WebService;
import javax.jws.soap.SOAPBinding;

/**
 * This class was generated by the JAX-WS RI. JAX-WS RI 2.1.6 Generated source
 * version: 2.1
 */
@WebService(name = "TravelAgent", targetNamespace = "http://jbpm.org/examples/trip")
@SOAPBinding(parameterStyle = SOAPBinding.ParameterStyle.BARE)
public interface TravelAgent {

	/**
	 * @param order
	 * @return returns org.jboss.soa.bpel.samples.quickstart.travel.Invoice
	 */
	@WebMethod(action = "http://jbpm.org/examples/trip/purchaseTrip")
	@WebResult(name = "invoice", targetNamespace = "http://jbpm.org/examples/trip", partName = "invoice")
	public Invoice purchaseTrip(
			@WebParam(name = "order", targetNamespace = "http://jbpm.org/examples/trip", partName = "order") Order order);

	/**
	 * @param cancelation
	 * @return returns org.jboss.soa.bpel.samples.quickstart.travel.Penalty
	 */
	@WebMethod(action = "http://jbpm.org/examples/trip/cancelTrip")
	@WebResult(name = "penalty", targetNamespace = "http://jbpm.org/examples/trip", partName = "penalty")
	public Penalty cancelTrip(
			@WebParam(name = "cancelation", targetNamespace = "http://jbpm.org/examples/trip", partName = "cancelation") Cancelation cancelation);

	/**
	 * @param query
	 * @return returns org.jboss.soa.bpel.samples.quickstart.travel.Detail
	 */
	@WebMethod(action = "http://jbpm.org/examples/trip/getTripDetail")
	@WebResult(name = "detail", targetNamespace = "http://jbpm.org/examples/trip", partName = "detail")
	public Detail getTripDetail(
			@WebParam(name = "query", targetNamespace = "http://jbpm.org/examples/trip", partName = "query") Query query);

}
