• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

No set method found problem in WebLogic 8.1 sp2

 
Ranch Hand
Posts: 224
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
reply
    Bookmark Topic Watch Topic
  • New Topic