W3C home > Mailing lists > Public > xml-dist-app@w3.org > May 2001

Re: literal XML encoding?

From: Marc J. Hadley <marc.hadley@sun.com>
Date: Thu, 24 May 2001 10:28:15 +0100
Message-ID: <3B0CD42F.C4B743FE@sun.com>
To: francis@redrice.com
CC: "xml-dist-app@w3.org" <xml-dist-app@w3.org>
Francis Norton wrote:
> We are using SOAP to communicate high-level XML structures between
> business partners. During development I was very surprised to discover
> that the only value for encodingStyle is the SOAP serialisation. I can
> find no clear standard for saying "the content of the body of this
> message is literal XML".
Use of the SOAP encoding is optional. If you wish to use your own
encoding within the body you may specify that using the encodingStyle
attribute with a value specific to your encoding, e.g.


        <m:MyMessageBody xmlns:m="some URI">

The actual value of the encodingStyle attribute can be anything you wish
provided it is a URI. It might be a URL within your organisations
domain, e.g. in your case you might choose
http://www.redrice.com/literalxmlencoding or something along those
lines. The SOAP processor doesn't expect to find anything at this URL,
it is just used as a unique identifier for your encoding.

See section 4.1.1 of the SOAP/1.1 specification.

Hope this helps,

Marc Hadley <marc.hadley@sun.com>
Received on Thursday, 24 May 2001 05:28:39 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 22:01:13 UTC