Forum Discussion
- nmraoChampion Level 3Please provide more details about the error in conjunction with your xml schema definition or wsdl. What exactly the type of the element? a dataTime?
- rajimisOccasional Contributor
Hi ,
Thanks for reply .
Please find below details .
Feild Is :-
<date>20171210</date>
It's type is xsd:gYear
<xsd:simpleType name="Date_NoID">
<xsd:union memberTypes="xsd:gYear"/>
</xsd:simpleType>
When i am providing the value as 20171210 which is 8 digit , it's throwing me the error in SOAP UI , whcih i am doing by right click validate .The error message is "union value '20171210' does not match any members of 'Date in namespace http://www.ACORD.org/standards/PC_Surety/ACORD1/xml/'".
If We give the value as "201615" which is six digit it's passed the validation .
So i want to understand how SOAP UI , setting the maxlength for the Feild i.e of type xsd:gYear
The same feild it is passing in JAVA , having same XSD refrenece using SchemaValidator .
- nmraoChampion Level 3Please check the below link for sample values for the gYear type element.
http://www.herongyang.com/XSD/dateTime-Datatypes-gYear-gMonth-and-gDay.html
Related Content
- 13 years ago
- 11 months ago
Recent Discussions
- 7 hours ago
- 7 hours ago
- 11 hours ago
- 2 days ago