Are you saying that you want the service to return a Java Date object, based on a String as input? AFAIK, there is no such service unless it has been custom built. Also, I can’t find a service called StringToDate.
If all you need is to reformat a date from say MMddyy hh:mm:ss to yyyyMMdd hh:mm:ss you can use the built-in pub.date:dateTimeFormat. If you need to get a Java Date object you will have to build a Java service to do the job.
#webMethods#Integration-Server-and-ESB#webMethods-General