Hello,
here is my problem in details:
I have a wsdl/xsd in which I include an XML Schema 1.1 field (assert)
Something like that:
<xsd:assert test="..."></xsd:assert>
I import that wsdl/xsd files on a new project on SOAPUI 5.2.1 and I'd like that, when
I write a request that is not compliant with that assert condition, and
when I submit that request (if the option Editor Settings - Validate Request is checked),
SOAPUI cancels my request indicating to me that assert condition is not fulfilled.
Ex:
If there is in my xsd:
<xs:element name="test">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:pattern value="\d{6}"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
And my request looks like : ... <test>1234564</test> ...
there is, at present, an error message indicating:
"line X: string value '1234564' does not match pattern for type of test element..."
Now, I'd like that if there is in my xsd
<xs:assert test="(@dept eq 'ACC')"></xsd:assert>
And I my request looks like: ... <dept>NAT</dept> ...
I expect that there is an error message indicating:
"line Y: problem with dept element"
In one sentence:
How to make SoapUI XSD Validator compliant to
XML Schema 1.1 (by updating a jar, by setting global parameter, ...)?
Thanks
Regards