Win a copy of The Little Book of Impediments (e-book only) this week in the Agile and Other Processes forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Whizlabs Simulator ques--can stubs be configured by client

 
Rashmi Verma
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,
I got stuck in one of the question in Whizlab simulator.
The question says
The stub instance returned by a call to javax.xml.rpc.Service.getPort() may be configured further by client to customize other service level features....true or false.

In my opinion this should be true as the stub can be configured further but the explanation says that it is false

Developing Client Applications to Use a Web Service

this link says that it can be configured further.

Please help

Rgeards,
[ June 03, 2006: Message edited by: Rashmi Verma ]
 
wise owen
Ranch Hand
Posts: 2023
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One getPort() method in javax.xml.rpc.Service interface has this restriction.
Service API
 
Rashmi Verma
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Wise !!
 
Sonu Sharma
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Rashmi,

Guessing by your recent question, I am assuming that you are almost done with your preparation and that you are taking the WhizLab exams as a practice. I am midway thru my preparation and wanted to know how deep the simulator was questioning on the JAXR topics. As you might know, the topic covered in the RMH book (chapters 16-19) is pretty dull and boring.

Thank you for the help.

Regards,
Sonu
 
Rashmi Verma
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Sonu,

Well I had gone thru some on diagnostic test in whizlabs simulator , the JAXR question were at a bit complicated to me at first, as I have no experience as such in web services but that are not that deep covered as in RMH..there are whole 3 chapters in RHM but I suppose that much is not required....but not sure as I have not written the exam yet.

Regards,
 
Michael Valentino
Ranch Hand
Posts: 96
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In regards to the original question: The question asks if you can configure the stub returned by getPort() - which is generally a stub to a service endpoint intereface. The answer to that is definitely no - you shouldn't try to configure this stub. The documentation you pointed us to talks about configuring a Call interface, which you certainly can configure.
 
Rashmi Verma
Greenhorn
Posts: 20
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Michael!! Your explanation made it clear.
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic