cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Glen Mazza <glen.ma...@verizon.net>
Subject Re: svn commit: r573017 [1/2] - in /incubator/cxf/trunk: api/src/main/java/org/apache/cxf/interceptor/ api/src/main/java/org/apache/cxf/phase/ common/common/src/main/java/org/apache/cxf/common/commands/ common/common/src/main/java/org/apache/cxf/common/log...
Date Wed, 05 Sep 2007 18:57:36 GMT
Am Mittwoch, den 05.09.2007, 14:53 -0400 schrieb Glen Mazza:
> > -                    soapFault.addDetail().appendChild(nd);
> > +                    nd = nd.getFirstChild();
> > +                    soapFault.addDetail();
> 
> 

Oops!  Never mind on this one!  I just realized the top line above was
removed--not added.

Glen


> I'm not sure of the difference between the JavaSE SOAPFault and CXF's
> SoapFault.  For SOAPFault, Sun seems to say that the above LOC would
> not be allowed[1]: "It is illegal to add a detail when the fault already
> contains a detail."
> 
> Still, what does addDetail() do, if you don't supply it an argument--I'm
> having trouble locating this method within the CXF codebase so am
> confused.
> 
> [1]
> http://java.sun.com/javase/6/docs/api/javax/xml/soap/SOAPFault.html#addDetail()
> 
> Regards,
> Glen
> 
> 
> > +                    while (nd != null) {
> > +                        soapFault.getDetail().appendChild(nd);
> > +                        nd = nd.getNextSibling();
> > +                    }
> >   
> >                  } else {
> >                      soapFault.setFaultCode(new QName("http://cxf.apache.org/faultcode",
"HandlerFault"));
> > 
> 
> 


Mime
View raw message