Module Expr Str FunctionDef arguments args defaults body Import alias ImportFrom alias alias ImportFrom alias Assign NameStore Str Assign NameStore Str Assign NameStore Call AttributeLoad Call NameLoad Call NameLoad NameLoad attr AttributeLoad AttributeLoad NameLoad attr attr Str If UnaryOpNot Call AttributeLoad NameLoad attr Str body Assign NameStore BinOpAdd Str NameLoad AugAssignAdd NameStore BinOpMod Str NameLoad Assign NameStore BinOpAdd Str NameLoad Print Str NameLoad Assign NameStore Call NameLoad Assign NameStore Call NameLoad NameLoad NameLoad Print NameLoad Expr Call AttributeLoad SubscriptLoad AttributeLoad AttributeLoad NameLoad attr attr Index Num attr NameLoad If NameLoad body Print Str Assign NameStore Call AttributeLoad AttributeLoad NameLoad attr attr Str Print Str Print NameLoad Print Str Print AttributeLoad AttributeLoad NameLoad attr attr decorator_list If CompareEq NameLoad Str body Expr Call NameLoad
N/A N/A 
This script just calls the `TestConnectionService` service using :term:`SUDS`. 
It is to be called from the command line as follows::

  python -m lino.utils.xmlgen.cbss.20120305
  
Expected output::

  Instantiate Client at file:///var/snapshots/lino_dev/lino/utils/xmlgen/cbss/XSD/TestConnectionService.wsdl

  Suds ( https://fedorahosted.org/suds/ )  version: 0.3.9 GA  build: R659-20100219

  Service ( TestConnectionServiceService ) tns="http://kszbcss.fgov.be/intf/TestConnectionServiceService/v1"
     Prefixes (1)
        ns0 = "http://kszbcss.fgov.be/types/TestConnectionService/v1"
     Ports (1):
        (TestConnectionServiceService)
           Methods (1):
              sendTestMessage(xs:string echo, )
           Types (11):
              ns0:CbeNumberType
              ns0:CustomerIdentificationType
              ns0:InformationCBSSType
              ns0:InformationCustomerType
              ns0:InformationType
              ns0:MessageType
              ns0:SendTestMessageRequestType
              ns0:SendTestMessageResponseType
              ns0:SeverityType
              ns0:StatusType
              ns0:UUIDType


  Sending request ...
  Full result:
  (reply){
     informationCBSS =
        (InformationCBSSType){
           ticketCBSS = "1b1b6828-71a6-49b6-a543-7edc975d54c3"
           timestampReceive = 2012-03-30 11:16:04.000798
           timestampReply = 2012-03-30 11:16:04.000867
        }
     echo = "hello cbss service"
     sslCertificate = "CN=incursus.smals.be,C=BE,emailAddress=pki@smals.be,L=BRUSSELS,ST=BRUSSELS,OU=Smals,O=Smals"
   }
  Ticket ID:
  1b1b6828-71a6-49b6-a543-7edc975d54c3

 _test N/A N/A N/A N/A N/A os os.path abspath dirname suds.client Client N/A service TestConnectionService N/A service_url https://bcssksz-services-test.smals.be:443/SOA4520/TestConnectionServiceService N/A url N/A N/A N/A abspath N/A dirname __file__ replace N/A N/A os path sep / N/A N/A N/A N/A url startswith / N/A N/A url N/A / url N/A url N/A /XSD/%s.wsdl service N/A url N/A file:// url N/A Instantiate Client at url N/A suds_options N/A dict N/A client N/A Client url suds_options N/A client N/A N/A N/A N/A N/A N/A client service __services N/A 0 setlocation service_url N/A False N/A N/A Sending request ... N/A result N/A N/A N/A client service sendTestMessage hello cbss service N/A Full result: N/A result N/A Ticket ID: N/A N/A N/A result informationCBSS ticketCBSS N/A N/A N/A __name__ __main__ N/A N/A N/A _test