does vector conform to jax-rpc if marked private transient?

Hi,

I have an object I want to send as part of a web service request.

According to the specification, am I allowed to add a private transient Vector to the object?

The Java to WSDL tool I'm using is complaining when I try to add this field.

Is there an error in the tool or is this really not allowed? I thought because I marked it private and transient, it was okay.

"A JAX-RPC value type is required to conform to the following set of rules if a JAXRPC

value type requires the Java serialization semantics. Note that the following rules

are in addition to the rules (in the section 5.4) for a JAX-RPC value type:

?A JAX-RPC value type must implement the java.io.Serializable interface

?All public fields in the Java class must be non-transient.

?Each non-public, non-transient field must exactly represent a JavaBeans property, and

vice versa.

?Each non-public field that does not exactly represent a JavaBeans property must be

marked transient."

Thanks!

[1048 byte] By [rayne5446a] at [2007-11-26 14:29:51]
# 1
Hmmm. I removed the getter and setter for this field and the error went away. I guess it was treating it as a JavaBeans class.
rayne5446a at 2007-7-8 2:24:20 > top of Java-index,Enterprise & Remote Computing,Enterprise Technologies...