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 bu...@apache.org on 2003/06/13 12:41:08 UTC
DO NOT REPLY [Bug 20739] New: -
Incomplete SoapEnvelope Object creation
DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20739>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND
INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20739
Incomplete SoapEnvelope Object creation
Summary: Incomplete SoapEnvelope Object creation
Product: Axis
Version: 1.1rc2
Platform: Other
OS/Version: Other
Status: NEW
Severity: Critical
Priority: Other
Component: Serialization/Deserialization
AssignedTo: axis-dev@ws.apache.org
ReportedBy: john_smith_2002@msn.com
It seems that the SoapEnvelope is not completely populated at the time of
creation. The getLocalName Method and getQualifiedName Method return empty
string.
but should return Envelope and soapenv:Envelope respectively.
<JunitTestCase>
public void testSoapEnvelope()throws Exception
{
SOAPMessage message = MessageFactory.newInstance().createMessage();
SOAPElement element = message.getSOAPPart().getEnvelope();
System.out.println("Element Name=" + element.getElementName
().getLocalName());
System.out.println("Element QName=" + element.getElementName
().getQualifiedName());
}
</JunitTestCase>
<Output>
Element Name=
Element QName=
</Output>