Patch (made against SOAPpy 0.12.0_rc1 - will likely
work with other versions, but hasn't been tested) adds
a new confuration parameter - force_refs_off - which,
when set to 1 or True, prevents a fallback to using
refs when building SOAP messages.
This fallback can result in outgoing SOAP messages that
can be incompatible with some SOAP web services. If the
outgoing SOAP message is littered with tags that have
href attributes, you may have been effected by this
In my case, this patch was necessary to access the
Salesforce.com sforce API in the cases where duplicate
data elements may be in a SOAP message.
For backwards compatibility, the new config parameter
defaults to 0 (off) which will preserve the current
behavior. This should make this patch safe to include
in future versions of SOAPpy without affecting existing
code which uses the SOAPpy toolkit.
Log in to post a comment.