/* * Copyright (C) 2015-2017 Lightbend Inc. */ package play.soap.mockservice; import javax.jws.WebService; import javax.xml.ws.Action; import javax.xml.ws.FaultAction; import javax.xml.ws.Holder; import scala.Unit; import scala.concurrent.Future; @WebService(name = "MockService") public interface MockServiceScala { public Future getBar(Foo foo); public Future add(int a, int b); public Future multiReturn(Holder part, String toSplit, int index); public Future noReturn(String nothing); @Action(fault = { @FaultAction(className = SomeException.class) }) public Future declaredException(); public Future runtimeException(); }