cancel
Showing results for 
Search instead for 
Did you mean: 

Problem when pass value of date field into RFC webservice

Former Member
0 Kudos

Hi all,

I expose a RFC as webservice in CAF, and then use the in Web Dynpro Java. The RFC has 2 field type DATE (e.x DA and DB) and 1 field type CHAR (ID).

When i pass data to WS

- ID = 001.

- DA = java.sql.Date.ValueOf("2009-10-01").

- DB = java.sql.Date.ValueOf("2009-10-31").

It's OK, there is data return.

When i pass data to WS

- ID = 002.

- DA = java.sql.Date.ValueOf("2009-10-01").

- DB = java.sql.Date.ValueOf("2009-10-31").

There is a exception occurs. But i check on database, there is data for this criteria.

I try to pass data with ID = 001 and 002

- DA = java.sql.Date.ValueOf("01-10-2009").

- DB = java.sql.Date.ValueOf("31-10-2009").

No data return. No exception.

Why there is exception in case 2, how to pass date field data,...

Who can help?

I tried to search on forum but there is no the same thread.

Thanks

Sinh.

Accepted Solutions (0)

Answers (1)

Answers (1)

former_member201361
Active Contributor
0 Kudos

Hi,

can u post the exception trace ?

check the service with the same data in Web services naviagtor?

check for erro logs in NWA --> Problem management --> Log and Traces --> Log Viewer.

or in the servermachine Logs (Cluster/server0/log/default trace)

Thanks and Regards