1 package compbio.ws.jpred;
3 import java.util.Properties;
5 import javax.xml.ws.Service;
6 import javax.xml.namespace.QName;
11 * This class was generated by Apache CXF 2.7.8 2013-12-09T11:22:58.858Z
12 * Generated source version: 2.7.8
15 public class JpredClient {
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"));