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

Re: Issue: should inout parameters be of the same type?

From: Sanjiva Weerawarana <sanjiva@watson.ibm.com>
Date: Fri, 17 May 2002 03:37:29 +0600
Message-ID: <044901c1fd21$e2e1ee10$0aaa7cca@lankabook2>
To: "Web Services Description mailing list" <www-ws-desc@w3.org>
I should add: the doc also contains the following issue:

<issue id="issue-remove-parameter-order">
  <head>Should we remove parameter order?</head>
  While parameter order is specified at a portType level, in
  the SOAP case, whether the binding is an RPC binding or 
  not is not specified until later. Thus, the information is
  misplaced at best.
  <source>Sanjiva Weerawarana</source>
</issue>

I think we should eliminate the whole parameter order thing.
One does not need that to develop a proxy/stub for a service.
The generated programming model is a function of the language
binding of WSDL (such as what JSR 101, JAX-RPC, does for
Java - http://www.jcp.org/jsr/detail/101.jsp)

(That uses parameter order because its in the spec, of course.)

Sanjiva.

----- Original Message ----- 
From: "Sanjiva Weerawarana" <sanjiva@watson.ibm.com>
To: "Web Services Description mailing list" <www-ws-desc@w3.org>
Sent: Friday, May 17, 2002 2:47 AM
Subject: Re: Issue: should inout parameters be of the same type?


> Oh, excellent point ;-).
> 
> I added the following issue:
>     <issue id="issue-require-type-match-for-in-out-parameters">
>       <head>For a part to be an in/out parameter, the type must
> match.</head>
>       For a parameter to be considered in/out it must also be the case
>       that the parts be of exactly the same type.
>       <source>Jacek Kopecky</source>
>     </issue>
> 
> Does anyone object to resolving this in the affirmative? Anything
> else seems a bit crazy ;-).
> 
> Sanjiva.
> 
> ----- Original Message -----
> From: "Jacek Kopecky" <jacek@systinet.com>
> To: "Web Services Description mailing list" <www-ws-desc@w3.org>
> Sent: Thursday, May 16, 2002 8:34 PM
> Subject: Issue: should inout parameters be of the same type?
> 
> 
> > Hi all. 8-)
> >  In WSDL 1.1, if a part name appears in both input and output
> > messages, it represents an in/out parameter [see 1]. It would be
> > logical, IMO, if these two parts had to be of the same type - a
> > parameter should have only one type, even an in/out parameter. At
> > least for RPC style.
> >  Best regards,
> >
> >                    Jacek Kopecky
> >
> >                    Senior Architect, Systinet (formerly Idoox)
> >                    http://www.systinet.com/
> >
> > [1] http://www.w3.org/TR/wsdl#_parameter
Received on Thursday, 16 May 2002 17:40:45 GMT

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