Hello All,
I am trying to use Suds to interact with third party SOAP service. I have
extracted out one of the types in wsdl I am having trouble with.
<xsd:complexType name="Content">
<xsd:sequence>
<xsd:any maxOccurs="1" minOccurs="1" namespace="##any"/>
</xsd:sequence>
<xsd:attribute name="id" type="xsd:ID" use="required"/>
<xsd:anyAttribute/>
</xsd:complexType>
When I try to do the following :
> content = client.factory.create('ns0:Content')
> print content
(Content){
_id = ""
}
My problem:
How do I add content to this object 'content'. For eg, I want to have
something like this
<Content id="x">
<something_else_here/>
</Content>
It seems like I can only assign the 'id'.
Please help.
_______________________________________________
Soap mailing list
[email protected]
http://mail.python.org/mailman/listinfo/soap