aspose file tools
The moose likes Web Services and the fly likes AxisFault: serializer found for class ... Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Web Services
Reply Bookmark "AxisFault: serializer found for class ..." Watch "AxisFault: serializer found for class ..." New topic
Author

AxisFault: serializer found for class ...

Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Hi All,

I am trying to consume an ejb web service. This ejb is deployed in JBoss. This ejb method takes a Forecast java bean as method argument and this Forecast bean has Temperature java bean as field. I registered both Forecast.java and Temperature.java in server-config.wsdd with below code snippet:

<beanMapping languageSpecificType="java:Forecast"
qname="ns1:Forecast" xmlns:ns1="ForecastDetails"/>
<beanMapping languageSpecificType="java:Temperature" qname="ns2:Temperature" xmlns:ns2="TemperatureDetails"/>

Also, these two beans are registered in the web service consumer client java program with below code snippet:



Now, when I run my web service consumer client program I am getting below error on server:

org.apache.axis.AxisFault: No serializer found for class wroxaxis.appendixb.Forecast in registry org.apache.axis.encoding.TypeMappingImpl@16a5d72


Please let me know what am I missing here ?


RR Kumaran
SCJP 1.4
Balaji Loganathan
author and deputy
Bartender

Joined: Jul 13, 2001
Posts: 3150
I guess there is some confusion between registered class and actual package names...
Are you sure the languageSpecificType="java:Forecast" and not languageSpecificType="java:wroxaxis.appendixb.Forecast"

Make a carefull check


Spritle Software Blogs
Rr Kumaran
Ranch Hand

Joined: Sep 17, 2001
Posts: 548
Balaji- You always hit on head of the nail. Thanks. I overlooked the actual issue.
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: AxisFault: serializer found for class ...
 
Similar Threads
java.io.IOException: No serializer found for class
Getting error in deserialization of object on client side
Null Qualified name .. JAXRPCException while deploying a web service..
Make a WSDL from JWS using Axis (Complex types problem)
Axis No Serializer Found error...