web services - Get working with WSDL.How to? -


i have implement "service bindings" in project in school.

i learned wsdl w3schools.com. came know "wsdl" is. know wsdl didn't it. want go practical it. don't know how that.

from start? know there other things learn , don't know they.

i need in getting "practical". in mind don't know how implement it.

based on question assume little bit confused. you should talk teacher (or whoever gave assignment) , find expected do.

web services involve lot of knowledge, wsdl 1 part of it.

as have learned w3schools, wsdl means web services description language. way document web service's interface world.

a web service accessible endpoint address,

http://some.server.com/context/bla/whatever 

this tells find web service, tells nothing how call (i.e. how messages going structured correct communication).

the wsdl provides info: operations exposed, how messages composed, binding used etc.

so understand bit how wsdl "fits" in entire picture i'm going use little story.

let's company wants offer online services. expose these services soap web service , make available @ address http://some.server.com/context/bla/whatever.

after advertise services have tell customer how use thing. send them e-mail , tell them how call or can write word document , tell them how it. not practical, , mail or word document can't used generate client code automatically. dude have write code hand... poor bastard.

this wsdl comes play. specification describes interface service. beeing xml file human readable format more importantly is format machine can read , process and... guessed now... can generate client code based on it.

as such, company not bother write e-mails or documents. document in wsdl file , make available online (the xml schema types inside wsdl... important... should read xml schema).

to simplify things more can (usually) find wsdl @ same address web service parameter added:

http://some.server.com/context/bla/whatever?wsdl 

based on wsdl clients can generate code can call service (in c# svcutil.exe, in java axis wsdl2code etc).

and price charming , cinderella lived happily ever after... oh... wait.. that's story :p.

seriously now.... said @ beginning: talk teacher , ask how supposed practical wsdl.

hope explanation makes little bit clearer you.


Comments

Popular posts from this blog

python - Scipy curvefit RuntimeError:Optimal parameters not found: Number of calls to function has reached maxfev = 1000 -

c# - How to add a new treeview at the selected node? -

java - netbeans "Please wait - classpath scanning in progress..." -