I'm having an issue which I think is potentially a bug in ZSI 2.0. I searched through the bug tracker, but I couldn't find anything that looks like this problem.
I'm writing a client that connects to the VMware web service. The problem is that when I log in and log out more than once during a process lifetime, I start getting parse errors
I've looked at the XML that comes back after the second call, and I can't see anything wrong with it. I've boiled the code down to a small sample program that generates the problem (see attached). I've also attached a trace log from a sample run.
I'd really appreciate it if anyone has any ideas on how I could solve this problem.
1: parse errors:
Traceback (most recent call last):
File "test.py", line 43, in <module>
content = getSvcContent(service)
File "test.py", line 9, in getSvcContent
response = svc.RetrieveServiceContent(svcRequest)
File "/code/5137/usr/lib/python/racemi/devicedrivers/chassis/vmware_connector/vim_service.py", line 1128, in RetrieveServiceContent
response = self.binding.Receive(RetrieveServiceContentResponseMsg.typecode)
File "/opt/race/share/sw/os/Linux_2.6_i686/python/lib/python2.5/site-packages/ZSI/client.py", line 503, in Receive
return _Binding.Receive(self, replytype, **kw)
File "/opt/race/share/sw/os/Linux_2.6_i686/python/lib/python2.5/site-packages/ZSI/client.py", line 437, in Receive
reply = self.ps.Parse(tc)
File "/opt/race/share/sw/os/Linux_2.6_i686/python/lib/python2.5/site-packages/ZSI/parse.py", line 323, in Parse
return how.parse(self.body_root, self)
File "/opt/race/share/sw/os/Linux_2.6_i686/python/lib/python2.5/site-packages/ZSI/TCcompound.py", line 201, in parse
value = what.parse(c_elt, ps)
File "/opt/race/share/sw/os/Linux_2.6_i686/python/lib/python2.5/site-packages/ZSI/TCcompound.py", line 234, in parse
'" missing from complexType', ps.Backtrace(elt))
ZSI.EvaluateException: Element "__this" missing from complexType
[Element trace: /soapenv:Envelope/soapenv:Body/RetrieveServiceContentResponse/returnval]
Log in to post a comment.