wood burning stoves 2.0*
The moose likes Architect Certification (SCEA/OCMJEA) and the fly likes Answer confirmation for a JAX-WS client questions Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Certification » Architect Certification (SCEA/OCMJEA)
Bookmark "Answer confirmation for a JAX-WS client questions" Watch "Answer confirmation for a JAX-WS client questions" New topic
Author

Answer confirmation for a JAX-WS client questions

Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
The new Dispatch API introduced in JAX-WS supports a fully dynamic service invocation.

Which statement defines a requirement for a JAX-WS dynamic service?

A. Only an XML Schema document and knowledge of the body of the message is required to build a client.
B. Requires only the WSDL document and knowledge of the header of the message is required to build a client.
C. No WSDL or XML Schema document or any other knowledge of the message layout is required to build a client.
D. JAX-WS support for a fully dynamic service invocation requires knowledge of a WSDL and the XML Schema document.

I guess correct answer should be D as we need wsdl & schema to build client stubs. But the correct answer is shown as C. Am I missing any concept? Please let me know either ways.


David Byron
Rancher

Joined: Jan 20, 2009
Posts: 172

Rajan Choudhary wrote:I guess correct answer should be D as we need wsdl & schema to build client stubs. But the correct answer is shown as C. Am I missing any concept? Please let me know either ways.

The correct answer is C. See http://www.ibm.com/developerworks/websphere/library/techarticles/0707_thaker/0707_thaker.html.


SCJD 6, OCPJP7, Baroque Potion, G+
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Thanks David. You are right. I think, I missed the point where it says "knowledge". The client does not need to have knowledge of WSDL & schema technologies for consuming the web service.
Bear Bibeault
Author and ninkuma
Marshal

Joined: Jan 10, 2002
Posts: 61315
    
  66

Please use real words when posting to the forums. Abbreviations such as "Ans" in place of "Answer" only serve to make your posts more difficult to read and less likely to generate useful responses.

Please click this link ⇒ UseRealWords for more information.


[Asking smart questions] [Bear's FrontMan] [About Bear] [Books by Bear]
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Bear, I just corrected subject. Thanks for bringing this into my attention.
Amirr Rafique
Ranch Hand

Joined: Nov 14, 2005
Posts: 324
Rajan Choudhary wrote:Thanks David. You are right. I think, I missed the point where it says "knowledge". The client does not need to have knowledge of WSDL & schema technologies for consuming the web service.


Hi Rajan

Can you please ellaborate the
Knowledge
in this context. I have gone through the article given above. The clinet does need to know the location / url of WSDL and the semantics of message to be sent.


"Know where to find the solution and how to use it - that's the secret of success."
Jeanne Boyarsky
author & internet detective
Marshal

Joined: May 26, 2003
Posts: 30595
    
154

Which mock exam did this question come from?


[Blog] [JavaRanch FAQ] [How To Ask Questions The Smart Way] [Book Promos]
Blogging on Certs: SCEA Part 1, Part 2 & 3, Core Spring 3, OCAJP, OCPJP beta, TOGAF part 1 and part 2
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Jeanne Boyarsky wrote:Which mock exam did this question come from?

Oracle's ePractise
Rajan Choudhary
Ranch Hand

Joined: Mar 17, 2011
Posts: 196
Amirr Rafique wrote:
Rajan Choudhary wrote:Thanks David. You are right. I think, I missed the point where it says "knowledge". The client does not need to have knowledge of WSDL & schema technologies for consuming the web service.


Hi Rajan

Can you please ellaborate the
Knowledge
in this context. I have gone through the article given above. The clinet does need to know the location / url of WSDL and the semantics of message to be sent.


The consumer of the web service really does not need to have knowledge of XML schemas and WSDL creations and/or interpretations as consumer (client) deals with service requests/response using JAX-WS java API which are just like java objects (In most cases JAXB if the binding is not changed)
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Answer confirmation for a JAX-WS client questions