Issue with Custom Serializer/Deserializer Factory
Is any issue when we define Custom Serializers/Deserializers and custom serializer factory and custom deserializer factory,because when i use the custom serializer factories and custom deserializers in typemappings definition in client-config.wsdd,it giving null serializer factory. If any one have defined custom serializer factory,they may really help me out. /Regards, Somendra __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Re: Any Idea about why is this error coming ???
hi Vishist, Thanks a lot for helping me in this issue.Yes we are using custom serializers/deserializers for our non-bean classes which were existing in our SDK App.The exception which I am getting,is on the client side...no matter whether the server is running or not,what I mean is that when i am getting this error,when running the client,even if the appserver on this webservice is deployed is running on that.Looking at it looks that there is some problem either with defining client-config.wsdd or the way custom seralizers and deserializers are defined.Hence I am attaching the seralizers and deseralizers for the same. Please help me...I need to understand and finish the upgrade project!!!:)) The entry for typemappings in client-config.wsdd file is as follows: typeMapping xmlns:ns=http://login.ext.yodlee.com; qname=ns:CobrandPasswordCredentials type=java:com.yodlee.ext.login.CobrandPasswordCredentials serializer=com.yodlee.soap.encoding.ser.NonBeanSerializerFactory deserializer=com.yodlee.soap.encoding.ser.NonBeanDeserializerFactory encodingStyle=http://schemas.xmlsoap.org/soap/encoding/; / Thankz in advance Somendra --- Vishist Mandapaka [EMAIL PROTECTED] wrote: Hi Paul, Seems like you are using custom serializers/deserializers. Is it available in the server classpath when you deploy it and also in your own console classpath?. vishist. On 10/25/05, Somendra Paul [EMAIL PROTECTED] wrote: Thankz a lot for replying...I am attaching the deploy.wsdd and server-config.wsdd file. But currently I figured it out that...when I am running the Client file,the error is coming in the client side only.The error is not coming in the server side. Because we also define the typemappings in client-config.wsdd. Your help will be greatly appreciated. /Regards, Somendra --- Vishist Mandapaka [EMAIL PROTECTED] wrote: Can you please enclose your deploy.wsdd and also server-config.wsdd thanks vishist. On 10/24/05, Somendra Paul [EMAIL PROTECTED] wrote: 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 :217) at org.apache.axis.encoding.TypeMappingDelegate.register( TypeMappingDelegate.java:73) at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping( WSDDDeployment.java:306) at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry( WSDDDeployment.java:462) at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry( FileProvider.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( CobrandLoginSoapBindingStub.java:100) at com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.init( CobrandLoginSoapBindingStub.java:90) at com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin( CobrandLoginServiceLocator.java:55) at com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin( CobrandLoginServiceLocator.java:50) at com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.init( CobrandLoginSoapClientProxy.java:61) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance( NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance( DelegatingConstructorAccessorImpl.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) __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com __ Yahoo! Mail - PC Magazine Editors' Choice 2005 http://mail.yahoo.com ?xml version=1.0 encoding=UTF-8? deployment xmlns=http://xml.apache.org/axis/wsdd/; xmlns:java= http://xml.apache.org/axis/wsdd/providers/java; globalConfiguration parameter name=adminPassword value=admin
Any Idea about why is this error coming ???
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:217) at org.apache.axis.encoding.TypeMappingDelegate.register(TypeMappingDelegate.java:73) at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:306) at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462) at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.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(CobrandLoginSoapBindingStub.java:100) at com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.init(CobrandLoginSoapBindingStub.java:90) at com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin(CobrandLoginServiceLocator.java:55) at com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin(CobrandLoginServiceLocator.java:50) at com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.init(CobrandLoginSoapClientProxy.java:61) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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) __ Yahoo! FareChase: Search multiple travel sites in one click. http://farechase.yahoo.com
Upgrade to Axis1.2 from Axis1.1RC1
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:217) at org.apache.axis.encoding.TypeMappingDelegate.register(TypeMappingDelegate.java:73) at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:306) at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:462) at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.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(CobrandLoginSoapBindingStub.java:100) at com.yodlee.soap.core.login.CobrandLoginSoapBindingStub.init(CobrandLoginSoapBindingStub.java:90) at com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin(CobrandLoginServiceLocator.java:55) at com.yodlee.soap.core.login.CobrandLoginServiceLocator.getCobrandLogin(CobrandLoginServiceLocator.java:50) at com.yodlee.soap.core.login.CobrandLoginSoapClientProxy.init(CobrandLoginSoapClientProxy.java:61) at sun.reflect.NativeConstructorAccessorImpl.newInstance0(Native Method) at sun.reflect.NativeConstructorAccessorImpl.newInstance(NativeConstructorAccessorImpl.java:39) at sun.reflect.DelegatingConstructorAccessorImpl.newInstance(DelegatingConstructorAccessorImpl.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/