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 Vi...@nokia.com on 2004/06/18 18:24:13 UTC

RE: SOAPHeader


>  -----Original Message-----
> From: 	Chawla Vikas (Nokia-TP-MSW/Boston)  
> Sent:	Friday, June 18, 2004 12:01 PM
> To:	'axis-dev@ws.apache.org'
> Subject:	SOAPHeader
> 
> Hi,
> 
> I think there is a bug in the SOAPHeader class for addChildElement(Name) method.
> 
> -------------------------------------------------------------------------
> public SOAPElement addChildElement(Name name) throws SOAPException {
>         SOAPHeaderElement child = new SOAPHeaderElement(name.getURI(),
>                                                   name.getLocalName());
>         addChild(child);
>         child.setEnvelope(getEnvelope());
>         return child;
>     }
> 
> -------------------------------------------------------------------------------------------------------------------
> It doesn't pass the prefix while constructing the SOAPHeaderElement object.
> 
> Thanks,
> Vikas
> 

RE: SOAPHeader

Posted by Jarek Gawor <ga...@mcs.anl.gov>.
This should be fixed now. Please try latest code from cvs.

Jarek

> -----Original Message-----
> From: Vikas.Chawla@nokia.com [mailto:Vikas.Chawla@nokia.com] 
> Sent: Friday, June 18, 2004 12:24 PM
> To: axis-dev@ws.apache.org
> Subject: RE: SOAPHeader
> 
> 
> 
> 
> >  -----Original Message-----
> > From: 	Chawla Vikas (Nokia-TP-MSW/Boston)  
> > Sent:	Friday, June 18, 2004 12:01 PM
> > To:	'axis-dev@ws.apache.org'
> > Subject:	SOAPHeader
> > 
> > Hi,
> > 
> > I think there is a bug in the SOAPHeader class for 
> > addChildElement(Name) method.
> > 
> > 
> ----------------------------------------------------------------------
> > ---
> > public SOAPElement addChildElement(Name name) throws SOAPException {
> >         SOAPHeaderElement child = new 
> SOAPHeaderElement(name.getURI(),
> >                                                   
> name.getLocalName());
> >         addChild(child);
> >         child.setEnvelope(getEnvelope());
> >         return child;
> >     }
> > 
> > 
> ----------------------------------------------------------------------
> > ---------------------------------------------
> > It doesn't pass the prefix while constructing the 
> SOAPHeaderElement object.
> > 
> > Thanks,
> > Vikas
> > 
> 
>