You are viewing a plain text version of this content. The canonical link for it is here.
Posted to java-user@axis.apache.org by John Smith <jo...@msn.com> on 2003/06/16 07:21:53 UTC

Incomplete SoapEnvelope Object creation

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>

I have filled a bug in bugzilla for the same issue?

http://nagoya.apache.org/bugzilla/show_bug.cgi?id=20739


John

_________________________________________________________________
Bollywood's back! Will June keep up the tempo? 
http://server1.msn.co.in/features/junemovies03/index.asp