Win a copy of Java 9 Revealed this week in the Features new in Java 9 forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

No set method found problem in WebLogic 8.1 sp2  RSS feed

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

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?
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!