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 asked 29.09.2016 at 07:51 vhsvuong Reguel Werme... ♦♦ |
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. You can inspect a full sample implementation here: webserviceProviderWithSpecialDateFormat_63.iar answered 03.10.2016 at 13:41 Reguel Werme... ♦♦ Alex Suter ♦♦ |
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