Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

encoding type in wsdl

 
vivek srivastava
Ranch Hand
Posts: 39
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am very confused about exact meaning of these 4 combination.
(Document,Literal),(Document,encodning),(RPC,Literal),(RPC,Encoding).
Please help me out. Which one does JAX-RPC supports?

Regards,
Vivek
 
Peer Reynders
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
See Which style of WSDL should I use?

JAX-RPC only supports RPC/encoded, RPC/literal, Document/literal

JAX-WS doesn't support RPC/encoded anymore because it often lead to interoperability problems.

Developers tend to prefer "RPC/literal" because of their familiarity with RPC.

However web services should be coarse grained so "Document/literal" should be preferred. There is also the wrapped document/literal convention.

This topic shows a conversion from an RPC/literal WSDL to a Document/Literal WSDL, then a Wrapped Document/Literal WSDL.
 
Happiness is not a goal ... it's a by-product of a life well lived - Eleanor Roosevelt. Tiny ad:
the new thread boost feature: great for the advertiser and smooth for the coderanch user
https://coderanch.com/t/674455/Thread-Boost-feature
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!