• Post Reply Bookmark Topic Watch Topic
  • New Topic

Answer confirmation for a JAX-WS client questions  RSS feed

 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.


 
Rancher
Posts: 175
Clojure Java Linux
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Author and ninkuma
Marshal
Posts: 66351
155
IntelliJ IDE Java jQuery Mac Mac OS X
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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.
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Bear, I just corrected subject. Thanks for bringing this into my attention.
 
Ranch Hand
Posts: 324
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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.
 
author & internet detective
Marshal
Posts: 37708
578
Eclipse IDE Java VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Which mock exam did this question come from?
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

Jeanne Boyarsky wrote:Which mock exam did this question come from?


Oracle's ePractise
 
Rajan Choudhary
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator

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)
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!