[ http://issues.apache.org/jira/browse/AXIS2C-130?page=comments#action_12374680 ]
Samisa Abeysinghe commented on AXIS2C-130: ------------------------------------------ When I revert the change done for AXIS2C-129 it works. The fix done for AXIS2C-129 does not seem to wrok anyway > SOAP builder fails for messages with empty elemt > ------------------------------------------------ > > Key: AXIS2C-130 > URL: http://issues.apache.org/jira/browse/AXIS2C-130 > Project: Axis2-C > Type: Bug > Components: xml/soap > Versions: Current (Nightly) > Reporter: Samisa Abeysinghe > Fix For: 0.91 > > If there is empty elements in the SOAP message, the builder fails to extract > SOAP body > Here is the message for which it fails: > <soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/" > xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" > xmlns:xsd="http://www.w3.org/2001/XMLSchema" > xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" > xmlns:wsa="http://www.w3.org/2005/08/addressing"><soapenv:Header><ReplyTo > customer:level="premium" xmlns="http://www.w3.org/2005/08/addressing" > xmlns:customer="http://example.org/customer"><wsa:Address > xmlns:wsa="http://www.w3.org/2005/08/addressing">http://www.w3.org/2005/08/addressing/none</wsa:Address><wsa:ReferenceParameters > customer:level="premium" > xmlns:wsa="http://www.w3.org/2005/08/addressing"><customer:CustomerKey > xmlns:customer="http://example.org/customer">Key#123456789</customer:CustomerKey></wsa:ReferenceParameters><wsa:Metadata > customer:total="1" xmlns:customer="http://example.org/customer" > xmlns:wsa="http://www.w3.org/2005/08/addressing"/><customer:Metadata > xmlns:customer="http://example.org/customer"><customer:extraStuff>This should > be ignored.</customer:extraStuff></customer:Metadata></ReplyTo><wsa:To > xmlns:wsa="http://www.w3.org/2005/08/addressing">http://222.165.178.239:9090/axis2/services/wsa_test_svc</wsa:To><wsa:Action > > xmlns:wsa="http://www.w3.org/2005/08/addressing">http://example.org/action/notify</wsa:Action><wsa:MessageID > > xmlns:wsa="http://www.w3.org/2005/08/addressing">uuid:A1861687-010A-4000-E000-0D94C0A8005E</wsa:MessageID></soapenv:Header><soapenv:Body><m:notify > > xmlns:m="http://example.org/notify">test1108</m:notify></soapenv:Body></soapenv:Envelope> > If I remove the tag "<wsa:Metadata customer:total="1" > xmlns:customer="http://example.org/customer" > xmlns:wsa="http://www.w3.org/2005/08/addressing"/>" it works -- This message is automatically generated by JIRA. - If you think it was sent incorrectly contact one of the administrators: http://issues.apache.org/jira/secure/Administrators.jspa - For more information on JIRA, see: http://www.atlassian.com/software/jira
