Refine search
public CondorTransferdStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
public CondorDbmsdStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
public void storeMetadata(String theMetadata) { try { Call call = (Call) new Service().createCall(); call.setTargetEndpointAddress(serviceEndpoint); call.setOperationName(new QName("storeMetadata")); call.invoke(new Object[] { theMetadata }); } catch (RemoteException re) { log.error("Remote exception when storing metadata", re); throw new RuntimeException("Cannot store metadata!"); } catch (ServiceException se) { log.error("Service exception when calling remote service", se); throw new RuntimeException( "Service exception creating call object!"); } }
public CondorTestStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
public String getID(LSIDProvider.NamespaceEnumeration namespaceObject) { String namespace = namespaceObject.toString(); // Does the map already contain an ID for that // namespace? String ID = (String) idMap.get(namespace); if (ID != null) { // Use the cached ID and append a counter to it return ID + nextCounter++; } else { // regenerate the cached ID try { Call call = (Call) new Service().createCall(); call.setTargetEndpointAddress(serviceEndpoint); call.setOperationName(new QName("getID")); idMap.put(namespace, (String) (call .invoke(new Object[] { namespace }))); return (String) idMap.get(namespace) + nextCounter++; } catch (RemoteException re) { log.error("Remote exception when getting identifier", re); throw new RuntimeException("Cannot fetch metadata!"); } catch (ServiceException se) { log.error("Service exception when calling remote service", se); throw new RuntimeException( "Service exception creating call object!"); } } }
public CondorKbddStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
String endpoint = ((SoaplabActivityConfigurationBean) getActivity() .getConfiguration()).getEndpoint(); Call call = (Call) new Service().createCall(); call.setTimeout(new Integer(0)); call.setTargetEndpointAddress(endpoint); call.setOperationName(new QName("describe")); String metadata = (String) call.invoke(new Object[0]);
public CondorCgahpStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
public void storeDataThing(DataThing theDataThing, boolean silent) throws DuplicateLSIDException { Document doc = new Document(DataThingXMLFactory .getElement(theDataThing)); XMLOutputter xo = new XMLOutputter(Format.getPrettyFormat()); String stringifiedThing = xo.outputString(doc); try { Call call = (Call) new Service().createCall(); call.setTargetEndpointAddress(serviceEndpoint); call.setOperationName(new QName("storeDataThing")); Boolean operationSucceeded = (Boolean) (call.invoke(new Object[] { stringifiedThing, new Boolean(silent) })); if (operationSucceeded.booleanValue() == false && silent == false) { throw new DuplicateLSIDException(); } } catch (RemoteException re) { log.error("Exception when calling remote service", re); throw new RuntimeException( "Failed to store datathing in SOAP store"); } catch (ServiceException se) { log.error("Service exception when calling remote service", se); throw new RuntimeException( "Service exception creating call object!"); } }
public CondorTtStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
SoaplabProcessor sp = (SoaplabProcessor) processor; URL soaplabEndpoint = sp.getEndpoint(); Call call = (Call) new Service().createCall(); call.setTimeout(new Integer(0)); call.setTargetEndpointAddress(soaplabEndpoint); call.setOperationName(new QName("describe")); String metadata = (String) call.invoke(new Object[0]);
public CondorNegotiatorStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
public DataThing fetchDataThing(String LSID) throws NoSuchLSIDException { try { Call call = (Call) new Service().createCall(); call.setTargetEndpointAddress(serviceEndpoint); call.setOperationName(new QName("fetchDataThing")); String stringifiedThing = (String) (call .invoke(new Object[] { LSID })); try { DataThing theDataThing = null; SAXBuilder builder = new SAXBuilder(false); Document doc = builder .build(new StringReader(stringifiedThing)); theDataThing = new DataThing(doc.getRootElement()); return theDataThing; } catch (JDOMException jde) { log .error( "Error whilst reconstructing DataThing from XML", jde); throw new NoSuchLSIDException(); } } catch (Exception e) { NoSuchLSIDException nsle = new NoSuchLSIDException(); nsle.initCause(e); throw nsle; } }
public CondorLeaseManagerStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
Call call = (Call) new Service().createCall(); call.setTimeout(new Integer(INVOCATION_TIMEOUT)); URL soaplabWSDLURL = proc.getEndpoint(); call.setOperationName(new QName("createAndRun")); String jobID = (String) call .invoke(new Object[] { soaplabInputMap }); call.setOperationName(new QName("waitFor")); call.invoke(new Object[] { jobID }); } else { call.setOperationName(new QName("getStatus")); String statusString = (String) call .invoke(new Object[] { jobID });
public CondorStartdFactoryStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
Call call = (Call) new Service().createCall(); call.setTimeout(new Integer(INVOCATION_TIMEOUT)); call.setOperationName(new QName("createAndRun")); String jobID = (String) call .invoke(new Object[] { soaplabInputMap }); call.setOperationName(new QName("waitFor")); call.invoke(new Object[] { jobID }); } else { call.setOperationName(new QName("getStatus")); String statusString = (String) call .invoke(new Object[] { jobID });
public CondorHDFSStub(javax.xml.rpc.Service service) throws org.apache.axis.AxisFault { if (service == null) { super.service = new org.apache.axis.client.Service(); } else { super.service = service; java.lang.Class simplelistsf = org.apache.axis.encoding.ser.SimpleListSerializerFactory.class; java.lang.Class simplelistdf = org.apache.axis.encoding.ser.SimpleListDeserializerFactory.class; qName = new javax.xml.namespace.QName("urn:condor", "Status"); cachedSerQNames.add(qName); cls = condor.Status.class; cachedSerClasses.add(cls); cachedSerFactories.add(beansf); cachedDeserFactories.add(beandf); qName = new javax.xml.namespace.QName("urn:condor", "StatusCode"); cachedSerQNames.add(qName); cls = condor.StatusCode.class; cachedDeserFactories.add(enumdf); qName = new javax.xml.namespace.QName("urn:condor", "StringAndStatus"); cachedSerQNames.add(qName); cls = condor.StringAndStatus.class;
Call call = (Call) new Service().createCall(); call.setTimeout(new Integer(INVOCATION_TIMEOUT)); call.setOperationName(new QName("createAndRun")); String jobID = (String) call .invoke(new Object[] { soaplabInputMap }); call.setOperationName(new QName("waitFor")); call.invoke(new Object[] { jobID }); } else { call.setOperationName(new QName("getStatus")); String statusString = (String) call .invoke(new Object[] { jobID });