• 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 Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

About encrypting a SOAPHeader in either interaction layer or processing layer

 
Bartender
Posts: 2418
13
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
In EPractice lab, a question "A web service needs to encrypt certain SOAP headers when responding."
Which is true?
a. The web service interaction layer is the appropriate place for such encryption.
b. The web service processing layer is the appropriate place for such encryption
c. Either the web service interaction or processing layer is appropriate for such encryption.
d. Neither the web service interaction nor processing layer is appropriate for such encryption.

I believe the answer should be c.
According to Ivan's notes:


Responsibility of service interaction layer:
- generate and send responses to client

Responsibility of processing layer:
- contain all business logic
-generate data to be sent with the response to the client, if a response is to be given.



I think it is fine to encrypt the header when the response is to be generated in the interaction layer. It is also fine to consider the encryption should be done in the business logic implementation.

But the given answer is a.
 
My previous laptop never exploded like that. Read this tiny ad while I sweep up the shards.
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic