axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Eran Chinthaka <chinth...@opensource.lk>
Subject Re: [Axis2] Identifying REST vs SOAP messages
Date Sat, 19 Aug 2006 05:04:47 GMT
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


Mime
View raw message