Hi Luke,

do you have a testcase at hand that we can use to reproduce the behaviour?
Additionally, what stax implementation are you using and which xml binding?

Mika

Luke Pillow schrieb:
We are trying out the 1.1 release, and have ran across what appears to be a bug. Whenever we call services that return List<whateverType>, the namespace on some of the objects in the collection get dropped on the returned soap.

I noticed in my XFire console log, the SOAP looks correct. We are using the XFireExporter to integrate with Spring. Everything works fine with XFire 1.0. Below is the sample of what's being returned, notice the Address objects that do not have a namespace.


<?xml version='1.0' encoding='UTF-8'?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/"; xmlns:xsd=" http://www.w3.org/2001/XMLSchema"; xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance";>
    <soap:Body>
        <cleanseAddressResponse xmlns=" http://www.sunbridgecapital.com";>
            <out>
<ns1:Address xmlns:ns1="http://model.sunbridgecapital.com <http://model.sunbridgecapital.com>"> <addressLine1 xmlns="http://model.sunbridgecapital.com";>4900 MAIN ST STE 400</addressLine1>
                    <city>KANSAS CITY</city>
<county xmlns="http://model.sunbridgecapital.com";>JACKSON</county>
                    <state>MO</state>
<zip xmlns=" http://model.sunbridgecapital.com";>64112-2644</zip>
                </ns1:Address>
                <Address>
<addressLine1 xmlns=" http://model.sunbridgecapital.com";>4900 MAIN ST 400</addressLine1>
                    <city>KANSAS CITY</city>
<county xmlns=" http://model.sunbridgecapital.com";>JACKSON</county>
                    <state>MO</state>
<zip xmlns=" http://model.sunbridgecapital.com";>64112-2683</zip>
                </Address>
                <Address>
<addressLine1 xmlns=" http://model.sunbridgecapital.com";>4900 MAIN ST FL 400</addressLine1>
                    <city>KANSAS CITY</city>
<county xmlns=" http://model.sunbridgecapital.com";>JACKSON</county>
                    <state>MO</state>
<zip xmlns="http://model.sunbridgecapital.com <http://model.sunbridgecapital.com>">64112-2644</zip>
                </Address>
            </out>
        </cleanseAddressResponse>
    </soap:Body>
</soap:Envelope>



--
cyber:con gmbh
Mika Göckel

Rathausallee 10
53757 Sankt Augustin

tel (+49)2241 / 9350 0
fax (+49)2241 / 9350 99
mob (+49) 172 / 279 2771
skype mika.goeckel
email [EMAIL PROTECTED]

Reply via email to