Title: What is the difference between a return value and an out (in/out) parameter?
An out parameter is an argument to a method or function that returns a value (passes it out) instead of passing it to the method or function. In other languages this would be called passing an argument by reference.
 
Since Java does not support passing primitive types by reference AXIS uses holder classes to simulate this behavior.
 
-Tako
-----Original Message-----
From: Lene Bredgaard [mailto:[EMAIL PROTECTED]]
Sent: maandag 13 mei 2002 21:09
To: [EMAIL PROTECTED]
Subject: What is the difference between a return value and an out (in/out) parameter?

Hi

I am puzzled by the section 7.1 of the SOAP1.1 spec, describing the RPC response message:
The method response is viewed as a single struct containing an accessor for the return value and each [out] or [in/out] parameter.

What is the difference between a return value and an out parameter?
Is there any difference in Java?

If somebody has an enlightening example it would help me.

Lene

Reply via email to