• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Doc/Lit unwrapped is WS-I compliant?

 
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
I created a post earlier at this link :https://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: 3411
320
Android Eclipse IDE Chrome
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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.
 
reply
    Bookmark Topic Watch Topic
  • New Topic