Hi,
As per [1] if I understand it right, a SOAP 1.2 HTTP implementation
must be able to process the media type "application/soap+xml" but
clients may send messages with other compatible media types as well
(something like text/xml).
This whole behavior changes with the REST flag being on and off so
this is what I think os the best way

Case 1: REST is off
1. If SOAPAction -> SOAP 1.1
2. Any other text compatible media type -> SOAP 1.2

Case 2: REST is on
1. If SOAPAction -> SOAP 1.1
2. applicatin/soap+xml -> SOAP 1.2
3. any other text compatible media type -> REST

[1] http://www.w3.org/TR/2003/REC-soap12-part2-20030624/#httpmediatype

Ajith

On 8/19/06, Eran Chinthaka <[EMAIL PROTECTED]> wrote:
Hi Glen,

Glen Daniels wrote:

> I think the algorithm is as follows:
>
> 1) check media-type.  If it's either of the well-defined ones for SOAP
> 1.2 (application/soap+xml, application/xop+xml), it's SOAP 1.2.

This is the problem. As I mentioned in my earlier mail also, content
type for SOAP 1.2 is optional. One can send a SOAP 1.2 message without
putting the content type as application/soap+xml. What can we do about that?

We can make it a must for users to send the content type, even if it is
SOAP 1.2.

- Chinthaka






--
Ajith Ranabahu

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

Reply via email to