Skip to content

AnyObject at runtime #1455

Open
Open

Description

@jburgas

Hi ,

First of all thanks for this complete library to make SOAP calls with Python. My problem is that when ZEEP render and object as AnyType. In the WSDL the specification is this:

<xs:element name="SolicitudTransmision">
xs:complexType
xs:all
<xs:element ref="DatosGenericos"/>
<xs:element name="DatosEspecificos" type="xs:anyType" minOccurs="0"/>
</xs:all>
</xs:complexType>
</xs:element>

At runtime, "Specific Data" can be of different types, but ZEEP does not get the appropriate type. And finally render the string represantation of object:

ns1:DatosEspecificos<Shared.caoc_extensions_1_0.ExtensionesPeticion object at 0x000002837FF0EBF0></ns1:DatosEspecificos>

I have tried to send the XML rendering of the specific object directly in this section instead of instance class but ZEEP replaces the < character with the equivalent html code <. I am sure the problem is mine when defining the object but right now I do not know how to solve it. Help please?

Thanks in advance,
Jordi

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions