MCPcopy Create free account
hub / github.com/ronreiter/interactive-tutorials / succeeded

Method succeeded

suds/client.py:682–705  ·  view source on GitHub ↗

Request succeeded, process the reply @param binding: The binding to be used to process the reply. @type binding: L{bindings.binding.Binding} @param reply: The raw reply text. @type reply: str @return: The method result. @rtype: I{builtin}, L{O

(self, binding, reply)

Source from the content-addressed store, hash-verified

680 return result
681
682 def succeeded(self, binding, reply):
683 """
684 Request succeeded, process the reply
685 @param binding: The binding to be used to process the reply.
686 @type binding: L{bindings.binding.Binding}
687 @param reply: The raw reply text.
688 @type reply: str
689 @return: The method result.
690 @rtype: I{builtin}, L{Object}
691 @raise WebFault: On server.
692 """
693 log.debug('http succeeded:\n%s', reply)
694 plugins = PluginContainer(self.options.plugins)
695 if len(reply) > 0:
696 reply, result = binding.get_reply(self.method, reply)
697 self.last_received(reply)
698 else:
699 result = None
700 ctx = plugins.message.unmarshalled(reply=result)
701 result = ctx.reply
702 if self.options.faults:
703 return result
704 else:
705 return (200, result)
706
707 def failed(self, binding, error):
708 """

Callers 2

sendMethod · 0.95
__replyMethod · 0.80

Calls 4

last_receivedMethod · 0.95
PluginContainerClass · 0.90
get_replyMethod · 0.80
unmarshalledMethod · 0.80

Tested by

no test coverage detected