• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Bear Bibeault
  • Ron McLeod
  • Jeanne Boyarsky
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Liutauras Vilda
  • Junilu Lacar
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • fred rosenberger
  • salvin francis
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Carey Brown

document-style web service and procedure-style web service

 
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Any1 can tell me that what is the difference btw document-style web service and procedure-style web service?
they apears in the beta-exam.

Thanks!
 
Ranch Hand
Posts: 317
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
many questions on this thing in exam

to me its just a packaging thing
in document-style u have only one part in message, u send an xml document to the web service
in procedure oriented, u can pass several parameters and u basically make an rpc call (like rmi)
 
Hank GU
Ranch Hand
Posts: 44
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kalpesh, thanks!
 
Ranch Hand
Posts: 42
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
document-literal - pass xml documents that reciever sees as xml
procedure-encode - pass xml complex types that are marshalled to java objects for you on the reciever side ..

J
 
Ranch Hand
Posts: 150
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Jaspreet Singh UK:
document-literal [...]
procedure-encode [...]



I think this is confusing two separate things. Yes, document=XML, procedure=XML representing RPC; but literal/encode is about how the XML is represented. Note that for WS-I Basic Profile you can ignore encode, as they mandate literal only.

--- Tim
 
Greenhorn
Posts: 14
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Procedure style web service is a model of an online request which contacts
a service and does some processing maybe using a database and returns the result to the user. With document oriented, the model of an online order, which first goes to recieving, then to a program to check if there is current inventory in stock, next to shipping, then to a confirm process,
in which a invoice is returned to the customer.
 
Get meta with me! What pursues us is our own obsessions! But not this tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic