I think I'll just use message service, so I can send back an envelop which
contains all my output parameters. Is there any example showing how to
assemble the envelop on server side inside the service method? (I guess that
will be related to SOAPContext). The sample (messaging only shows how to
throw exception).
thanks
Yong Chen
-----Original Message-----
From: Sanjiva Weerawarana [mailto:[EMAIL PROTECTED]]
Sent: Thursday, June 07, 2001 11:02 AM
To: [EMAIL PROTECTED]
Subject: Re: How to set output parameters in my server code
That's not strictly true - Java methods don't support out
params hence the JavaRPCProvider doesn't. You can make
Apache SOAP support it - the docs (see interop docs
in the 2.2 release) tell you how to do this.
Sanjiva.
----- Original Message -----
From: "Hansen, Richard" <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Thursday, June 07, 2001 9:18 AM
Subject: RE: How to set output parameters in my server code
> Apache SOAP does not support out params.
>
>
> Hi,
> I am trying to invoke a java method of a java service on server (via
> .../servlet/rpcrouter to deploy this service, actually just a java class
> containing that method). My problem is, this method will not only return a
> value, it will also have some output parameters. I guess on client side I
> can use getParams() method of Response class to get these parameters, but
> how do I set these output parameters in the method on server side (to send
> them to client)? I could not find any example usage from the samples
coming
> together with Apache soap server.
>
> thanks
> Yong Chen
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, email: [EMAIL PROTECTED]