Win a copy of Machine Learning with R: Expert techniques for predictive modeling this week in the Artificial Intelligence and Machine Learning 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
  • Junilu Lacar
  • Jeanne Boyarsky
  • Bear Bibeault
Sheriffs:
  • Knute Snortum
  • Tim Cooke
  • Devaka Cooray
Saloon Keepers:
  • Ron McLeod
  • Stephan van Hulst
  • Tim Moores
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Frits Walraven
  • Ganesh Patekar

Doc/Lit unwrapped is WS-I compliant?

 
Ranch Hand
Posts: 1759
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: 3295
298
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: 1759
12
  • Mark post as helpful
  • send pies
  • 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: 3295
298
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.
 
It's a pleasure to see superheros taking such an interest in science. And this tiny ad:
Java file APIs (DOC, XLS, PDF, and many more)
https://products.aspose.com/total/java
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!