Skip to content

Reduce operation in pickling valueobjects doesn't work when inner xml blob of a soap envelop is copied from another envelope. #429

Open
@sankalpanand

Description

@sankalpanand

This particular commit breaks our existing POST request. Our SOAP Envelope looks like the one attached below. What's happening is that I am using python's copy method to copy callForwardAll from an existing node. During copying, this Python's native reduction step is overridden by this reduction step in zeep.
I end up getting an error- AttributeError: 'NoneType' object has no attribute 'render'. If I figure out what the problem is, I'll be happy to submit a PR for this.

<?xml version='1.0' encoding='utf-8'?>
<soap-env:Envelope xmlns:soap-env="http://schemas.xmlsoap.org/soap/envelope/">
  <soap-env:Body>
    <ns0:updateLine xmlns:ns0="http://www.cisco.com/AXL/API/10.5">
      <uuid>{985F810A-57E2-FD59-8A31-725C33E8F0BA}</uuid>
      <callForwardAll xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:RCallForwardAll">
        <forwardToVoiceMail>false</forwardToVoiceMail>
        <callingSearchSpaceName uuid=""></callingSearchSpaceName>
        <secondaryCallingSearchSpaceName uuid=""></secondaryCallingSearchSpaceName>
        <destination></destination>
      </callForwardAll>
      <callForwardNoAnswer xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:type="ns0:RCallForwardNoAnswer">
        <forwardToVoiceMail>false</forwardToVoiceMail>
        <callingSearchSpaceName uuid=""></callingSearchSpaceName>
        <destination></destination>
        <duration></duration>
      </callForwardNoAnswer>
      <autoAnswer>Auto Answer Off</autoAnswer>
      <patternPrecedence>Default</patternPrecedence>
      <releaseClause>No Error</releaseClause>
      <cfaCssPolicy>Use System Default</cfaCssPolicy>
      <partyEntranceTone>Default</partyEntranceTone>
      <allowCtiControlFlag>true</allowCtiControlFlag>
      <patternUrgency>false</patternUrgency>
      <active>true</active>
    </ns0:updateLine>
  </soap-env:Body>
</soap-env:Envelope>

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions