| Author |
document-style web service and procedure-style web service
|
Hank GU
Ranch Hand
Joined: Jan 11, 2004
Posts: 44
|
|
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!
|
=======================<br />SUN: SCJP, SCWCD, SCBCD, SCEA, SCDJWS<br />BEA: Certified Architect<br />M$: MCP, MCSA
|
 |
Kalpesh Soni
Ranch Hand
Joined: Jan 02, 2001
Posts: 306
|
|
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
Joined: Jan 11, 2004
Posts: 44
|
|
|
Kalpesh, thanks!
|
 |
Jaspreet Singh UK
Ranch Hand
Joined: Mar 06, 2001
Posts: 42
|
|
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
Joined: Aug 20, 2001
Posts: 150
|
|
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
Joined: Feb 04, 2004
Posts: 14
|
|
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.
|
 |
 |
|
|
subject: document-style web service and procedure-style web service
|
|
|