1 19 package org.openharmonise.webdav.client.webservice; 20 21 import java.net.URL ; 22 import java.util.ArrayList ; 23 import java.util.List ; 24 25 import javax.xml.namespace.QName ; 26 import javax.xml.rpc.ServiceException ; 27 28 import org.apache.axis.client.*; 29 30 37 public class SearchDetailsService { 38 public static final String SIMULACRA_WEBSERVICE_NAMESPACE_URI = 39 "webservice.server.dav.openharmonise.org"; 40 41 44 public SearchDetailsService() { 45 super(); 46 } 47 48 49 58 public static List getStopWords(URL endpoint) 59 throws java.rmi.RemoteException , ServiceException { 60 61 Service service = new Service(); 62 Call call = (Call) service.createCall(); 63 64 call.setTargetEndpointAddress(endpoint); 65 call.setOperationName( 66 new QName (SIMULACRA_WEBSERVICE_NAMESPACE_URI, "getIndexerStopWords")); 67 68 call.setReturnType(org.apache.axis.Constants.SOAP_ARRAY); 69 call.setReturnClass(ArrayList .class); 70 71 List ret = 72 (List ) call.invoke((Object [])null); 73 74 return ret; 75 } 76 77 78 79 } 80 | Popular Tags |