on 08-18-2015 9:54 AM
Hi,
The WSDL of a webservice in our PI system describes the field "birthdate" as optional, data type is "xs:date". Validation is active on PI.
When I now send the following XML, I get the error message "cvc-datatype-valid.1.2.1: '' is not a valid value for 'date'":
<request>
<birthdate></birthdate>
...
Other formats don't work either:
<request>
<birthdate />
...
Only if I remove the element completely it is processed correctly. I tried to add a XSL script to remove empty tags but the validation is run before, so there is no chance for me to fix it.
Anything I can do about this?
Thanks for help.
Hi Benedikt,
I think you need to disable the validation or else declare the field as xsd:string instead of xsd:date.
Same issue has been discussed in the below thread. Can you check once:
https://scn.sap.com/thread/1631030
Regards
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
81 | |
25 | |
12 | |
9 | |
7 | |
6 | |
5 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.