ZSI的问题

1 投票
1 回答
588 浏览
提问于 2025-04-16 13:03

我用ZSI构建了一个网络服务,参考了这个例子,但是在发送请求后,我收到了下面这个XML。


<SOAP-ENV:Envelope xmlns:SOAP-ENC="http://schemas.xmlsoap.org/soap/encoding/" xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:ZSI="http://www.zolera.com/schemas/ZSI/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
   <SOAP-ENV:Header/>
   <SOAP-ENV:Body>
      <SOAP-ENV:Fault>
         <faultcode>SOAP-ENV:Server</faultcode>
         <faultstring>Processing Failure</faultstring>
         <detail>
            <ZSI:FaultDetail>
               <ZSI:string>iteration over non-sequence</ZSI:string>
               <ZSI:trace>build\bdist.win32\egg\ZSI\ServiceContainer.py:108:_Dispatch</ZSI:trace>
            </ZSI:FaultDetail>
         </detail>
      </SOAP-ENV:Fault>
   </SOAP-ENV:Body>
</SOAP-ENV:Envelope>

有没有什么想法可以解决这个问题?

1 个回答

-1

这里有一个正确的例子:http://pywebsvcs.sourceforge.net/holger.pdf

撰写回答