You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-dev@xml.apache.org by Senthil Kumar P <se...@aztec.soft.net> on 2001/04/19 07:01:59 UTC

Reg serializer/deserializer

hi ,
	     i am new to soap environment. i have to call a method written
in java from .net platform. for that i am using soap for calling methods &
getting return value thru soap response. i am using MS soap in client side
(.net )  & Apache soap in server side (java). ALSO USING SOME WRAPPER CLASS
IN BETWEEN APACHE SOAP & JAVA TO CONVERT JAVA DATATYPES LIKE
HASHTABLE,VECTOR INTO SOAP PRIMITIVE DATATYPES (say STRING). under this
condition what type of serialization/deserialization can be used ? is this
feasible?
	Any help appreciated.
	Thanks in Advance.
	Regards,
	senthil

Re: Reg serializer/deserializer

Posted by Michael Reardon <mi...@onewebsystems.com>.
Apache SOAP can encode Hastables to SOAP structs with MapSerializer,
and  Vectors and Enumerations to SOAP arrays with VectorSerializer. It
will also encode java beans with the BeanSerializer, but you must set up
the type mapping in your deployment descriptor.  If you need to encode
an object that is not a bean, you will nead to write an implementation
of the Serializer and Deserializer interfaces.  See the source code in
the org.apache.soap.encoding.soapenc package for more details. 

Cheers,
Mike Reardon

Senthil Kumar P wrote:
> 
> hi ,
>              i am new to soap environment. i have to call a method written
> in java from .net platform. for that i am using soap for calling methods &
> getting return value thru soap response. i am using MS soap in client side
> (.net )  & Apache soap in server side (java). ALSO USING SOME WRAPPER CLASS
> IN BETWEEN APACHE SOAP & JAVA TO CONVERT JAVA DATATYPES LIKE
> HASHTABLE,VECTOR INTO SOAP PRIMITIVE DATATYPES (say STRING). under this
> condition what type of serialization/deserialization can be used ? is this
> feasible?
>         Any help appreciated.
>         Thanks in Advance.
>         Regards,
>         senthil