python-zeep icon indicating copy to clipboard operation
python-zeep copied to clipboard

Invalid tag name

Open freenetwork opened this issue 4 years ago • 1 comments

  1. Name: zeep Version: 4.0.0
  2. ArcSight ESM SOAP API
  3. https://gist.github.com/freenetwork/5bc84d98fc85067c83b27408942127e6.

After the Client is created, I get the following error File "src\lxml\etree.pyx", line 1831, in lxml.etree.QName.__init__ File "src\lxml\apihelpers.pxi", line 1734, in lxml.etree._tagValidOrRaise ValueError: Invalid tag name 'Resource$SubType'

Please how to create mock.patch for tag?

freenetwork avatar May 25 '21 08:05 freenetwork

the link to the gist point to https://github.com/mvantellingen/python-zeep/issues/WDSL instead of https://gist.github.com/freenetwork/5bc84d98fc85067c83b27408942127e6

$ is not a valid character in a xml tag name, so change them.

yurj avatar May 28 '21 09:05 yurj