Changeset 8644


Ignore:
Timestamp:
2004-11-24T10:06:34+13:00 (18 years ago)
Author:
schweer
Message:

making the alerting service accessible via SOAP (for posting events)

Location:
trunk
Files:
3 added
12 edited

Legend:

Unmodified
Added
Removed
  • trunk/greenstone3-extensions/gsdl-as/build.xml

    r8632 r8644  
    111111
    112112  <property name="app.name"      value="gsdl-as"/>
    113   <property name="app.path"      value="/${app.name}"/>
     113  <property name="app.path"      value="/alerting"/>
    114114  <property name="app.version"   value="0.1-dev"/>
    115115  <property name="build.home"    value="${basedir}/build"/>
  • trunk/greenstone3-extensions/gsdl-as/src/org/greenstone/gsdlas/AlertingService.java

    r8630 r8644  
    143143    }
    144144   
    145     public void receive(Map event) {
     145    public void receiveEvent(Map event) {
    146146        GreenstoneCommunicator gsComm = null;
    147147        try {
  • trunk/greenstone3-extensions/gsdl-as/web/index.html

    r8630 r8644  
    3434   
    3535    <tr><td><a href="test.html">Test</a> the alerting service servlet.</td></tr>
     36    <tr><td><a href="service?action=listSubscriptions">List</a> the existing subscriptions.</td></tr>
    3637    <tr><td><a href="about.html">Read more</a> about the alerting service.</td></tr>
    3738       
  • trunk/greenstone3-extensions/gsdl-as/web/test.html

    r8630 r8644  
    1616        <form action="/alerting/service?test" method="POST">
    1717            <input type="text" name="text"/><br/>
    18             <input type="submit"/>
     18            <input type="submit" value="submit"/>
    1919        </form>
    2020        <hr/>
    2121       
    2222        <h1>Subscribe</h1>
    23         <form action="/alerting/service" method ="GET" name="subscribe">
     23        <form action="/alerting/service" method="POST" name="subscribe">
    2424            <input type="hidden" name="action" value="subscribe"/>
    2525            <table border="1">
     
    5757                    </td>
    5858                </tr>
    59                 <tr>
    60                     <th>Collection Name</th>
    61                     <td>
    62                       <input type="text" name="collection_name"/>
    63                     </td>
    64                 </tr>
    6559            </table>
    6660            <br/>
    67             <input type="submit"/>
     61            <input type="submit" value="submit"/>
    6862        </form>
    6963    </body>
  • trunk/gsdl3/extensions/gsdl-as/build.xml

    r8632 r8644  
    111111
    112112  <property name="app.name"      value="gsdl-as"/>
    113   <property name="app.path"      value="/${app.name}"/>
     113  <property name="app.path"      value="/alerting"/>
    114114  <property name="app.version"   value="0.1-dev"/>
    115115  <property name="build.home"    value="${basedir}/build"/>
  • trunk/gsdl3/extensions/gsdl-as/src/org/greenstone/gsdlas/AlertingService.java

    r8630 r8644  
    143143    }
    144144   
    145     public void receive(Map event) {
     145    public void receiveEvent(Map event) {
    146146        GreenstoneCommunicator gsComm = null;
    147147        try {
  • trunk/gsdl3/extensions/gsdl-as/web/index.html

    r8630 r8644  
    3434   
    3535    <tr><td><a href="test.html">Test</a> the alerting service servlet.</td></tr>
     36    <tr><td><a href="service?action=listSubscriptions">List</a> the existing subscriptions.</td></tr>
    3637    <tr><td><a href="about.html">Read more</a> about the alerting service.</td></tr>
    3738       
  • trunk/gsdl3/extensions/gsdl-as/web/test.html

    r8630 r8644  
    1616        <form action="/alerting/service?test" method="POST">
    1717            <input type="text" name="text"/><br/>
    18             <input type="submit"/>
     18            <input type="submit" value="submit"/>
    1919        </form>
    2020        <hr/>
    2121       
    2222        <h1>Subscribe</h1>
    23         <form action="/alerting/service" method ="GET" name="subscribe">
     23        <form action="/alerting/service" method="POST" name="subscribe">
    2424            <input type="hidden" name="action" value="subscribe"/>
    2525            <table border="1">
     
    5757                    </td>
    5858                </tr>
    59                 <tr>
    60                     <th>Collection Name</th>
    61                     <td>
    62                       <input type="text" name="collection_name"/>
    63                     </td>
    64                 </tr>
    6559            </table>
    6660            <br/>
    67             <input type="submit"/>
     61            <input type="submit" value="submit"/>
    6862        </form>
    6963    </body>
  • trunk/gsdl3/packages/gsdl-as/build.xml

    r8632 r8644  
    111111
    112112  <property name="app.name"      value="gsdl-as"/>
    113   <property name="app.path"      value="/${app.name}"/>
     113  <property name="app.path"      value="/alerting"/>
    114114  <property name="app.version"   value="0.1-dev"/>
    115115  <property name="build.home"    value="${basedir}/build"/>
  • trunk/gsdl3/packages/gsdl-as/src/org/greenstone/gsdlas/AlertingService.java

    r8630 r8644  
    143143    }
    144144   
    145     public void receive(Map event) {
     145    public void receiveEvent(Map event) {
    146146        GreenstoneCommunicator gsComm = null;
    147147        try {
  • trunk/gsdl3/packages/gsdl-as/web/index.html

    r8630 r8644  
    3434   
    3535    <tr><td><a href="test.html">Test</a> the alerting service servlet.</td></tr>
     36    <tr><td><a href="service?action=listSubscriptions">List</a> the existing subscriptions.</td></tr>
    3637    <tr><td><a href="about.html">Read more</a> about the alerting service.</td></tr>
    3738       
  • trunk/gsdl3/packages/gsdl-as/web/test.html

    r8630 r8644  
    1616        <form action="/alerting/service?test" method="POST">
    1717            <input type="text" name="text"/><br/>
    18             <input type="submit"/>
     18            <input type="submit" value="submit"/>
    1919        </form>
    2020        <hr/>
    2121       
    2222        <h1>Subscribe</h1>
    23         <form action="/alerting/service" method ="GET" name="subscribe">
     23        <form action="/alerting/service" method="POST" name="subscribe">
    2424            <input type="hidden" name="action" value="subscribe"/>
    2525            <table border="1">
     
    5757                    </td>
    5858                </tr>
    59                 <tr>
    60                     <th>Collection Name</th>
    61                     <td>
    62                       <input type="text" name="collection_name"/>
    63                     </td>
    64                 </tr>
    6559            </table>
    6660            <br/>
    67             <input type="submit"/>
     61            <input type="submit" value="submit"/>
    6862        </form>
    6963    </body>
Note: See TracChangeset for help on using the changeset viewer.