• 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
  • Paul Clapham
  • Jeanne Boyarsky
  • Junilu Lacar
  • Henry Wong
Sheriffs:
  • Ron McLeod
  • Devaka Cooray
  • Tim Cooke
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Frits Walraven
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • salvin francis
  • fred rosenberger

Questions on Chapter 24 RMH

 
Ranch Hand
Posts: 198
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi All,

While reading chap. on JAX-RPC mapping file I came across the below questions. Would be grateful if somebody could answer.

1.Light wt mapping is used when a fault msg def. has one part named "message" of type string.
Is this name="message" some keyword that has some special significance such that anything else e.g. name="message1" requires heavywt mapping?

2.Page 723:- two faults are shown with the same name e.g. InvalidIsbnFault ...Could not understand what Richard is trying to illustrate by giving same name and making these two lines in the code bold.
BTW where exactly is the name element in case of input,output,fault elem. is utilised. I noticed throughout in the book that name appears sometimes and sometimes not but with fault it always appears.

3.For service-endoint-i/f mapping.why is there the need for giving wsdl-binding elemnet , when we are already specifying port which is associated with binding.

4. Page 722 :- what exactly is the purpose of specifying qname-scope.Where does its impact can be seen?

5. In the WSDL chap.It has been mentioned that service elem has diff. ports each representing diff. web service???Is that so??
We can define diff ports having the same binding..or even if the binding is changed the porttype operation still remains same ..so is it not that the web service remains same??


Thanks..
 
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by Buggi Sandhu:
Hi All,

While reading chap. on JAX-RPC mapping file I came across the below questions. Would be grateful if somebody could answer.

1.Light wt mapping is used when a fault msg def. has one part named "message" of type string.
Is this name="message" some keyword that has some special significance such that anything else e.g. name="message1" requires heavywt mapping?
No, I don't think so.

2.Page 723:- two faults are shown with the same name e.g. InvalidIsbnFault ...Could not understand what Richard is trying to illustrate by giving same name and making these two lines in the code bold.
BTW where exactly is the name element in case of input,output,fault elem. is utilised. I noticed throughout in the book that name appears sometimes and sometimes not but with fault it always appears.
this is a typo error obviously

3.For service-endoint-i/f mapping.why is there the need for giving wsdl-binding elemnet , when we are already specifying port which is associated with binding.

also confused here, does it mean that the save port can have diff binding?


4. Page 722 :- what exactly is the purpose of specifying qname-scope.Where does its impact can be seen?
if my understanding is correct, it just specify the mapping scope within the WSDL file.

5. In the WSDL chap.It has been mentioned that service elem has diff. ports each representing diff. web service???Is that so??
We can define diff ports having the same binding..or even if the binding is changed the porttype operation still remains same ..so is it not that the web service remains same??

no comments
Thanks
[ May 16, 2004: Message edited by: Lipman Li ]
 
Lipman Li
Ranch Hand
Posts: 122
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
just review the RMH book,
for the question 3, the binding & porttype is specified in the mapping file, no port information is specified here. so the binding is necessary.

the sample in the book seems some mistakes
 
Yeah. What he said. Totally. Wait. What? Sorry, I was looking at this tiny ad:
Devious Experiments for a Truly Passive Greenhouse!
https://www.kickstarter.com/projects/paulwheaton/greenhouse-1
    Bookmark Topic Watch Topic
  • New Topic