Ignore:
Timestamp:
02/11/06 17:48:01 (13 years ago)
Author:
pjkersha
Message:

Modified version working for sig generation with WebSphere?. Verify of
WebSphere? incoming message still to resolve.

File:
1 edited

Legend:

Unmodified
Added
Removed
  • TI12-security/trunk/python/Tests/Echo/EchoClient.py

    r1634 r1664  
    3030        if isEchoRequest(sw): 
    3131            if self.sigHandler: 
    32                 self.sigHandler.sign(sw) 
     32                pass#self.sigHandler.sign(sw) 
    3333        else:     
    3434            if self.encrHandler: 
     
    4848 
    4949 
    50 priKeyPwd = open('../tmp2').read().strip() 
    51 certFilePath = '../Junk-cert.pem' 
    52 priKeyFilePath = '../Junk-key.pem' 
     50#priKeyPwd = open('../tmp2').read().strip() 
     51#certFilePath = '../Junk-cert.pem' 
     52#priKeyFilePath = '../Junk-key.pem' 
     53priKeyPwd = None 
     54certFilePath = '../webSphereTestcert.pem' 
     55priKeyFilePath = '../webSphereTestkey.pem' 
    5356 
    5457# Signature handler object is passed to binding 
     
    6568         
    6669# Instantiate a client proxy object, then call it 
    67 echoSrv = EchoServerSOAP("http://localhost:7100/EchoServIn", 
     70echoSrv = EchoServerSOAP("http://192.100.78.234:9081/EchoServiceWeb/services/EchoServer", 
    6871                         sig_handler=wsseHandler, 
    6972                         tracefile=sys.stdout) 
    7073try: 
    7174    import pdb;pdb.set_trace() 
    72     print echoSrv.Echo("Test INHERIT String") 
     75    print echoSrv.Echo("Test String") 
    7376    #print echoSrv.EchoEncr("Test Secret") 
    7477except Exception, e: 
    75     print "Failed to echo (Inherited): ", e 
     78    print "Failed to echo: ", e 
    7679 
Note: See TracChangeset for help on using the changeset viewer.