• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

document-style web service and procedure-style web service

 
Hank GU
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!
 
Kalpesh Soni
Ranch Hand
Posts: 312
  • 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!
 
Jaspreet Singh UK
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
 
Tim Duncan
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
 
Chris Johnson
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.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic