بازگشت   پی سی سیتی > کامپیوتر اینترنت و شبکه Computer internet > سیستم عامل > ویندوز windows > مقالات آموزش ترفندها... Traning > مقایسه ها > فرمت های فایل

پاسخ
 
ابزارهای موضوع نحوه نمایش
  #1  
قدیمی 05-16-2013
DifferenceBetween آواتار ها
DifferenceBetween DifferenceBetween آنلاین نیست.
ربات اتوماتیک
 
تاریخ عضویت: May 2013
نوشته ها: 108
سپاسها: : 0

0 سپاس در 0 نوشته ایشان در یکماه اخیر
پیش فرض مقایسه تفاوت های Differences Between an RPC and a Document

مقایسه تفاوت های Differences Between an RPC and a Document


RPC vs Document

A Web Services Description Language, commonly referred to as WSDL, can either be a remote procedure call (RPC) or a document. The remote procedure call is a technology that is specifically used for creating distributed client server programs. The RPC is a communication gateway that allows for both the client and the server to communicate. The simple object access protocol, SOAP, allows either the RPC or the document to bind to the WSDL.

The need for using either a document or an RPC arises from the continued complexity of computers over the years. Every release in the field comes with an increase in complexity of features. Errors occurring during the development process cannot be avoided by the developers. To manage the existing errors in the development process and avoid the duplication of error reporting platforms, which is expensive, time-consuming, and complex, the use of an RPC is suggested. It provides a common interface between applications. In its design, the RPC is supposed to allow for an easier
client/server environment that eliminates issues like security data verification and synchronization.


Document style Web service does not contain any restrictions as to how the SOAP body ought to be constructed. The inclusion of any desirable XML data needed and also an XML schema is included. In effect, the client and server application code needs to have marshalling and unmarshalling done to them so that they can be valid and work as desired.

Comparisons

Unmarshalling and marshalling of code in a document style is one big difference noted when compared to an RPC. Here, marshalling and unmarshalling of code is a standard in the process and is handled by the SOAP library that is in use.

Another notable difference between the two is that the document style complexity as opposed to an RPC is quite different. Document style Web service offers extremely complex code as opposed to that generated by an RPC. This, however, need not be an issue as the decoding is not done by humans.

It is notable to also keep in mind that SOAP in a document style has the message sent out as a solitary and single element while in an RPC style, the SOAP body is sent out not as one body but in several elements. Also, it has been shown that there is loose coupling in the document style as opposed to the tight coupling observed in an RPC. A client sends out different service parameters in the document style in simple XML format. In an RPC style, the available parameters are sent out as unique and discrete values.

Other differences include that the document style has been shown to lose its name when in the SOAP message while in an RPC there is no loss of the name in the SOAP message. The previous name that the operation had is maintained. The document style also makes use of the message validation using an XML locator while the RPC style faces problems of data validation in the SOAP message.  

Summary :

Document style offers code marshalling and unmarshalling while RPC offers marshalling and unmarshalling by the given SOAP library .

Document style coding is extremely complex while RPC offers relatively easier code .

Document style sends out messages as a solitary and single element while in the RPC style; the SOAP body is sent out not as one body but in several elements.

Loose coupling occurs in the document style and tight coupling in the RPC format.

XML format used in a client’s transmission of parameters while the RPC sends out the parameters as discrete values.

In a SOAP message, the document style loses its name; an RPC does not lose its name in the SOAP message.

The RPC style has data validation challenges using SOAP messages, and the document style makes use of the XML locator in its message validation.


You might also like…



پاسخ با نقل قول
جای تبلیغات شما اینجا خالیست با ما تماس بگیرید




پاسخ


کاربران در حال دیدن موضوع: 1 نفر (0 عضو و 1 مهمان)
 

مجوز های ارسال و ویرایش
شما نمیتوانید موضوع جدیدی ارسال کنید
شما امکان ارسال پاسخ را ندارید
شما نمیتوانید فایل پیوست در پست خود ضمیمه کنید
شما نمیتوانید پست های خود را ویرایش کنید

BB code is فعال
شکلک ها فعال است
کد [IMG] فعال است
اچ تی ام ال غیر فعال می باشد



اکنون ساعت 07:56 AM برپایه ساعت جهانی (GMT - گرینویچ) +3.5 می باشد.



Powered by vBulletin® Version 3.8.4 Copyright , Jelsoft Enterprices مدیریت توسط کورش نعلینی
استفاده از مطالب پی سی سیتی بدون ذکر منبع هم پیگرد قانونی ندارد!! (این دیگه به انصاف خودتونه !!)
(اگر مطلبی از شما در سایت ما بدون ذکر نامتان استفاده شده مارا خبر کنید تا آنرا اصلاح کنیم)


سایت دبیرستان وابسته به دانشگاه رازی کرمانشاه: کلیک کنید




  پیدا کردن مطالب قبلی سایت توسط گوگل برای جلوگیری از ارسال تکراری آنها