Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
2.0-M1
-
None
Description
If headers where included in a SOAP request an error would occur saying Operation Body was not found. This was due to whitespace which did not create the expected outcome of passing over the body element.
.nextTag() resolves this.
However, apart from skipping whitespace .nextTag() also skips COMMENT, or PROCESSING_INSTRUCTION. If this is required then the following would also work.
while (xmlReader.isWhiteSpace())
{ xmlReader.next(); }However, I don't believe there is support in place for processing COMMENT, or PROCESSING_INSTRUCTION when setting headers. So I used .nextTag()