This week's book giveaway is in the Java in General forum.
We're giving away four copies of Event Streams in Action and have Alexander Dean & Valentin Crettaz on-line!
See this thread for details.
Win a copy of Event Streams in Action this week in the Java in General forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Devaka Cooray
  • Liutauras Vilda
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Paul Clapham
  • Knute Snortum
  • Rob Spoor
Saloon Keepers:
  • Tim Moores
  • Ron McLeod
  • Piet Souris
  • Stephan van Hulst
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Java EE doesnot support Encoded binding

 
Ranch Hand
Posts: 268
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

I tried making wsdl using wsgen tool. The SEI was annotated using the SOAPBinding annotation :



wsgen threw error saying "The fromjava.server.AddNumbersImpl class has invalid SOAPBinding annotation. rpc/encoded SOAPBinding is not supported"

J2EE 1.4 supported ENCODED binding . Does it mean that ENCODED binding cannot be used with Java EE.
 
Bartender
Posts: 2968
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Originally posted by Sim Kim:
Does it mean that ENCODED binding cannot be used with Java EE.



Correct - RPC/encoded is not supported (which I did mention to you here) as a messaging mode and the "encoded" encoding style isn't supported at all, only the "literal" encoding style is supported under JAX-WS.

Basically SOAP 1.1 section 5 encoding was too ambiguous to be implemented consistently and some platforms couldn't even support it. RPC/encoded was a the root of many "interoperation nightmares".
[ November 20, 2008: Message edited by: Peer Reynders ]
 
Don't get me started about those stupid light bulbs.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!