This week's book giveaway is in the JavaScript forum.
We're giving away four copies of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js and have Paul Jensen on-line!
See this thread for details.
Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

using jaxrpc to generate stubs.. but boolean values in user objects....help!  RSS feed

 
premesh purayil
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
ok so i have a class vmwsRelationshipAttributes
public class VMWSRelationAttributes implements Serializable
{
private boolean isFunctional;
private boolean isTransitive;
/* commented out for now sinec there is no plumbing yet PP
public Iterator getDomain ()
{
return null;
}


public Iterator getRange ()
{
return null;
}

*/
public boolean isFunctional ()
{
return isFunctional;
}

public boolean getIsFunctional()
{
return isFunctional;
}

public void setIsFunctional(boolean isFunctional)
{
this.isFunctional = isFunctional;
}

public boolean isTransitive ()
{
return isTransitive;
}

public boolean getIsTransitive()
{
return isTransitive;
}

public void setIsTransitive(boolean isTransitive)
{
this.isTransitive = isTransitive;
}

}


this object is being passed over the "wire" via soap through our webserivce i believe, so we generate stubs with jaxrpc which for my other classes that arent using boolean are fine..
it should create 3 files a plain generated file, soapbuilder file , and a soapserializer file (all java files of course) for this class it only creates
VMWSRelationAttributes.java
VMWSRelationAttributes_SOAPSerializer.java

of which VMWSRelationAttributes.java looks like this:

public class VMWSRelationAttributes {
protected boolean isFunctional;
protected boolean isTransitive;

public VMWSRelationAttributes() {
}

public VMWSRelationAttributes(boolean isFunctional, boolean isTransitive) {
this.isFunctional = isFunctional;
this.isTransitive = isTransitive;
}

public boolean isIsFunctional() {
return isFunctional;
}

public void setIsFunctional(boolean isFunctional) {
this.isFunctional = isFunctional;
}

public boolean isIsTransitive() {
return isTransitive;
}

public void setIsTransitive(boolean isTransitive) {
this.isTransitive = isTransitive;
}
}


where did all these isIsTransitive and isIsFunctional come frome? they are not in my original class... and where did my getters go? im confused.. any ideas?
 
Ernest Friedman-Hill
author and iconoclast
Sheriff
Posts: 24217
38
Chrome Eclipse IDE Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Welcome to JavaRanch!

We've got a whole forum devoted to Web Services. I'm going to move your post there for you.

Also -- please don't post your questions to more than one forum; it just wastes people's time. I deleted your other copy of this thread.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!