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: [EMAIL PROTECTED]
        ReportedBy: [EMAIL PROTECTED]


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>

Reply via email to