axis-java-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jeff Greif" <jgr...@alumni.princeton.edu>
Subject Re: multi-refs in Axis-generated SOAP responses
Date Wed, 22 Jan 2003 21:18:46 GMT
I found the answer myself:

   <service ...>
      <parameter name="sendMultiRefs" value="false"/>
    ...</service>
works in the server, and something similar might work in the client if you
use a .wsdd deployment descriptor.

To do it in your client code, you say:
call.getService().getEngine()
  .setOption(org.apache.axis.AxisEngine.PROP_DOMULTIREFS,
                           new Boolean(false));

(it's also an Axis Engine config parameter.
Jeff
----- Original Message -----
From: "Nicholas" <nwhitehe@yahoo.com>
To: <axis-user@xml.apache.org>
Sent: Wednesday, January 22, 2003 10:52 AM
Subject: Re: multi-refs in Axis-generated SOAP responses


> Sorry, I do not have an answer, but how do you turn it
> off in the client ?
>
>
> --- Jeff Greif <jgreif@alumni.princeton.edu> wrote:
> > Is it possible to specify in a server deployment
> > .wsdd (for a service provided by the axis 1.1beta
> > webapp in Tomcat 4.1.18) that the soap responses
> > should not use multirefs?  I know how to turn it off
> > in Axis clients, but not how to configure it to be
> > off in a server.  Does the whole axis engine have to
> > have it turned off if it can be configured
> > externally?
> >
> > Jeff
>
>
> =====
> Nicholas Whitehead
> Home: (973) 377 9335
> Cell: (201) 615 2716
> Work: (212) 622 5639
> nwhitehe@yahoo.com
>


Mime
View raw message