• 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

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

 
Greenhorn
Posts: 17
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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?
 
author and iconoclast
Posts: 24207
46
Mac OS X Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic