Changeset 16758

Show
Ignore:
Timestamp:
13.08.2008 14:28:51 (11 years 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:
1 modified

Legend:

Unmodified
Added
Removed
  • 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