def FaultFromFaultMessage(ps):
pyobj = ps.Parse(FaultType.typecode)<EOL>if pyobj.detail == None:  detailany = None<EOL>else:  detailany = pyobj.detail.any<EOL>return Fault(pyobj.faultcode, pyobj.faultstring,<EOL>pyobj.faultactor, detailany)<EOL>
Parse the message as a fault.