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

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

From: James M Snell <jasnell@us.ibm.com>
Date: Thu, 16 May 2002 14:29:00 -0700
To: "Sanjiva Weerawarana" <sanjiva@watson.ibm.com>
Cc: www-ws-desc@w3.org
Message-ID: <OF89B7EADB.43676D92-ON88256BBB.0075DEC9@boulder.ibm.com>
As long as this constraint only affects the RPC binding.  It is quite
possible that in a Request/Response message exchange, two messages may
have similarly named parts but do not reflect an in/out parameter.  It's
only when the Request/Response MEP is implemented for RPC that this
becomes an issue.

- James M Snell/Fresno/IBM
    Web services architecture and strategy
    Internet Emerging Technologies, IBM
    544.9035 TIE line
    559.587.1233 Office
    919.486.0077 Voice Mail
    jasnell@us.ibm.com
 Programming Web Services With SOAP, O'reilly & Associates, ISBN 
0596000952
 ==
 Have I not commanded you?  Be strong and courageous.  Do not be 
terrified,
 do not be discouraged, for the Lord your God will be with you wherever 
you
 go.  - Joshua 1:9


>
> Sent by:        www-ws-desc-request@w3.org
> To:     "Web Services Description mailing list" <www-ws-desc@w3.org>
> cc:
> 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:29:04 GMT

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