This Article is continuation of previous article on How to Create Axis2 Web service Using Maven Project .
Creating Project Structure
create new maven project name OrderProcessClient.
groupId : org.wso2.carbon
artifactId : OrderProcessClient
version : 1.0.0
Include following configuration to the pom.xml
pom.xml
Start the axis2 server that start in previous tutorial.
Download wsdl file of the service in to project Resource folder by going to the OrderProcessService link and build the project.
From this Step Service Stub class of the Service is generated in the org.wso2.service package.
Writing Client Code by Use of Service Stub Class
Create OrderProcessClient class in org.wso2.client folder
OrderProcessingClient.java
Finally you can run this class and check the functionality of your service.
No comments:
Post a Comment