Ignore:
Timestamp:
2008-08-13T14:33:00+12:00 (16 years ago)
Author:
ak19
Message:

Since greenstone3 core ModuleInterface.process() now takes a Node and RETURNS a Node, it calls XMLConverter.nodeToElement() to convert the Node back into the Element version of the response.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • other-projects/trunk/gs3-webservices-democlient/src/GS3DemoClient/org/greenstone/gs3services/AdminSOAPServer.java

    r16755 r16759  
    1414import org.w3c.dom.Document;
    1515import org.w3c.dom.Element;
     16import org.w3c.dom.Node;
    1617
    1718/**
     
    261262        // Let the messagerouter process the request message and get the response
    262263        Element response = converter.nodeToElement(mr.process(message));
    263             // won't be null, MR always returns some XML response
    264        
     264                // won't be null except when Node returned is not an element
     265                // otherwise, MR always returns some response
     266
    265267        // Return it as a String formatted for display
    266268        return this.converter.getPrettyString(response);
Note: See TracChangeset for help on using the changeset viewer.