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:
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 ?
author and deputy
Joined: Jul 13, 2001
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"