on 04-18-2007 2:12 PM
Hi,
my CAF Application is still running in the CAF test browser, and i get the right response and so on.
As soon as I create a webservice it doesn't run. Every time I've got an error msg (below), but I can't find the mistake.
I attached the error message of the webservice Navigator:
Serializing object [Lcom.sap.test.compxloc.appsrv.datatypes.strucVarianteAverage_R;@c5e070 fails. Nested message: XML Serialization Error. Object of Class [com.sap.test.compxloc.appsrv.datatypes.strucVarianteAverage_R] does not have property [AverTimeCanceled] of type [java.lang.Long]. Check if the right object is passed to the serialization routine..
I attached a part of my quellcode.
QueryFilter qf = new com.sap.caf.rt.bol.util.QueryFilter();
qf.condition = QueryFilter.CONDITION_BETWEEN;
qf.isDate = true;
qf.dateValueHigh = l_endDate;
qf.dateValueLow = l_startDate;
qf.datatype = com.sap.caf.rt.bol.util.QueryFilter.DATATYPE_DATE;
filterMapIssue.put("date", qf);
// -
TOPICS -
for(int a = 0; a<=numberOFentries-1; a++)
{
String l_topic = l_topics[a];
allFromThisTopic.setTopic(l_topic);
// -
Topic nach Status auslesen -
for(int i=0; i<=2; i++)
{
String l_status = v<i>;
filterMapIssue.put("firstLevel", l_topic);
filterMapIssue.put("status", l_status);
// -
Liste aller Entities zu Topic + Status----
List entrie = new ArrayList();
try{
entrie = this.getIssueService().findByMultipleParameters(filterMapIssue, true, ""); // HERE THE EXCEPTION IS THROWN ... with the error message above
}
catch(Exception e)
{
System.out.println(e);
}
finally{........
Did anybody know problems like this?
Thanks in advance,
kind regards,
Kathrin
Message was edited by:
Kathrin Gossmann
Message was edited by:
Kathrin Gossmann
Message was edited by:
Kathrin Gossmann
Hi Kathrin,
Check the parameter 'AverTimeCanceled ' of classstrucVarianteAverage_R.
This parameter should exist and have the getter and setter methods for this parameter should be defined.
Serialization error comes if your class has smthng missing or not up to the statndards for WS interoperatibi8lity.
Regards,
Piyush
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
101 | |
13 | |
13 | |
11 | |
11 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.