The Artima Developer Community
Sponsored Link

Web Services Forum
Soap encoding vs Literal encoding

1 reply on 1 page. Most recent reply: Sep 22, 2007 6:49 AM by close wind

Welcome Guest
  Sign In

Go back to the topic listing  Back to Topic List Click to reply to this topic  Reply to this Topic Click to search messages in this forum  Search Forum Click for a threaded view of the topic  Threaded View   
Previous Topic   Next Topic
Flat View: This topic has 1 reply on 1 page
Deepak Kalra

Posts: 2
Nickname: kalra
Registered: Jan, 2007

Soap encoding vs Literal encoding Posted: Jan 10, 2007 4:54 PM
Reply to this message Reply
Advertisement
As we know RPC style use soap encoding (Java <-> XML <-> Java) where as Dcoument style use literal encoding.

1.Can somene please explain me what's the difference between two

2. How does Dcoument style web service gives better performance

3. I have generated the wsdl(using axis) for both document and rpc style web service i.e. style="rpc" and style="document" in server-config.wsdd. I have noticed the difference the way it generates the soap messgae. In case of RPC, soap request message conatin operation name where as in case document style , soap request message does not contain operation name. this is the only difference I can figure it out

Does Axis do something different for document style web service i.e. in terms of serialization/deserialization, parsing etc

Regards
Deepak


close wind

Posts: 2
Nickname: closewind
Registered: Sep, 2007

Re: Soap encoding vs Literal encoding Posted: Sep 22, 2007 6:49 AM
Reply to this message Reply
1、As i know,the difference them is that there aren't any information about data's type in the SOAP requesting message when you using Document style.

2、if you use RPC style,axis will help you deal with Serialize/Deserialize.But the processing is dynamic with poor effiecency. For Document style,axis may be requiring developer implement the Serialize/Deserialize processing himself.now,it is faster of cource.The man knows everything of the datas.

3、When the SOAP requesting message arrived,axis will check if the first param recorded in the SOAP-Body is different to the operation name recorded in service.xml.Same,is RPC;other,is Document.

Flat View: This topic has 1 reply on 1 page
Topic: compilation of C/C++ with Soap(wsdl files) Previous Topic   Next Topic Topic: wsdl standards

Sponsored Links



Google
  Web Artima.com   

Copyright © 1996-2019 Artima, Inc. All Rights Reserved. - Privacy Policy - Terms of Use