• 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 all forums
this forum made possible by our volunteer staff, including ...
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
  • Piet Souris
  • Frits Walraven
  • Carey Brown

Error: Null setter method specificied.

Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a wsdl for a class returning an Array object of a use defined complex type( Eg. UserData[] ) for a method say getWorkspaces().

The SEI for the above is :

public interface TestOne_SEI extends java.rmi.Remote
public com.proto.data.UserData[] getWorkspaces();

The UserData class is as follows :
public class UserData implements Serializable {
private String name;
* @return
public String getName() {
return name;
* @param string
public void setName(String string) {
name = string;

The generation of the client was done using IBM Websphere 5.0.2 (Web Service Runtime ) in WSAD 5.1.0.
However, the testing of the client resulted in an error :

faultCode: {http://websphere.ibm.com/webservices/}Server.generalException
faultString: java.lang.IllegalAccessException: WSWS3214E: Error: Null setter method specified.
faultActor: null
stackTrace: java.lang.IllegalAccessException: WSWS3214E: Error: Null setter method specified.
at com.ibm.ws.webservices.engine.utils.BeanPropertyDescriptor.set(BeanPropertyDescriptor.java:186)
at com.ibm.ws.webservices.engine.encoding.ser.BeanDeserializer.setIt(BeanDeserializer.java:524)
at com.ibm.ws.webservices.engine.encoding.ser.BeanDeserializer.onSimpleChild(BeanDeserializer.java:435)
at com.ibm.ws.webservices.engine.events.P2DConverter.flush(P2DConverter.java:724)
at com.ibm.ws.webservices.engine.events.P2DConverter.endElement(P2DConverter.java:391)
at sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanEndElement(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanContent(Unknown Source)
at com.ibm.xml.b2b.scan.latin.LatinWFCDocumentScanner.scanDocument(Unknown Source)
at sax.latin.LatinWFCSAX2DocumentEntityParser.scanDocument(Unknown Source)
at util.DocumentEntityParserBase.parse(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parseEntity(Unknown Source)
at sax.SAX2DocumentEntityParserBase.parse(Unknown Source)
at javax.xml.parsers.SAXParser.parse(Unknown Source)

I am using the default serialization/deserialization.
Am I missing something ??

Thx in advance ...
Roses are red, violets are blue. Some poems rhyme and some don't. And some poems are a tiny ad.
Thread Boost feature
    Bookmark Topic Watch Topic
  • New Topic