There are two different ways to do it:
- In the Adapter service accept the date as string and use to_date function like this to_date(‘dd/mm/yyyy’., ?)
You might want to do this.
- Use the wmpubic datebuild service. PSUtilities has some date services.
the java code is simple:
Create a SimpleDateformat object with the format of the date.
SimpleDateFormat df = new SimpleDateFormat (“yyyy-MM-dd”)
Date d= df.parse(inputDate);
this should return you a date.
#Flow-and-Java-services#webMethods#Integration-Server-and-ESB