-
-/**
- * Please modify this class to meet your needs
- * This class is not complete
- */
-
-package compbio.ws.server;
-
-import java.util.Properties;
-
-import javax.xml.ws.Service;
-import javax.xml.namespace.QName;
-
-import java.net.URL;
-
-/**
- * This class was generated by Apache CXF 2.7.8
- * 2013-12-09T11:22:58.858Z
- * Generated source version: 2.7.8
- *
- */
-public class JpredClient {
-
- public static void main(String[] args) throws Exception {
- Properties properties = new Properties();
- properties.setProperty("openejb.embedded.remotable", "true");
- QName qname = new QName("http://server.ws.compbio", "JpredWSService");
- Service service = Service.create(new URL("http://localhost:8080/proteocache/services/JpredWS?wsdl"),
- qname);
-
- // QName qq = service.getServiceName();
- //
- Jpred sequense = service.getPort(service.getPorts().next(), Jpred.class);
- System.out.println(" : " + sequense.findSequence("erwerw"));
- }
-
-}