Last change
on this file since 3222 was 3222, checked in by kjdon, 22 years ago |
Initial revision
|
-
Property svn:keywords
set to
Author Date Id Revision
|
File size:
585 bytes
|
Line | |
---|
1 | package org.greenstone.gsdl3;
|
---|
2 |
|
---|
3 | import org.greenstone.gsdl3.core.*;
|
---|
4 | import org.w3c.dom.Node;
|
---|
5 |
|
---|
6 | public class SOAPServer
|
---|
7 | implements ModuleInterface {
|
---|
8 |
|
---|
9 | MessageRouter mr_=null;
|
---|
10 |
|
---|
11 | public SOAPServer() {
|
---|
12 | mr_ = new MessageRouter();
|
---|
13 | String site_home="/research/kjdon/gsdl3/sites/site2";
|
---|
14 | mr_.setSiteHome(site_home);
|
---|
15 | mr_.configure();
|
---|
16 | }
|
---|
17 |
|
---|
18 | public String process(String xml_in) {
|
---|
19 | return mr_.process(xml_in);
|
---|
20 |
|
---|
21 | }
|
---|
22 |
|
---|
23 | /** shouldn't be used, but need this to implement ModuleInterface */
|
---|
24 | public Node process(Node xml_in) {
|
---|
25 | return mr_.process(xml_in);
|
---|
26 | }
|
---|
27 | }
|
---|
28 |
|
---|
Note:
See
TracBrowser
for help on using the repository browser.