FuelSDK-Python icon indicating copy to clipboard operation
FuelSDK-Python copied to clipboard

[BUG]

Open dakindre opened this issue 5 years ago • 0 comments

Describe the bug soap_client method not found when instantiating ETL_Client. SUDS complains it cannot find the method 'PartnerAPI.Soap.len'. I've copied the WSDL file from your repo into my python module as recommended. I'm using windows so I had to correct the path to fit your formatting.

Expected behavior The SOAP Client should not have errored out. The method should be found

Screenshots soap_issue

Code snippet wsdl_url = (os.path.dirname(os.path.realpath(file)) + '/ExactTargetWSDL.xml').replace('\', '/')

    self.myClient = FuelSDK.ET_Client(
        False,
        False,
        {
            'clientid': 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
            'clientsecret': 'XXXXXXXXXXXXXXXXXXXXXXXXXX',
            'authenticationurl': 'https://XXXXXXXXXXXXXXXXXXXXX.auth.marketingcloudapis.com',
            'useOAuth2Authentication': 'True',
            'wsdl_file_local_loc': wsdl_url
        }
    )

Note: Because the developers need to copy and paste the code snippet, including a code snippet as a media file (e.g. gif) is not sufficient.

Environment

  • SDK Version [e.g. 1.3.0]
  • Python version 3.6

The bug has the severity

  • [] Critical: The defect affects critical functionality or critical data. It does not have a workaround.
  • [x ] Major: The defect affects major functionality or major data. It has a workaround but is not obvious and is difficult.
  • [ ] Minor: The defect affects minor functionality or non-critical data. It has an easy workaround.
  • [ ] Trivial: The defect does not affect functionality or data. It does not even need a workaround. It does not impact productivity or efficiency. It is merely an inconvenience.

dakindre avatar Mar 30 '20 16:03 dakindre