|
What this is
Other links
The source code
Sample: mex (Metadata Exchange)
====================================
Introduction
============
The examples provided demostrates data retrieval for WS-MetadataExchange GetMetadata request
handled by different level of data locators below:
1. Default Axis2 data locator
2. Plug-in service level data locator
3. Plug-in service sevel WSDL-specific data locator
Note: Example 2 and 3 are only for the sole purpose of demostrating plug-in data locator support. The
data retrieval logic for the plug-in data locators are not implemented.
Details for the examples are documented in the Apache Metadata Exchange User's Guide.
Prerequisites
=============
To build the sample service you must have ant-1.6.x installed in your system.
To set AXIS2_HOME in Unix/Linux type:
$export AXIS2_HOME=<path to axis2 distribution>
metadataExchange module must be deployed and engaged.
Please refer to Apache Metadata Exchange User's Guide for how to deploy and engage
the metadataExchange module.
Building the Service
====================
To build the sample service, type: $ant generate.service or just ant
This will build the DefaultAxis2DataLocatorDemoService.aar, ServiceLevelDataLocatorDemoService.aar,
and WSDLDataLocatorDemoService.aar service archive files in the build directory and copy them to the
<AXIS2_HOME>/repository/services directory.
You can start the Axis2 server by running either axis2server.bat (on Windows) or axis2server.sh
(on Linux)that are located in <AXIS2_HOME>/bin directory.
The WSDL for this service should be viewable at:
http://<yourhost>:
|
| ... this post is sponsored by my books ... | |
#1 New Release! |
FP Best Seller |
Copyright 1998-2024 Alvin Alexander, alvinalexander.com
All Rights Reserved.
A percentage of advertising revenue from
pages under the /java/jwarehouse
URI on this website is
paid back to open source projects.