Clicky

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?

asked 04/18/2011 06:18

softbless's gravatar image

softbless ♦♦


6 Answers:
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
link
objects's gravatar image

objects

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?
link
softbless's gravatar image

softbless

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
link
objects's gravatar image

objects

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.
link
softbless's gravatar image

softbless

yes that correct
link
objects's gravatar image

objects

Thanks
link
softbless's gravatar image

softbless

Your answer
[hide preview]

Follow this question

By Email:

Once you sign in you will be able to subscribe for any updates here

By RSS:

Answers

Answers and Comments

Tags:

×141
×18
×13

Asked: 04/18/2011 06:18

Seen: 344 times

Last updated: 04/18/2011 01:20