Team, i started with ping.wsdl and was trying to see why xmlbeans databinding was failing, turns out that we have a slight problem with om. when we do getXMLStreamReaderWithoutCaching and print the events, here's what i get.
=========== Begin With Caching =================== >>>> [START_DOCUMENT] [<?xml version='1.0' encoding='utf-8' standalone='yes'?>] >>>> [START_ELEMENT] [<['http://xmlsoap.org/Ping']::Ping xmlns:='http://xmlsoap.org/Ping'>] >>>> [START_ELEMENT] [<['http://xmlsoap.org/Ping']::ticket Id='xyz'>] >>>> [END_ELEMENT] [</['http://xmlsoap.org/Ping']::ticket>] >>>> [END_ELEMENT] [</['http://xmlsoap.org/Ping']::Ping xmlns:='http://xmlsoap.org/Ping'>] =========== End With Caching =================== Looks good so far, here's what happens when we try without cachine ===================== Begin Without Caching ===================== >>>> [START_DOCUMENT] [<?xml version='1.0' encoding='utf-8' standalone='yes'?>] >>>> [START_ELEMENT] [<['http://xmlsoap.org/Ping']::Ping xmlns:='http://xmlsoap.org/Ping'>] >>>> [START_ELEMENT] [<['http://xmlsoap.org/Ping']:ticket Id='xyz'>] >>>> [END_ELEMENT] [</['http://xmlsoap.org/Ping']:ticket>] >>>> [END_ELEMENT] [</['http://xmlsoap.org/Ping']:Ping xmlns:='http://xmlsoap.org/Ping'>] >>>> [END_ELEMENT] [</['http://schemas.xmlsoap.org/soap/envelope/']:soapenv:Body>] >>>> [END_ELEMENT] [</['http://schemas.xmlsoap.org/soap/envelope/']:soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:wsa='http://schemas.xmlsoap.org/ws/2004/08/addressing'>] >>>> [END_DOCUMENT] [] ===================== End Without Caching ===================== Can u spot the additional END_ELEMENT for soapenv:Body and soapenv:Envelope? We need to get rid of those somehow. FYI, this is why the security tests are failing in SVN right now. thanks, dims -- Davanum Srinivas : http://wso2.com/blogs/
