> Hi Ias,All; Hi Srinath and all,
> I have a fix for print the provider java:j2ee instead of the > java:RPC in the jaxrpcmapper deploy.wsdd generated code . > What I did was if there is a envoirment variable it will > print the java:j2ee if the envoirment variable is not there > it will print java:RPC. > The patch is below. If you think it is fine I will commit it. It looks nice. Please go ahead. Thank you, Ias > Thanks > Srinath > p.s > 1) diff for the J2eeGeneratorFactory.java is at the bottem > 2) new file j2eeDeployWriter is attached > > ------------------------------------ > Lanka Sofware Foundation > ------------------------------------ > Diff file 1(Diff for the : > /cvsroot/ews/ews/src/java/org/apache/geronimo/ews/jaxrpcmappin > g/J2eeGeneratorFactory.java) > =========== > 61a62,82 > > import java.io.IOException; > > import java.lang.reflect.Constructor; > > import java.util.ArrayList; > > import java.util.HashMap; > > import java.util.HashSet; > > import java.util.Iterator; > > import java.util.Map; > > import java.util.Vector; > > > > import javax.wsdl.Binding; > > import javax.wsdl.Definition; > > import javax.wsdl.Fault; > > import javax.wsdl.Message; > > import javax.wsdl.Operation; > > import javax.wsdl.OperationType; > > import javax.wsdl.Port; > > import javax.wsdl.PortType; > > import javax.wsdl.Service; > > import javax.xml.namespace.QName; > > import javax.xml.rpc.holders.BooleanHolder; > > > 86d106 > < import org.apache.axis.wsdl.toJava.JavaDeployWriter; > 93,112d112 > < import javax.wsdl.Binding; > < import javax.wsdl.Definition; > < import javax.wsdl.Fault; > < import javax.wsdl.Message; > < import javax.wsdl.Operation; > < import javax.wsdl.OperationType; > < import javax.wsdl.Port; > < import javax.wsdl.PortType; > < import javax.wsdl.Service; > < import javax.xml.namespace.QName; > < import javax.xml.rpc.holders.BooleanHolder; > < import java.io.IOException; > < import java.lang.reflect.Constructor; > < import java.util.ArrayList; > < import java.util.HashMap; > < import java.util.HashSet; > < import java.util.Iterator; > < import java.util.Map; > < import java.util.Vector; > < > 180c180,181 > < addGenerator(Definition.class, > JavaDeployWriter.class); // for > deploy.wsdd > --- > > //addGenerator(Definition.class, > JavaDeployWriter.class); // > > for > deploy.wsdd > > addGenerator(Definition.class, > J2eeDeployWriter.class); // for > deploy.wsdd >