cxf-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Daniel Kulp <dk...@apache.org>
Subject Re: Soap12FaultOutInterceptorInternal.handleMessage produces invalid SOAP 1.2 fault
Date Wed, 08 Apr 2009 21:21:07 GMT

Hmm....  You're right.  I believe the correct line would be:

                    writer.writeStartElement(defaultPrefix, "Role", ns);

Need to double check that though.

Dan


On Tue April 7 2009 2:27:55 pm rkiesler wrote:
> Not sure if this is the appropriate forum for this (the issues forum is
> read-only?)...
>
> Specifically, the following code:
>
> if (fault.getRole() != null)
> {
>    writer.writeStartElement("faultactor");
>    writer.writeCharacters(fault.getRole());
>    writer.writeEndElement();
> }
>
> The &lt;faultactor&gt; element is a SOAP 1.1 artifact, which should be
> mapped to &lt;Role&gt; in SOAP 1.2.
>
> --
>
> Roy

-- 
Daniel Kulp
dkulp@apache.org
http://www.dankulp.com/blog

Mime
View raw message