greenstone.org greenstone wiki greenstone trac planet greenstone

Changeset 16758

Show
Ignore:
Timestamp:
2008-08-13 14:28:51 (5 months ago)
Author:
ak19
Message:

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

Files:

Legend:

Unmodified
Added
Removed
Modified
Copied
Moved
  • greenstone3/trunk/resources/java/QBRSOAPServer.java.in

    r16105 r16758  
    735735                 
    736736                // Let the messagerouter process the request message and get the response 
    737                 Element response = mr.process(message);  
    738                       // won't be null, MR always returns some response 
     737                Element response = converter.nodeToElement(mr.process(message));  
     738                      // won't be null except when Node returned is not an element 
     739                      // otherwise, MR always returns some response 
    739740 
    740741                // Return it as a String formatted for display