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

Working test code for ZSI Web Service using Twisted:

  • for server, used wsdl2dispatch - but make sure to edit the return types

in AttAuthority_services_server server class stubs to return request, response
tuple as required by Twisted interface. Created .tac file which loads a
sub class of the wsdl2dispatch generated class.

  • tested with standard ZSI client using stubs generated from wsdl2py. Also

tested with Twisted client - stubs generated with wsdl2py including the -w
option.

File:
1 edited

Legend:

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

    r1664 r1696  
    1515# Locator 
    1616class EchoServerLocator: 
    17     EchoServer_address = "http://localhost:9081/EchoServiceWeb/services/EchoServer" 
     17    EchoServer_address = "http://localhost:7100" 
    1818    def getEchoServerAddress(self): 
    1919        return EchoServerLocator.EchoServer_address 
     
    3030        # no ws-addressing 
    3131 
    32     # op: <ZSI.wstools.WSDLTools.Message instance at 0xb6e8fe6c> 
     32    # op: <ZSI.wstools.WSDLTools.Message instance at 0xb77f40ec> 
    3333    def Echo(self, EchoIn): 
    3434 
     
    4444        return EchoResult 
    4545 
    46     # op: <ZSI.wstools.WSDLTools.Message instance at 0xb6e9466c> 
     46    # op: <ZSI.wstools.WSDLTools.Message instance at 0xb77f48cc> 
    4747    def EchoEncr(self, EchoIn): 
    4848 
Note: See TracChangeset for help on using the changeset viewer.