Detect I{hidden} soapenv:Fault element in the soap body. @param body: The soap envelope body. @type body: L{Element} @raise WebFault: When found.
(self, body)
| 168 | return (replyroot, None) |
| 169 | |
| 170 | def detect_fault(self, body): |
| 171 | """ |
| 172 | Detect I{hidden} soapenv:Fault element in the soap body. |
| 173 | @param body: The soap envelope body. |
| 174 | @type body: L{Element} |
| 175 | @raise WebFault: When found. |
| 176 | """ |
| 177 | fault = body.getChild('Fault', envns) |
| 178 | if fault is None: |
| 179 | return |
| 180 | unmarshaller = self.unmarshaller(False) |
| 181 | p = unmarshaller.process(fault) |
| 182 | if self.options().faults: |
| 183 | raise WebFault(p, fault) |
| 184 | return self |
| 185 | |
| 186 | def replylist(self, rt, nodes): |
| 187 | """ |