Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

No set method found problem in WebLogic 8.1 sp2

Sreenivasa Majji
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Here is the problem.

I have an object (Department) which has a private attribute (java.util.Date) with the following getters/setters.

public void setOpenDate(Date);
public String getOpenDate();

The reason we need a String in return type in getOpenDate() is we are converting the date to a diffrent format.

The problem is when I use servicegen task to create a webservice from a stateless session bean using Department object, it's not showing in .wsdl file.

I am getting the following warning in servicegen task.
[servicegen] WARNING: ignoring bean property "openDate"

However the same thing works with WebLogic Workshop.

Any ideas?
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic