axis-java-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Becker, Torsten" <torsten2.bec...@volkswagen.de>
Subject SOABodyElement serialization new bug ???
Date Tue, 10 Dec 2002 17:19:54 GMT
Think this is a bug!!!!

requestList (org.w3c.dom.Document)

<x:reqs name="Identifikation" id="000" count="1"
xmlns:x="http://www.bte-eet.de/namespace/de">
		<x:req com="rIdent">
			<x:cuid>1f</x:cuid>
			<x:param>1A9b</x:param>
		</x:req>
</x:reqs>

Programm:

SOAPBodyElement soapBodyElement = new
SOAPBodyElement(requestList.getDocumentElement());

SOAPEnvelope envRequest = new SOAPEnvelope();
envRequest.addBodyElement(soapBodyElement)
 
I don't know why but the SOAPBody in my message look like this:


<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv="http://schemas.xmlsoap.org/soap/envelope/"
xmlns:xsd="http://www.w3.org/2001/XMLSchema"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
<soapenv:Body>
<ns1:reqs count="2" id="000" name="Identifikation"
xmlns:x="http://www.bte-eet.de/namespace/de"
xmlns:ns1="http://www.bte-eet.de/namespace/de">
	<ns1:req com="rIdent">
		<ns1:cuid>1f</ns1:cuid>
		<ns1:param>1A9b</ns1:param>
	</ns1:req>
</ns1:reqs>
</soapenv:Body>
</soapenv:Envelope

It seams that the call method isn't able to convert a org.w3c.dom.Document
in the right way!!!!!
In my mind the call method should identify the namespace with the right
prefix. 

Thanks Torsten



Mime
View raw message