Skip to main content

Support Article

System can't Read Date value from Date Time Service Response

SA-20258

Summary



System does not set proper value from Response to the required property when SOAP service uses DateTime value. The set value uses hyphen (-). For example, if the Service brings 010120010000.00 GMT and the property is Date, the date is set as 01-01-2001.
Parsing Rule is XML Literal.


Error Messages



Not Applicable

Steps to Reproduce

Invoke deployed web service.

Root Cause



The behavior of parse rules changed in Pega 7.x unlike in Pega 6.x. The format uses hyphen for DateTime property.

Resolution



Set SwitchToOldAssembler Dynamic System Setting (DSS) to False, so that parsing uses new behavior.
Suggest Edit

Published March 5, 2016 - Updated October 8, 2020

Did you find this content helpful?

Have a question? Get answers now.

Visit the Collaboration Center to ask questions, engage in discussions, share ideas, and help others.

Ready to crush complexity?

Experience the benefits of Pega Community when you log in.

We'd prefer it if you saw us at our best.

Pega Community has detected you are using a browser which may prevent you from experiencing the site as intended. To improve your experience, please update your browser.

Close Deprecation Notice
Contact us