Ignore:
Timestamp:
2008-08-13T14:28:51+12:00 (16 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.

File:
1 edited

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
Note: See TracChangeset for help on using the changeset viewer.