GeeCON Prague 2014*
The moose likes BEA/Weblogic and the fly likes No set method found problem in WebLogic 8.1 sp2 Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "No set method found problem in WebLogic 8.1 sp2" Watch "No set method found problem in WebLogic 8.1 sp2" New topic
Author

No set method found problem in WebLogic 8.1 sp2

Sreenivasa Majji
Ranch Hand

Joined: Jul 12, 2001
Posts: 224
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?


Sreenivasa Majji
 
GeeCON Prague 2014
 
subject: No set method found problem in WebLogic 8.1 sp2