diff --git a/source/de/anomic/soap/services/StatusService.java b/source/de/anomic/soap/services/StatusService.java index a6b3c5755..826176196 100644 --- a/source/de/anomic/soap/services/StatusService.java +++ b/source/de/anomic/soap/services/StatusService.java @@ -50,6 +50,7 @@ import org.w3c.dom.Document; import de.anomic.server.serverObjects; import de.anomic.soap.AbstractService; +import de.anomic.yacy.yacyCore; public class StatusService extends AbstractService { @@ -200,4 +201,14 @@ public class StatusService extends AbstractService { // sending back the result to the client return this.convertContentToXML(result); } + + + public String getPeerHash() throws AxisFault { + // extracting the message context + extractMessageContext(AUTHENTICATION_NEEDED); + + // return the peer hash + return yacyCore.seedDB.mySeed.getHexHash(); + } + } diff --git a/source/de/anomic/soap/services/status.wsdl b/source/de/anomic/soap/services/status.wsdl index b88145db8..a837c20d9 100644 --- a/source/de/anomic/soap/services/status.wsdl +++ b/source/de/anomic/soap/services/status.wsdl @@ -6,10 +6,12 @@ Built on Apr 22, 2006 (06:55:48 PDT)--> + + + - @@ -17,9 +19,9 @@ Built on Apr 22, 2006 (06:55:48 PDT)--> + - @@ -27,35 +29,43 @@ Built on Apr 22, 2006 (06:55:48 PDT)--> + - + + + + - + - + + + + + @@ -104,6 +114,16 @@ Built on Apr 22, 2006 (06:55:48 PDT)--> + + + + + + + + + +