• 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
  • Jeanne Boyarsky
  • Devaka Cooray
  • Paul Clapham
Sheriffs:
  • Tim Cooke
  • Knute Snortum
  • Bear Bibeault
Saloon Keepers:
  • Ron McLeod
  • Tim Moores
  • Stephan van Hulst
  • Piet Souris
  • Ganesh Patekar
Bartenders:
  • Frits Walraven
  • Carey Brown
  • Tim Holloway

Doc/Lit unwrapped is WS-I compliant?

 
Ranch Hand
Posts: 1738
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
According to MZ's version 5 notes, p. 145, there is soap:body like this:
<soap:Body>
<xElement>5</xElement>
<yElement>5.0</yElement>
</soap:Body>
"Weakness: WS-I only allows one child of the soap:body in a SOAP message... This example's soap:body has two children."
"Strengths: Document/literal is WS-I compliant, but with restrictions."

If in the exam, I am given a question like this "Is Doc/Lit unwrapped WS-I compliant?" Should I answer Yes or No?
 
Creator of Enthuware JWS+ V6
Posts: 3287
296
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
No.

Document/literal/unwrapped (or bare) is not fully compliant, you can try it yourself. JAX-WS is Basic Profile v1.1 compliant, so just create a web method with more than 1 parameter and see what happens when you try to deploy the web service.
 
Himai Minh
Ranch Hand
Posts: 1738
12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I created a post earlier at this link :http://www.coderanch.com/t/624936/java-Web-Services-SCDJWS/certification/parameterStyle-Bare-web-methods-parameter
Obviously, BP v1.1 does not support a web method with more than 1 parameter under doc/lit/unwrapped.

So, if I am asked this question in the exam "Does doc/lit/unwrapped WS-I compliant?" I should select "not fully compliant" or "compliant with the restriction of only 1 parameter".
 
Frits Walraven
Creator of Enthuware JWS+ V6
Posts: 3287
296
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Himai Minh wrote:
So, if I am asked this question in the exam "Does doc/lit/unwrapped WS-I compliant?" I should select "not fully compliant" or "compliant with the restriction of only 1 parameter".


Yes.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!