• Post Reply Bookmark Topic Watch Topic
  • New Topic

AxisFault: serializer found for class ...

 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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 ?
 
Balaji Loganathan
author and deputy
Bartender
Posts: 3150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
Rr Kumaran
Ranch Hand
Posts: 548
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Balaji- You always hit on head of the nail. Thanks. I overlooked the actual issue.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!