Want to protect your cyber security and still get fast solutions? Ask a secure question today.Go Premium

x
?
Solved

WSDL for Java Client

Posted on 2011-04-18
6
Medium Priority
?
963 Views
Last Modified: 2013-11-19
Hi Guys,

I'm newbie in web service, so please kindly explain as complete as possible ;)

I installed Alfresco (Java based), that had already provided some WSDL files.

We need to make 1 new java application that consume web service from Alfresco (Java Client).

Can we directly use the wsdl files? Because when i google, I read that many people said they use wsdl2java.

My question : Can i just use the wsdl files from Alfresco without using wsdl2java?
0
Comment
Question by:softbless
  • 3
  • 3
6 Comments
 
LVL 92

Expert Comment

by:objects
ID: 35420171
yes you can just use the existing wsdl
you can also use wsdl2java to generate the stubs
http://onjava.com/pub/a/onjava/2002/06/05/axis.html?page=2
0
 

Author Comment

by:softbless
ID: 35420251
Hi Objects,

What is "stubs"? can u explain? english is not my first language.

And if we could use the existing WSDL, why people bother to use wsdl2java to gnerete the stubs?
0
 
LVL 92

Expert Comment

by:objects
ID: 35420317
The stubs are just java code
Writing the stubs yourself is tedious and error prone, wsdl2java simplifies the process

http://gdp.globus.org/gt3-tutorial/multiplehtml/ch01s02.html
0
VIDEO: THE CONCERTO CLOUD FOR HEALTHCARE

Modern healthcare requires a modern cloud. View this brief video to understand how the Concerto Cloud for Healthcare can help your organization.

 

Author Comment

by:softbless
ID: 35420494
So basically wsdl2java is assisting programmer to generate stubs(java code) to consume the wsdl. Is it like that?

So whether using wsdl2java or not, in the end the java code produced is basically will be the same. Is it correct?

Btw, thanks for the link. It's give simple explanation, that's why I could have more understanding about it. I've googled a lot before, but still cannot help me understanding web service. But your link works.
0
 
LVL 92

Accepted Solution

by:
objects earned 2000 total points
ID: 35420525
yes that correct
0
 

Author Closing Comment

by:softbless
ID: 35420732
Thanks
0

Featured Post

When ransomware hits your clients, what do you do?

MSPs: Endpoint security isn’t enough to prevent ransomware.
As the impact and severity of crypto ransomware attacks has grown, Webroot has fought back, not just by building a next-gen endpoint solution capable of preventing ransomware attacks but also by being a thought leader.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Java functions are among the best things for programmers to work with as Java sites can be very easy to read and prepare. Java especially simplifies many processes in the coding industry as it helps integrate many forms of technology and different d…
In this post we will learn how to make Android Gesture Tutorial and give different functionality whenever a user Touch or Scroll android screen.
The viewer will learn how to count occurrences of each item in an array.
Video by: Mark
This lesson goes over how to construct ordered and unordered lists and how to create hyperlinks.
Suggested Courses

578 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question