Hi Everyone, Now, I got the trouble with format date in SOAP webservice which created by Ivy When I call it by SOAP client, I always got the exception like Unmarshalling Error: 28.08.2016 Because as we know, the expected format for date in XML is: YYYY-MM-DDThh:mm:ss. But I want to use the custom format like dd.MM.YYYY Do you have any ideas about that? Regards |
You can implement a custom adapter that parses your special date format string into a valid date.
To use it in your webservice you have to modify the generated webservice source class. Simply add an
Remember that the generated webservice source will be overwritten whenever you change the mod file of the webservice. So you should at least write a test against your webservice stub so that you get an early warning if the adapter is not in charge anymore.
|
Once you sign in you will be able to subscribe for any updates here
By RSS:Markdown Basics
Tags:
Asked: 29.09.2016 at 07:51
Seen: 17,679 times
Last updated: 07.03.2018 at 10:38