You are viewing a plain text version of this content. The canonical link for it is here.
Posted to soap-user@ws.apache.org by Trimarchi Michele <mi...@crypto.it> on 2003/08/29 10:33:22 UTC
In/out parameters
Hi to all
I have a big problem invoking a .NET web service that uses In/Out parameter instead creating a complex type returned by the Procedure.
Is it possible to use in/out parameters on an RPC call with apache soap 2.3.1 ?
I saw that other implementations like AXIS and GLUE allow it with INOUT attribute on Parameter class.
Any helps will be very appreciated...
Bye
Michele
Re: In/out parameters
Posted by Scott Nichol <sn...@scottnichol.com>.
Apache SOAP does not handle output parameters. I added my own support for this for a client of mine some time ago, but I do not think the method was good enough for general inclusion in Apache SOAP. Basically, all array parameters were treated as inout (since in Java, using an array is one common way of similating a "by reference" semantic). The values for the arrays were copied to the response message after the Java method was called. To use this, however, the server must be aware that the parameters are arrays, which would not be the case with existing .NET and Axis services.
Scott Nichol
Do not send e-mail directly to this e-mail address,
because it is filtered to accept only mail from
specific mail lists.
----- Original Message -----
From: "Trimarchi Michele" <mi...@crypto.it>
To: <so...@xml.apache.org>
Sent: Friday, August 29, 2003 4:33 AM
Subject: In/out parameters
Hi to all
I have a big problem invoking a .NET web service that uses In/Out parameter instead creating a complex type returned by the Procedure.
Is it possible to use in/out parameters on an RPC call with apache soap 2.3.1 ?
I saw that other implementations like AXIS and GLUE allow it with INOUT attribute on Parameter class.
Any helps will be very appreciated...
Bye
Michele