gsproof has asked for the wisdom of the Perl Monks concerning the following question:
I need to construct parameter of type "Topic" which contains tagData of "ArrayOfTagData" which contains elements of type "TagData". The nested structure and cumbersome SOAP::Data->new syntaxt cause that I fail to generate the envelope with the correct structure and namespacing.<complexType name="TagData"> <sequence> <element name="order" type="xsd:int"/> <element name="value" type="xsd:string"/> </sequence> </complexType> <complexType name="ArrayOfTagData"> <sequence> <element maxOccurs="unbounded" minOccurs="0" name="item" type='TagData'/> </sequence> </complexType> <complexType name="Topic"> <sequence> <element name="topicName" type="xsd:string"/> <element maxOccurs="1" minOccurs="0" name="tagData" type="ArrayOfTagData"/> </sequence> </complexType>
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Pass complex structure with SOAP::Lite
by Anonymous Monk on Feb 14, 2010 at 17:58 UTC |