Thanks!

I just figured out that I could do

((org.apache.axis.client.Service) this.service).getEngine().setOption(AxisEngine.PROP_DOMULTIREFS, Boolean.FALSE);

in the *BindingStub constructor. Is that equivalent to your suggestion?

(Axis contains a myriad of *Engines, *Services, *Clients and *Factories!)

/Anders

On fredag, okt 3, 2003, at 17:54 Europe/Stockholm, Michael Ser wrote:

Anders,

In the createCall method of <service>SoapBindingStub.java code created
by wsdl2java add the following:

        _call.setOption(org.apache.axis.AxisEngine.PROP_DOMULTIREFS, new
Boolean(false));

Good luck,

mike

Michael Ser
Netweave Integrated Solutions, Inc.



-----Original Message-----
From: Anders Peterson [mailto:[EMAIL PROTECTED]
Sent: Friday, October 03, 2003 7:48 AM
To: [EMAIL PROTECTED]
Subject: Turning off multirefs


Hi,


How do I turn off multirefs for my client? The server seems to have
problems with them. Axis makes these kind of references down to
individual text/number fields (seems odd).

I've read in the docs about *.wsdd files. The problem is I don't have
one! The only server-config.wsdd  and client-config.wsdd files I could
find are in axis.jar. I tried modifying these but nothing seemed to
happen.

Where does Axis look for the configuration files?

Can I set in code? (All I have is the wsdl2java generated code.) I've
seen in the API docs that AxisEngine has a bunch of static final
properties. How are they initialized?

My environment: Axis 1.1, Java 1.4 WebObjects 5.2. I do not have Tomcat
or similar. As far as I know I don't use any WebObjects specific code (I


know I could).

/Anders




__________________________
Anders Peterson
Optimatika
Torstenssonsgatan 12, 5tr.
114 56 Stockholm
Sweden
        
Personal: +46 - (0)70 - 843 78 92
Company: + 46 - (0)8 - 720 30 66
Fax: + 46 - (0)8 - 15 31 00



Reply via email to