What is the difference between the following pieces of xml?
The reason I ask is that when I submit the xml to a BPEL process the first and second one work but the last one does not, what is going on?
<!-- imported namespace referenced with prefix -->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:fxd="http://aaa.yy.zz/Foo">
<soap:Body>
<fxd:GSR>
<aaa>
<a>1000000</a>
<c>UUU</c>
<cp>ZZ</cp>
</aaa>
<bbb>
<cc>CCC</cc>
<v>110005632501</v>
</bbb>
<adate>2009-11-04T07:14:44.5814828+02:00</adate>
<bdate>2009-11-04T07:14:44.5814828+02:00</bdate>
<m>NNNN</m>
<p>SSSS</p>
<r>LLLL</r>
</fxd:GSR>
</soap:Body>
</soap:Envelope>
<!-- inline imported namespace referenced with a prefix-->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<fxd:GSR xmlns:fxd="http://aaa.yy.zz/Foo">
<aaa>
<a>1000000</a>
<c>UUU</c>
<cp>ZZ</cp>
</aaa>
<bbb>
<cc>CCC</cc>
<v>110005632501</v>
</bbb>
<adate>2009-11-04T07:14:44.5814828+02:00</adate>
<bdate>2009-11-04T07:14:44.5814828+02:00</bdate>
<m>NNNN</m>
<p>SSSS</p>
<r>LLLL</r>
</fxd:GSR>
</soap:Body>
</soap:Envelope>
<!-- inline namespace -->
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
<soap:Body>
<GSR xmlns="http://aaa.yy.zz/Foo">
<aaa>
<a>1000000</a>
<c>UUU</c>
<cp>ZZ</cp>
</aaa>
<bbb>
<cc>CCC</cc>
<v>110005632501</v>
</bbb>
<adate>2009-11-04T07:14:44.5814828+02:00</adate>
<bdate>2009-11-04T07:14:44.5814828+02:00</bdate>
<m>NNNN</m>
<p>SSSS</p>
<r>LLLL</r>
</GSR>
</soap:Body>
</soap:Envelope>
My intuition says they are equivalent pieces of xml, especially considering they come from the same wsdl. They are parsed successfully but the namespaces of the elements are not what they should be.