You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by "G.Vasiakos" <va...@yahoo.gr> on 2006/05/05 15:57:16 UTC
EJB mapping declarations
Hello all,
I am using AXIS 1.3 and i want to deploy an EJB (provider:EJB) service. In the wsdd file i would like to include the type mappings description for complex type objects. Is the declaration same as in an rpc service or i have to make changes? I want to use the EJB provider in order to update my class files without restarting the axis servlet(hot deploy).
This is the RPC type mapping that works :
<typeMapping
xmlns:ns="http://com.test/gamedetails"
qname="ns:GameDetailsObj"
type="java:com.test.gamedetails.GameDetailsObj
serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory"
encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
/>
If something has to be changed please tell me.
Thank you
---------------------------------
Χρησιμοποιείτε Yahoo!
Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
http://login.yahoo.com/config/mail?.intl=gr
Re: EJB mapping declarations
Posted by robert lazarski <ro...@gmail.com>.
That looks fine providing the AS supports axis 1.3 on the server side. I
know for example jboss won't. Your example, however, may help on the client
side registering a serializer via ServiceFactory, if you need one.
HTH,
Robert
http://www.braziloutsource.com/
On 5/5/06, G.Vasiakos <va...@yahoo.gr> wrote:
>
> Hello all,
>
> I am using AXIS 1.3 and i want to deploy an EJB (provider:EJB) service.
> In the wsdd file i would like to include the type mappings description for
> complex type objects. Is the declaration same as in an rpc service or i have
> to make changes? I want to use the EJB provider in order to update my class
> files without restarting the axis servlet(hot deploy).
>
> This is the RPC type mapping that works :
>
> <typeMapping
> xmlns:ns="http://com.test/gamedetails"
> qname="ns:GameDetailsObj"
> type="java:com.test.gamedetails.GameDetailsObj
> serializer="org.apache.axis.encoding.ser.BeanSerializerFactory"
> deserializer="org.apache.axis.encoding.ser.BeanDeserializerFactory
> "
> encodingStyle="http://schemas.xmlsoap.org/soap/encoding/"
> />
> If something has to be changed please tell me.
>
> Thank you
>
> ------------------------------
> Χρησιμοποιείτε Yahoo!
> Βαρεθήκατε τα ενοχλητικά μηνύ ματα (spam); Το Yahoo! Mail διαθέτει την
> καλύτερη δυνατή προστασία κατά των ενοχλητικών μηνυμάτων
> http://login.yahoo.com/config/mail?.intl=gr
>
>