Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

7.1 ehp1, Problems using datatype date, WebDynpro to CAF


I'm trying to use a EJB model created in WebDynpro where the provider is a CAF component (7.1 ehp1), with an operation which takes a String and a Date. The problem is when I try to execute the model in WebDynpro. When only the String is filled out it works perfectly fine, but when I also set a date i receive an EJBModelExecuteException.

On the WebDynpro side the java type is java.sql.Date, but the CAF operation expect a javax.xml.datatype.XMLGregorianCalendar.

One workaround is to simply pass a string instead and convert it where needed, but do anyone have a prettier solution to the problem?

Appreciate all help I could get.

Best regards


Not what you were looking for? View more on this topic or Ask a question