You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-dev@axis.apache.org by to...@apache.org on 2002/08/27 17:46:57 UTC
cvs commit: xml-axis/java/src/org/apache/axis/message SOAPBody.java
tomj 2002/08/27 08:46:56
Modified: java/src/org/apache/axis/message SOAPBody.java
Log:
Fix bug 11982 - SOAP body element attributes are not serialized
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=11982
Add the attributes to the startElement() call.
Revision Changes Path
1.29 +1 -1 xml-axis/java/src/org/apache/axis/message/SOAPBody.java
Index: SOAPBody.java
===================================================================
RCS file: /home/cvs/xml-axis/java/src/org/apache/axis/message/SOAPBody.java,v
retrieving revision 1.28
retrieving revision 1.29
diff -u -r1.28 -r1.29
--- SOAPBody.java 12 Aug 2002 22:58:47 -0000 1.28
+++ SOAPBody.java 27 Aug 2002 15:46:56 -0000 1.29
@@ -134,7 +134,7 @@
// Output <SOAP-ENV:Body>
context.startElement(new QName(soapConstants.getEnvelopeURI(),
- Constants.ELEM_BODY), null);
+ Constants.ELEM_BODY), getAttributes());
Enumeration enum = bodyElements.elements();
while (enum.hasMoreElements()) {
SOAPBodyElement body = (SOAPBodyElement)enum.nextElement();