Win a copy of Head First Android this week in the Android forum!
  • 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 ...
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Tim Cooke
  • Junilu Lacar
  • Rob Spoor
  • Devaka Cooray
  • Jeanne Boyarsky
Saloon Keepers:
  • Jesse Silverman
  • Stephan van Hulst
  • Tim Moores
  • Carey Brown
  • Tim Holloway
  • Jj Roberts
  • Al Hobbs
  • Piet Souris

Error: Null setter method specificied.

Posts: 8
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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[] 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: {}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 sax.SAX2DocumentEntityParserBase.endElementAction(Unknown Source)
at util.DocumentEntityParserBase.endElementEvent(Unknown Source)
at Source)
at Source)
at 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 ...
You showed up just in time for the waffles! And this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
    Bookmark Topic Watch Topic
  • New Topic