Forum Discussion

Mojeho's avatar
Mojeho
New Contributor
14 years ago

xml:any validation - element not allowed(soapUI Pro)

Hi,

We have an issue with xml validation in soapUI Pro:
XSD Definition:
<xs:complexType name="AsyncDotazDataResponseType">
<xs:annotation>
<xs:documentation xml:lang="cs">Universal asynchronnous response.</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>

Xml Response:
<odpf:IszrAsyncOdpovedZFrontyDataResponse>
<odpf:AsyncDotazDataResponse> - this is the AsyncDotazDataResponseType
<e16:RosPridelIcoResponse>
... blahblahblah
</e16:RosPridelIcoResponse>
</odpf:AsyncDotazDataResponse>
</odpf:IszrAsyncOdpovedZFrontyDataResponse>

On response validation(alt-V in xml tab) we receive error message:
line xx:Element not allowed(strict wildcard, and no definition found): RosPridelIcoResponse@...somenamespace... in element AsyncDotazDataResponse@...somenamespace...
The RosPridelIcoResponse element IS valid.

Are we doing something wrong, or is there any way to turn off those messages?
Thanks for info
Best Regards
Mark
No RepliesBe the first to reply