A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
Win a copy of
Take Control of Upgrading to Yosemite
Take Control of Automating Your Mac
this week in the
Question: why the soap header must be the first child element of the Envelope element
Joined: Apr 04, 2006
May 04, 2006 09:42:00
In the SOAP specs, it says, "The SOAP Header is encoded as the first immediate child element of the SOAP envelope. "
Why the header must be the first child?
Is it because of SAX parser? So that the header can be processed before body?
Any other concerns?
SCJP SCJD SCWCD SCEA MCSA.NET OCA
Joined: Mar 22, 2005
May 04, 2006 23:26:00
I would guess performance reasons. The body can be quite large, and if an intermediary only needs to process the header, then this convention ensures that it doesn't need to parse the whole request.
Ping & DNS
- my free Android networking tools app
subject: Question: why the soap header must be the first child element of the Envelope element
SOAP - the mustUnderstand Attribute
soap:encodingStyle Attribute issue ?
Why IllegalArgumentException is being thrown?
Mock exam question: SOAP doubt
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2014