Changeset 3977


Ignore:
Timestamp:
2003-03-25T10:06:45+12:00 (21 years ago)
Author:
kjdon
Message:

tidied up from att in response

Location:
trunk/gsdl3/src/java/org/greenstone/gsdl3/service
Files:
2 edited

Legend:

Unmodified
Added
Removed
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGPPSearch.java

    r3952 r3977  
    442442    // Create a new (empty) result message
    443443    Element result = doc_.createElement(GSXML.RESPONSE_ELEM);
    444     // set the from att
    445     String from = GSPath.appendLink(cluster_name_, service_name);
    446     result.setAttribute(GSXML.FROM_ATT, from);
     444    result.setAttribute(GSXML.FROM_ATT, service_name);
    447445    result.setAttribute(GSXML.TYPE_ATT, GSXML.REQUEST_TYPE_PROCESS);
    448446   
  • trunk/gsdl3/src/java/org/greenstone/gsdl3/service/GS2MGSearch.java

    r3946 r3977  
    9292    // Create a new (empty) result message
    9393    Element result = doc_.createElement(GSXML.RESPONSE_ELEM);
    94     String from = GSPath.appendLink(cluster_name_, TEXT_QUERY_SERVICE);
    95     result.setAttribute(GSXML.FROM_ATT, from);
     94    result.setAttribute(GSXML.FROM_ATT, TEXT_QUERY_SERVICE);
    9695    result.setAttribute(GSXML.TYPE_ATT, GSXML.REQUEST_TYPE_PROCESS);
    97     //Element result_content = doc_.createElement(GSXML.CONTENT_ELEM);
    98     //result.appendChild(result_content);
    9996
    10097    // Get the parameters of the request
Note: See TracChangeset for help on using the changeset viewer.