Ignore:
Timestamp:
2004-12-06T11:44:03+13:00 (19 years ago)
Author:
schweer
Message:

user authentication works; user information and subscriptions/predicates are stored to thedatabase

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/extensions/gsdl-as/src/org/greenstone/gsdlas/GreenstoneCommunicator.java

    r8720 r8738  
    99package org.greenstone.gsdlas;
    1010
    11 import java.io.OutputStreamWriter;
    1211import java.net.URL;
    1312import java.util.*;
     
    1817import org.apache.soap.Fault;
    1918import org.apache.soap.rpc.*;
    20 import org.apache.soap.util.xml.DOM2Writer;
    2119import org.w3c.dom.*;
    2220
     
    4442    }
    4543
     44    /**
     45     *
     46     */
     47    public GreenstoneCommunicator() {
     48       
     49        // TODO Auto-generated constructor stub
     50    }
     51
     52    public String[] getHostNames() {
     53        return new String[] {"localhost"};
     54    }
     55   
    4656    public String[] getCollectionNames() throws Exception {
    4757        Document document = createSubsetDescriptionRequest("", "collectionList");
     
    5666            result[i] = name.getNodeValue();
    5767        }
     68       
     69        System.out.println(Arrays.toString(result));
    5870       
    5971        return result;
     
    139151    private Element sendToGreenstone(Element message) throws Exception {
    140152        Call call = new Call();
    141         call.setTargetObjectURI("teevee.localsite");
     153        call.setTargetObjectURI("localsite");
    142154        call.setMethodName("process");
    143155        // set Encoding Style to use literal XML
Note: See TracChangeset for help on using the changeset viewer.