Clean up the code
[proteocache.git] / server / compbio / ws / jpred / JpredClient.java
1 package compbio.ws.jpred;
2
3 import java.util.Properties;
4
5 import javax.xml.ws.Service;
6 import javax.xml.namespace.QName;
7
8 import java.net.URL;
9
10 /**
11  * This class was generated by Apache CXF 2.7.8 2013-12-09T11:22:58.858Z
12  * Generated source version: 2.7.8
13  * 
14  */
15 public class JpredClient {
16
17         public static void main(String[] args) throws Exception {
18                 Properties properties = new Properties();
19                 properties.setProperty("openejb.embedded.remotable", "true");
20                 QName qname = new QName("http://server.ws.compbio", "JpredWS");
21                 Service service = Service.create(new URL("http://localhost:1236/proteocache/services"), qname);
22                 Jpred sequense = service.getPort(Jpred.class);
23                 System.out.println(" : " + sequense.findSequence("MDVQAAPALMLCSATPALRRHGGMTGPVRLSGDIRC"));
24         }
25
26 }