[jboss-user] [JBossWS] - Post subject: ConfigurationException:axis.deployment.wsdd.WS

aneesh62003 do-not-reply at jboss.com
Tue Apr 15 06:30:12 EDT 2008


WE are having a webservice client in our application. 
During the deplyment time we are facing an issue. 


Our jboss version is. Jboss 4.02 Rc1 
Axis version. Implementation-Version: 1.2RC3 2236 February 28 2005 

we have put the jboss-net-client.jar in the lib path from the docs 

Now we are getting a Classcastexception while trying to create a call to the webservice. 

ExceptionStrackTrace is as shown below. 

org.apache.axis.deployment.wsdd.WSDDException: java.lang.ClassCastException 
java.lang.ClassCastException 
at org.apache.axis.encoding.ser.BaseSerializerFactory.createFactory(BaseSerializerFactory.java:261) 
at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:341) 
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520) 
at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:292) 
at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:359) 
at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:452) 
at org.apache.axis.client.Call.getTypeMapping(Call.java:2156) 
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2191) 
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2234) 
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source) 
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source) 
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source) 
at com.epps.FrontController.service(Unknown Source) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147) 
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) 
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743) 
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 
at java.lang.Thread.run(Thread.java:534) 

at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:360) 
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520) 
at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:292) 
at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:359) 
at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:452) 
at org.apache.axis.client.Call.getTypeMapping(Call.java:2156) 
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2191) 
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2234) 
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source) 
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source) 
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source) 
at com.epps.FrontController.service(Unknown Source) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147) 
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) 
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743) 
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 
at java.lang.Thread.run(Thread.java:534) 

at org.apache.axis.deployment.wsdd.WSDDDeployment.deployMapping(WSDDDeployment.java:360) 
at org.apache.axis.deployment.wsdd.WSDDDeployment.getTypeMappingRegistry(WSDDDeployment.java:520) 
at org.apache.axis.configuration.FileProvider.getTypeMappingRegistry(FileProvider.java:292) 
at org.apache.axis.AxisEngine.getTypeMappingRegistry(AxisEngine.java:359) 
at org.apache.axis.MessageContext.getTypeMappingRegistry(MessageContext.java:452) 
at org.apache.axis.client.Call.getTypeMapping(Call.java:2156) 
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2191) 
at org.apache.axis.client.Call.registerTypeMapping(Call.java:2234) 
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source) 
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source) 
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source) 
at com.epps.FrontController.service(Unknown Source) 
at javax.servlet.http.HttpServlet.service(HttpServlet.java:810) 
at org.apache.catalina.core.ApplicationFilterChain.internalDoFilter(ApplicationFilterChain.java:252) 
at org.apache.catalina.core.ApplicationFilterChain.doFilter(ApplicationFilterChain.java:173) 
at org.apache.catalina.core.StandardWrapperValve.invoke(StandardWrapperValve.java:213) 
at org.apache.catalina.core.StandardContextValve.invoke(StandardContextValve.java:178) 
at org.jboss.web.tomcat.security.CustomPrincipalValve.invoke(CustomPrincipalValve.java:39) 
at org.jboss.web.tomcat.security.SecurityAssociationValve.invoke(SecurityAssociationValve.java:147) 
at org.jboss.web.tomcat.security.JaccContextValve.invoke(JaccContextValve.java:53) 
at org.apache.catalina.core.StandardHostValve.invoke(StandardHostValve.java:126) 
at org.apache.catalina.valves.ErrorReportValve.invoke(ErrorReportValve.java:105) 
at org.apache.catalina.core.StandardEngineValve.invoke(StandardEngineValve.java:107) 
at org.apache.catalina.connector.CoyoteAdapter.service(CoyoteAdapter.java:148) 
at org.apache.coyote.http11.Http11Processor.process(Http11Processor.java:825) 
at org.apache.coyote.http11.Http11Protocol$Http11ConnectionHandler.processConnection(Http11Protocol.java:743) 
at org.apache.tomcat.util.net.PoolTcpEndpoint.processSocket(PoolTcpEndpoint.java:527) 
at org.apache.tomcat.util.net.MasterSlaveWorkerThread.run(MasterSlaveWorkerThread.java:112) 
at java.lang.Thread.run(Thread.java:534) 
2008-04-15 14:00:14,321 ERROR [com.epps.FrontController] PPC Inquiry Unknown Exception 
AxisFault 
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.generalException 
faultSubcode: 
faultString: Failure trying to get the Call object; nested exception is: 
java.lang.NullPointerException 
faultActor: 
faultNode: 
faultDetail: 

Failure trying to get the Call object; nested exception is: 
java.lang.NullPointerException 
at com.eppsClient.ShowPPCWSBindingStub.createCall(Unknown Source) 
at com.eppsClient.ShowPPCWSBindingStub.showPPC(Unknown Source) 
at com.eppsClient.ShowPPCWSClient.getBalance(Unknown Source) 


Expecting ur help.. 





View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4144182#4144182

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4144182



More information about the jboss-user mailing list