 |
BorlandTalk.com Borland discussion newsgroups
|
| View previous topic :: View next topic |
| Author |
Message |
Franco Guest
|
Posted: Sat Mar 05, 2005 5:22 pm Post subject: Re: HELP! output parameters from my web-service dont work |
|
|
Ok - I eventually solved my own problem. For any who may experience the
same thing here is the solution:
If you wish to use a TRemotable descendant as an output (reference)
parameter from a SOAP server (mine is an ISAPI) in Builder, you must make
the parameter type a reference to a pointer. Nothing else will work. A
pointer will not work (unlike returned objects which do work through a
pointer), a reference alone will not work (the Builder WSDL publisher turns
it into a const *).
The solution is to use: *&
EG:
virtual TReturnedTestObject * GetTest(TTestObject *& ATestObject) = 0;
Viola.
"Franco" <nope (AT) nope (DOT) com> wrote
| Quote: | These classes work fine on the server and the client ONLY IF I return them
from the service functions as a return value - HOWEVER, if I try to use
them
as reference parameters - something goes wrong (in marshalling?) since the
client side object is never changed!
[...] |
|
|
| Back to top |
|
 |
|
|
You cannot post new topics in this forum You cannot reply to topics in this forum You cannot edit your posts in this forum You cannot delete your posts in this forum You cannot vote in polls in this forum
|
|