Win a copy of Cross-Platform Desktop Applications: Using Node, Electron, and NW.js this week in the JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

axis problem  RSS feed

 
Lucas Abr�o
Greenhorn
Posts: 1
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
hey people! Im having a problem with a java bean... JBoss app server is telling me that this bean must be serializable.. so, I implemented the Serializable interface and it didnt work out yet! =[
So, I would like to know if you guys could help me a little.. eheheheheh.. here is the problem...

10:53:41,031 ERROR [Message] java.io.IOException:
AxisFault
faultCode: {http://schemas.xmlsoap.org/soap/envelope/}Server.userException
faultSubcode:
faultString: java.io.IOException: No serializer found for class Util.Export in
registry org.apache.axis.encoding.TypeMappingDelegate@484c6b
faultActor:
faultNode:
faultDetail:
{http://xml.apache.org/axis/}stackTrace:java.io.IOException: No serializ
er found for class Util.Export in registry org.apache.axis.encoding.TypeMappingD
elegate@484c6b
at org.apache.axis.encoding.SerializationContext.serializeActual(Seriali
zationContext.java :1505)
at org.apache.axis.encoding.SerializationContext.serialize(Serialization
Context.java:978)
at org.apache.axis.encoding.SerializationContext.outputMultiRefs(Seriali
zationContext.java:1053)
at org.apache.axis.message.SOAPBody.outputImpl(SOAPBody.java:145)
at org.apache.axis.message.SOAPEnvelope.outputImpl(SOAPEnvelope.java:478
)
at org.apache.axis.message.MessageElement.output (MessageElement.java:120
8)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:315)
at org.apache.axis.SOAPPart.writeTo(SOAPPart.java:269)
at org.apache.axis.Message.writeTo(Message.java :539)
at org.apache.axis.transport.http.AxisServlet.sendResponse(AxisServlet.j
ava:902)
at org.apache.axis.transport.http.AxisServlet.doPost(AxisServlet.java:77

Do you guys have some idea about it?

Thank you very very much! =]


Lucas
 
Vinay Raj
Ranch Hand
Posts: 81
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Make sure that you have activation.jar and mail.jar in your classpath.
 
Jeroen T Wenting
Ranch Hand
Posts: 1847
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
And remember that just putting "implements Serializable" on a class definition doesn't guarantee that it actually will be.
You have to make sure that every non-transient data member of the class is Serializable as well.
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!