Subject: | "complexType.tt UNKNOWN error - unknown variety choice" for xsd:choice under xsd:complexContent |
Date: | Tue, 13 Sep 2011 11:41:45 +0200 |
To: | bug-SOAP-WSDL [...] rt.cpan.org |
From: | Patrick <patrick.kuijvenhoven [...] gmail.com> |
In case there's a xsd:choice under xsd:complexContent, SOAP::WSDL dies
with a "complexType.tt UNKNOWN error - unknown variety choice"
Test results are the same for SVN-trunk, 2.00.99_3 and 2.00.10
According to the spec
(http://www.w3.org/TR/xmlschema-1/#declare-contentModel) it's allowed
to have complexType -> complexContent -> extension -> sequence ->
choice.
Workaround: Comment out "xsd:choice" part.
Attachments: MyService-fails fails, MyService-success.wsdl (containing
the work-around) succeeds
Message body is not shown because sender requested not to inline it.
Message body is not shown because sender requested not to inline it.