This week's book giveaway is in the Kotlin forum.
We're giving away four copies of Kotlin for Android App Development and have Peter Sommerhoff on-line!
See this thread for details.
Win a copy of Kotlin for Android App Development this week in the Kotlin 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
  • Liutauras Vilda
  • Devaka Cooray
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Junilu Lacar
  • Paul Clapham
  • Knute Snortum
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • salvin francis
  • Carey Brown
Bartenders:
  • Tim Holloway
  • Frits Walraven
  • Ganesh Patekar

Is RPC/Encoded not allowed in JAX-WS?  RSS feed

 
Ranch Hand
Posts: 558
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello All,

I'm trying to learn @SOAPBinding annotations with different options and compare the generated WSDL.

This example is taken from Ivan's notes


I modified Style to RPC and use to ENCODED.

When I try to wsgen, it failed with error message


From this, I'm thinking that RPC/Encoded is not permitted though RPC/Literal is.

Is this a change from JAX-RPC? or RPC was never allowed ENCODING.

Can I assume that, through JAX-WS

Only DOCUMENT - LITERAL or RPC - LITERAL are permitted and nothing else.

Environment:

Glassfish v3
JDK 1.6

Please advice.
 
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,

Latest J2EE containters in market are trying to comply with basic profile so they can achieve Interoperability across diffrent platforms. Glassfish is no exception. As per WS basic profile 1.1 RPC/Encoded or Document/Encoded style is not allowed because it is a major source of conflicts. Remember, JAX-RPC is renamed to JAX-WS to avoid confusion created by word RPC in name.

Hope this helps.
 
Kumar Raja
Ranch Hand
Posts: 558
2
Hibernate Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thank you Mark.
 
Ranch Hand
Posts: 1183
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which style of WSDL should I use? says -

Although it is legal WSDL, RPC/encoded is not WS-I compliant.



Excellent article.

Regards,
Dan
 
Greenhorn
Posts: 5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Can You please help me out by answering the same Question ?

Can RPC/Encoded be allowed for JAX-WS ?

My WSDL is also using Message Level Security.. Please suggest me best way for client implementation ?
 
All of the world's problems can be solved in a garden - Geoff Lawton. Tiny ad:
RavenDB is an Open Source NoSQL Database that’s fully transactional (ACID) across your database
https://coderanch.com/t/704633/RavenDB-Open-Source-NoSQL-Database
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!