users@jax-rpc.java.net

Holder classes

From: Tevoi Andrea <tevoi_at_CAD.IT>
Date: Fri, 28 Jun 2002 18:40:05 +0200

Hi,
I use xrpcc tool to create java classes from Wsdl using namespaceMappingRegistry to create classes with same name from different namespaces.
Now, generated holder class contains only one of these classes (that have same name but different package).
I mean, i have this situation:

these are my classes:
mypackage._01.output
mypackage._02.output
mypackage._03.output

this is OutputHolder class:

package mypackage.holders;


import javax.xml.rpc.holders.Holder;

public class OutputHolder implements Holder {
    public mypackage._03.output value;
    
    public OutputHolder() {
    }
    
    public OutputHolder(mypackage._03.output myOutput) {
        this.value = myOutput;
    }
}

So, xrpcc generates only one holder class, but I need an holder class for each output class.

Is this a xrpcc bug?

thanks on advance,

Andrea Tevoi