Heya all,

I followed all the instructions on the wiki page to create a document literal 
web service.  I've wrapped my original interface and I'm returning an array of 
objects in a bean.  The web service call comes in a-ok, but when trying to 
write the response, I get the message:

java.io.IOException: No serializer found for class profiles.SeacProfileBean in 
registry [EMAIL PROTECTED]
  |     at 
org.jboss.axis.encoding.SerializationContextImpl.serializeActual(SerializationContextImpl.java:1484)
  | 

In the .wsdd file published on the server (in the data directory):


  | <typeMapping
  |     qname='ns2:SeacProfileBean' xmlns:ns2='http://service.profiles/types'
  |     type='java:profiles.SeacProfileBean'
  |     
serializer='org.jboss.webservice.encoding.ser.MetaDataBeanSerializerFactory'
  |     
deserializer='org.jboss.webservice.encoding.ser.MetaDataBeanDeserializerFactory'
  |     encodingStyle=''>
  |   <typeDesc>
  |     <elementDesc fieldName='profileName' xmlName='profileName'/>
  |     <elementDesc fieldName='username' xmlName='username'/>
  |     <elementOrder>
  |       <element name='profileName'/>
  |       <element name='username'/>
  |     </elementOrder>
  |   </typeDesc>
  |   </typeMapping>
  | 

When I turn on "DEBUG" for org.jboss.axis... I see where the error is 
occurring...


  | 2005-06-09 14:11:46,750 DEBUG [org.jboss.axis.utils.BeanPropertyDescriptor] 
got: [Lprofiles.SeacProfileBean;@13a0067
  | 2005-06-09 14:11:46,750 DEBUG [org.jboss.axis.encoding.ser.BeanSerializer] 
Item type is null
  | 2005-06-09 14:11:46,750 DEBUG 
[org.jboss.axis.encoding.SerializationContextImpl] Enter:getSerializer: 
[class=class profiles.SeacProfileBean,xmlType=null]
  | 

I'm wondering why there's a little L in front of this line:


  | 2005-06-09 14:11:46,750 DEBUG [org.jboss.axis.utils.BeanPropertyDescriptor] 
got: [Lprofiles.SeacProfileBean;@13a0067
  | 

Anyone else come across a problem like this?  Seems like the type mapping has 
been registered... not sure why it can't be found.  Is there a way to see what 
type mappings are registered?

Thanks,
Ryan

p.s. I've created an ant build file that simplifies deploying a JBoss web 
service if anyone is interested, I'll post a link on the wiki.

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

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


-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
JBoss-user mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jboss-user

Reply via email to