On Wed, 28 Sep 2005, Stefan Schuster wrote:

> Where do I need to place the client-config.wsdd to have Axis pick
> it up while acting as client?

I'd try placing it on the classpath as a first step. However, you may find it
neater to build an EngineConfiguration in code and pass that directly when
creating the locator class that builds your stubs.

> Can I use the classes generated by wsdl2java
> for both server and client invokations?

Yes, but you need to make sure that they are both compatible with the Axis
jars in that installation. In general, this means that you need to generate
the client and server classes using the same version of wsdl2java.

You might be able use Axis-1.1-generated classes with Axis-1.2.x jars, but
I've generally hit Axis bugs when doing that. if you try this, consider
changing references to org.apache.axis.enum.Style to
org.apache.axis.constants.Style in your stubs, and the same for the Use
classes in those packages;  this eliminates the initial problems.

> Thanks in advance,
>
> Stefan
>

Guy Rixon                                       [EMAIL PROTECTED]
Institute of Astronomy                          Tel: +44-1223-337542
Madingley Road, Cambridge, UK, CB3 0HA          Fax: +44-1223-337523

Reply via email to