Regenerate the code using new wsdl2java ( enum elemination stuff needed jdk1.5) Or manulally eleminate the enum reference...
Other than that things are straight forward.. -Venky -----Original Message----- From: Somendra Paul [mailto:[EMAIL PROTECTED] Sent: Thursday, October 20, 2005 4:17 AM To: axis-user@ws.apache.org Subject: Re: Upgrade to Axis1.2 from Axis1.1RC1 Please help me out...if you guys have done this previously.... Any help would be greatly appreciated. Regards, Somendra --- Somendra Paul <[EMAIL PROTECTED]> wrote: > hi All, > I am new to WebService and hence will put up some stupid > questions.We are actually trying to upgrade our application that is > running on Axis1.1 to Axis1.2. > > Currently we are doing it as follows in Axis1.1 We are generating the > WSDL files using Glue and then changing it according to what Axis > requires them.and then we are generating the stubs and .wsdd files > using Axis WSDL2Java Application. > > > Approach: > We tried compiling our source using Axis1.2 jars,but we didnt > change the way the WSDL are generated.Only that now the stubs and the > .wsdd files are changed as they are getting generated by Axis1.2 > WSDL2Java utility.But when do this,i find that the webservice is not > getting deployed,when we run the deploy scripts and it gives a error > as follows: > > 04 Oct 2005 16:41:25 ^mainConfigurationException: > org.apache.axis.deployment.wsdd.WSDDException: > javax.xml.rpc.JAXRPCException: Null serializer factory specified. > javax.xml.rpc.JAXRPCException: Null serializer factory specified. > at > org.apache.axis.encoding.TypeMappingImpl.register(TypeMappingImpl.java:2 17) > at > org.apache.axis.encoding.TypeMappingDelegate.register(TypeMappingDelegat e.java:73) > at > org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeploym ent.java:306) > at > org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WS DDDeployment.java:462) > at > org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FilePr ovider.java:262) > at > org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:348) > at > org.apache.axis.client.Service.getTypeMappingRegistry(Service.java:704) > at > org.apache.axis.client.Service.setTypeMappingVersion(Service.java:904) > at > com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.<init>(CobrandLog inSoapBindingStub.java:100) > at > com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.<init>(CobrandLog inSoapBindingStub.java:90) > at > com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin(Co brandLoginServiceLocator.java:55) > at > com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin(Co brandLoginServiceLocator.java:50) > at > com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.<init>(CobrandLog inSoapClientProxy.java:61) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native > Method) > at > sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorA ccessorImpl.java:39) > at > sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingCons tructorAccessorImpl.java:27) > at > java.lang.reflect.Constructor.newInstance(Constructor.java:274) > at java.lang.Class.newInstance0(Class.java:308) > at java.lang.Class.newInstance(Class.java:261) > at > com.yodlee.core.ProxyFactory.getInstanceOfClass(ProxyFactory.java:419) > at > com.yodlee.core.ProxyFactory.createProxy(ProxyFactory.java:303) > at > com.yodlee.core.ProxyFactory.createProxy(ProxyFactory.java:174) > at SoapClient.main(SoapClient.java:41) > > What i need to know is that is my approach correct,or I have to also > change the WSDL files also. > > If anyone helps me out ,telling me what all steps to be taken, in a > simple language which I can understand,it would be of great help to > me. > > > /Regards, > Somendra > > > > > __________________________________ > Yahoo! Music Unlimited > Access over 1 million songs. Try it free. > http://music.yahoo.com/unlimited/ > __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com