more info on BUG?
Wolfgang Beer <[email protected]> Thu, 17 Apr 2003 07:51:11 +0200
| Newsgroups | gmane.comp.java.enhydra.ksoap |
|---|---|
| Message-ID | <[email protected]> |
Yes it appears when i try to parse empty message bodys like this one, with
at least one parameter it is no problem:
<?xml version="1.0" encoding="utf-8"?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/"
xmlns:tns="http://www.defaultnamespace.org/"
xmlns:types="http://www.defaultnamespace.org/encodedTypes"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body soap:encodingStyle="http://schemas.xmlsoap.org/soap/encoding/">
<CFclearRules />
</soap:Body>
</soap:Envelope>
I am quite sure that it is a bug because as i wrote last time the soap
parser for unknown objects
calls parser.next() to early, so it looses the root tag. In this example
the bodys root tag would be
<CFclearRules> but it looses it because of the early call of parser.next()
cheers
wolfgang