diff --git a/gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/model/tm/TestInstance.java b/gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/model/tm/TestInstance.java index 8971a5212af2310145d3aa150271cf54c380bf54..bcf33e2fec8864b95b0576606c53bcc3948ff570 100644 --- a/gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/model/tm/TestInstance.java +++ b/gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/model/tm/TestInstance.java @@ -88,5 +88,4 @@ public class TestInstance { return false; return true; } - } diff --git a/gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/IProxyForTM.java b/gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/ws/IProxyForTM.java similarity index 69% rename from gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/IProxyForTM.java rename to gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/ws/IProxyForTM.java index c37f9d5b81752e7e5f03bbf9f89de38205452370..d2022e8063e87822f39711b9bb03cd2f097a168f 100644 --- a/gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/IProxyForTM.java +++ b/gazelle-proxy-datamodel/src/main/java/net/ihe/gazelle/proxy/ws/IProxyForTM.java @@ -1,17 +1,11 @@ package net.ihe.gazelle.proxy.ws; -import javax.jws.WebMethod; -import javax.jws.WebService; - import net.ihe.gazelle.proxy.model.tm.TestInstance; -@WebService public interface IProxyForTM { - @WebMethod void startTestInstance(TestInstance testInstance); - @WebMethod void markTestStep(int testStepId); } diff --git a/gazelle-proxy-ejb/pom.xml b/gazelle-proxy-ejb/pom.xml index 9205a4fb0ced70e9d9844ecd582bf794b02f61ab..c8b0a1f0fe2571e84a55837824872b04c319d2e3 100644 --- a/gazelle-proxy-ejb/pom.xml +++ b/gazelle-proxy-ejb/pom.xml @@ -22,40 +22,6 @@ <filtering>true</filtering> </resource> </resources> - - <plugins> - <plugin> - <groupId>org.codehaus.mojo</groupId> - <artifactId>jaxws-maven-plugin</artifactId> - <version>1.12</version> - <executions> - <execution> - <goals> - <goal>wsgen</goal> - </goals> - </execution> - </executions> - <configuration> - <sei>net.ihe.gazelle.proxy.ws.ProxyForTM</sei> - <genWsdl>true</genWsdl> - </configuration> - - <dependencies> - <dependency> - <groupId>javax.persistence</groupId> - <artifactId>persistence-api</artifactId> - <version>1.0</version> - </dependency> - <dependency> - <groupId>javax.ejb</groupId> - <artifactId>ejb-api</artifactId> - <version>3.0</version> - </dependency> - </dependencies> - - </plugin> - - </plugins> </build> <dependencies> diff --git a/gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/ProxyForTM.java b/gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/ProxyForTM.java index 4f5ca848a6cbf647651163d3fa188cddd57e5aef..6142fe6832a76c0692ffe51938bb2385422ca685 100644 --- a/gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/ProxyForTM.java +++ b/gazelle-proxy-ejb/src/main/java/net/ihe/gazelle/proxy/ws/ProxyForTM.java @@ -5,6 +5,7 @@ import javax.jws.WebMethod; import javax.jws.WebService; import net.ihe.gazelle.proxy.model.tm.TestInstance; +import net.ihe.gazelle.proxy.ws.IProxyForTM; @WebService @Stateless @@ -16,12 +17,12 @@ public class ProxyForTM implements IProxyForTM { @WebMethod public void startTestInstance(TestInstance testInstance) { - + System.out.println("start instance " + testInstance); } @WebMethod public void markTestStep(int testStepId) { - + System.out.println("markTestStep " + testStepId); } }