web services - Soap header or http header -
have web application connects jax-ws service. want send security credentials in header. but.. know there 2 types of headers: 1) soap header, can set handler in client side 2) http header in transport layer
can explain pros , cons of setting additional information in each of these headers? best practice?
soap headers , http headers not same.
the soap headers contain routing information, authentication information , on. independent of transport soap uses. if send data web service should place inside soap headers. soap message passed receiver.
http headers contain content type, content length, cache directives clients, cookies , on. independent of transmitted http. http headers intercepted in web server.
see also:
Comments
Post a Comment