Ignore:
Timestamp:
31/08/06 16:59:57 (13 years ago)
Author:
pjkersha
Message:

Working version with signature and validation across a SOAP interface.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/xmlsec/WS-Security/wsServer.py

    r1465 r1469  
    11#!/usr/bin/env python 
     2 
     3"""WS-Security test server 
     4 
     5NERC Data Grid Project 
     6 
     7P J Kershaw 01/09/06 
     8 
     9Copyright (C) 2006 CCLRC & NERC 
     10 
     11This software may be distributed under the terms of the Q Public License, 
     12version 1.0 or later. 
     13""" 
     14 
     15reposID = '$Id$' 
    216 
    317import sys 
     
    166180    httpd.rpc = rpc 
    167181    httpd.serve_forever() 
    168      
    169      
    170182 
    171 ''' 
    172 def echo(ps): 
    173     frame = sys._getframe().f_back 
    174     import pdb;pdb.set_trace() 
    175 #    response._message = message.Parse(TC.Any('echo', aslist=0))[0] 
    176     request = ps.Parse(echoRequestWrapper) 
    177     response = echoResponseWrapper()     
    178     response._message = request._message 
    179      
    180     return response 
    181 ''' 
    182183 
    183184if __name__ == '__main__': 
Note: See TracChangeset for help on using the changeset viewer.