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