When you use axis 1.4 You should insert typemapping in your wsdd file.
For java bean classes you could use the the element beanmapping instead of the element typemapping. The difference is, that beanmapping uses fixed (De-)Serializers (i.e. org.apache.axis.encoding.ser.BeanSerializerFactory, org.apache.axis.encoding.ser.BeanDeserializerFactory)

For example:

<service ...>
   <parameter name="classname" value="..."/>
   <parameter name="allowedmethods" value="getTitle getDetails"/>

   <beanMapping xmlns:ns="yournamespace"
      qname="ns:Classname"
      type="java:fullClasspath" />

hth,

Philipp


Espen Falkevik schrieb:
Hi.
Just a newbie question.

I'm using Weblogic and Axis 1.4. I have a webservice which will take a Custom 
class object as an input and another Custom class object as output.

I use Java2WSDL to generate the WSDL file, and then i use this WSDL file with 
WSDL2Java to generate stubs and wsdd files.

Where do I set the mapping so that I can use the objects? (I get the following 
exception: java.io.IOException: No serializer found for class 
com.edb.om.dto.order.CustomerDetailDTO in registry [EMAIL PROTECTED])

-Espen




        
        
                
_________________________________________________________
Alt i én. Få Yahoo! Mail med adressekartotek, kalender og
notisblokk. http://no.mail.yahoo.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]



---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to