| Author |
using jaxrpc to generate stubs.. but boolean values in user objects....help!
|
premesh purayil
Greenhorn
Joined: Nov 23, 2004
Posts: 17
|
|
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
Marshal
Joined: Jul 08, 2003
Posts: 23395
|
|
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.
|
[Jess in Action][AskingGoodQuestions]
|
 |
 |
|
|
subject: using jaxrpc to generate stubs.. but boolean values in user objects....help!
|
|
|