xml-soap-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Simon Fell <s...@zaks.demon.co.uk>
Subject Re: Soap return Values
Date Tue, 01 Aug 2000 03:19:29 GMT
On Mon, 31 Jul 2000 12:08:47 -0400, in soap you wrote:

>Does SOAP requires that every function should return a value. What if I have a function
that has an [in/out] parameter. That is if I have a request like this
><m:Increment xmlns:m="Some-URI">
>    <counter>1</counter>
>Would I be getting a response envelope simillar to following one or a different one with
return value?
><m:IncrementResponse xmlns:m="Some-URI">
>    <counter>2</counter>

no, you are not required to have a return value. The example you give
can map to either

int Increment ( [in] int counter ) ;
void Increment ( [in/out] int * counter ) ;


View raw message