How to Get axis to find client-config.wsdd

Source: Internet
Author: User

How to Get axis to find client-config.wsdd

Axis supports the use of handlers on the client side and beyond of the WS-FX Projects
Are implemented using this feature. configuration information for the client is contained with the client-config.wsdd.

By default the axis client code looks for this file in two places:

1) first of all axis checks the working directory of the process in which it is running. If the file is found there then it uses this version.

2) if there is no client-config.wsdd was found then it checks on the classpath in the package ORG/Apache/axis/client

It is also possible to specify the location of the client-config.wsdd file explicity (if you like to keep configuration files at a separate location). To do this, you need to set a system property
Using the command line like so:

java -Daxis.ClientConfigFile=/location/of/client-config.wsdd ...

This can also be done from within ant using a <systemproperty> element nested within <Java>:

<Sysproperty key = "axis. clientconfigfile" value = "/location/of/client-config.wsdd">

 

Http://ws.apache.org/axis/cpp/winuser-guide.html#handlers

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.