Win a copy of Practical SVG this week in the HTML/CSS/JavaScript forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

skeleton in web services

 
kannan Chocku
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm new to web services.
I got a wsdl url. I'm trying to consume web service using wsdl. So I understand this is Top-Down web service.
I use soap protocol
Please tell me what are the steps to consume a web service with having only wsdl in hand

I use Axis to consume (As per my project I have to use Axis).
%AXIS2_HOME%\bin\WSDL2Java -uri XYZ.wsdl -d adb -s -ss -sd -ssi -o service

Doubt:
1. Since I just consume the web service I believe I do not want to edit the auto generated skeleton. Am I right?
2. I just created the client file & send the request as needed.

Am I missing any step?

Please help me to understand this
 
kannan Chocku
Greenhorn
Posts: 8
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
It worked

Answer to those doubts:
For consuming you need not edit skeleton file. Skeleton is a server side copy

For consuming, client file has to be created. Create an object for stub class & process the request as required to get the response
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!