java - getHeaders method from SoapHandler interface -


could please explain method getheaders soaphandler interface supposed do?

http://docs.oracle.com/javaee/5/api/javax/xml/ws/handler/soap/soaphandler.html#getheaders%28%29

i'm not sure if creates additional headers or if should tell runtime headers message should have.

i've been sweeping internet looking detailed information couldn't find any. think is basic , obvious no documentation needed lol :-)

thanks

the description you're looking can found in jax-ws 2.2 spec in section titled, "10.2.1 soap mustunderstand processing". inbound messages require additional processing step occurs before start of normal handler processing. basically, set of qname instances returned getheaders allows handler contribute full set of soap headers node understands (the other contributors full set documented in spec). if inbound soap header contains mustunderstand attribute value of 1 or true, exception generated if header can't marked understood.


Comments

Popular posts from this blog

curl - PHP fsockopen help required -

HTTP/1.0 407 Proxy Authentication Required PHP -

c# - Resource not found error -