W3C home > Mailing lists > Public > www-ws-desc@w3.org > May 2003

RE: HTTP binding for WSDL 1.2

From: Tom Jordahl <tomj@macromedia.com>
Date: Thu, 22 May 2003 14:02:05 -0400
Message-ID: <CB1FF0A474AEA84EA0206D5B05F6A4CB03C191AE@S1001EXM02.macromedia.com>
To: "'Jeffrey Schlimmer'" <jeffsch@windows.microsoft.com>, "'WS-Description WG'" <www-ws-desc@w3.org>
+1 to this simplification.

 

--
Tom Jordahl
Macromedia Server Development

-----Original Message-----
From: Jeffrey Schlimmer [mailto:jeffsch@windows.microsoft.com] 
Sent: Thursday, May 22, 2003 1:51 PM
To: WS-Description WG
Subject: HTTP binding for WSDL 1.2

 

In the HTTP (not SOAP) binding for WSDL 1.2, [1] recommends when the HTTP method is POST,

(a)     If there are > 1 uncited input message parts, then the document root of the request body is an element whose local name and XML namespace is the operation {name} and {target namespace}, respectively. Each of the uncited input message parts are serialized as children.

(b)    If there are == 1 uncited input message part, the document root is the single part, and there is no 'wrapper' based on the operation.

(c)     If there are == 0 uncited input message parts, the HTTP body is empty.

 

The same rules apply to all output message parts in the HTTP response body (independent of whether the request method was GET or POST).

 

The specification and implementations would be simpler if the document root was always constructed from the operation {name} and {target namespace} when there are > 0 uncited input message parts. That is, 

(a)     If there are > 0 uncited input message parts, then the document root of the request body is an element whose local name and XML namespace is the operation ....

(b)    (cut)

(c)     If there are == 0 uncited input message parts, ...

 

Any concerns if we make this simplification?

 

--Jeff

 

[1] http://lists.w3.org/Archives/Public/www-ws-desc/2003Mar/0068.html
Received on Thursday, 22 May 2003 14:02:17 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Monday, 7 December 2009 10:58:24 GMT