code: def setUp(self, port, soc, input):
          '''
          Instance Data: 
             op    -- WSDLTools Operation instance
             bop   -- WSDLTools BindingOperation instance
             input -- boolean input/output
          '''
          name = soc.getOperationName()
          bop = port.getBinding().operations.get(name)
          op = port.getBinding().getPortType().operations.get(name)
  
          assert op is not None, 'port has no operation %s' %name
          assert bop is not None, 'port has no binding operation %s' %name
  
          self.input = input
          self.op = op
          self.bop = bof setUp(self, port, soc, input):
          '''
          Instance Data: 
             op    -- WSDLTools Operation instance
             bop   -- WSDLTools BindingOperation instance
             input -- boolean input/output
          '''
          name = soc.getOperationName()
          bop = port.getBinding().operations.get(name)
          op = port.getBinding().getPortType().operations.get(name)
  
          assert op is not None, 'port has no operation %s' %name
          assert bop is not None, 'port has no binding operation %s' %name
  
          self.input = input
          self.op = op
          self.bop = bop
docs: Instance Data: 
             op    -- WSDLTools Operation instance
             bop   -- WSDLTools BindingOperation instance
             input -- boolean input/output