Hi Gopinath,
This question is probably best suited for something like the xml-dist-app
mailing list available from the XML Protocol Working Group's page at:
http://www.w3.org/2000/xp/Group/
Thanks,
-Matt
> -----Original Message-----
> From: Gopinath M.R. [mailto:[EMAIL PROTECTED]]
> Sent: Thursday, May 31, 2001 3:02 AM
> To: [EMAIL PROTECTED]
> Cc: 'Gaurav '; Nicolas Fonrose
> Subject: Re: Why do we need encoding-style?
>
>
> Hi,
> Even I had the doubt regarding why do we need encoding style? The
> encoding style is used on the server side to serialize and deserialize
> XML to corresponding programming language (java,c++, etc) instances.
> But the main question is why should client be aware of this? If server
> is using an encoding style "my_cpp_encoding" and java client knows how
> to serialize and deserialize its data to XML (probably using encoding
> style "my_java_encoding"), then specifying "my_cpp_encoding" in the SOAP
> request looks stupid from client's point of view, isn't it? IMHO
> encoding style is *to do with implementation on server side* (and should
> not be part of request/response data) and client should not be asked to
> send that info.
> Let's say I have a java application which provides SOAP
> interface and
> has mapping of xml elements to java classes (either implicitly like XML
> Java databinding or stored somewhere on server side in some .properties
> file), then a VB client need not send any encoding stuff right?
>
> Any comments???
>
> regards,
> Gopinath .M.R.
> Sr.Product Engineer,
> Aztec software
>
> Nicolas Fonrose wrote:
> >
> >
> > XML is just a meta-language, not a language. You can't
> > serializable anything in "XML". You have to choose what
> > is called an "XML application" or "XML language" or "XML encoding"
> > to serialiaze your data.
> >
> > There are numerous languages you can choose from to do this and
> > this is what the "encoding-style" is for. It tells the receiver
> > of the SOAP message what encoding was used.
> >
> > SOAP comes with a default SOAP-encoding but you can use any other
> > encoding (a custom one for example).
> >
> > Nicolas
> >
> > -----Message d'origine-----
> > De: Gaurav
> > A: [EMAIL PROTECTED]
> > Date: 30/05/01 14:52
> > Objet: Why do we need encoding-style?
> >
> > Hi all,
> >
> > What exactly is meant by "encoding-style" attribute in SOAP message. I
> > read that "encoding-style" value informs the server of the encoding
> > style used to encode -- i.e., serialize -- the method. But dont we use
> > XML to serialize the method in SOAP?? So why would we use an
> > encoding-style attribute? Does anybody have any example which shows
> > utility of this attribute in a practical scenario?
> >
> > Thnaks and regards,
> > Gaurav
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, email: [EMAIL PROTECTED]
>
> _________________________________________________________
> Do You Yahoo!?
> Get your free @yahoo.com address at http://mail.yahoo.com
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
>
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]