cxf-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Colm O hEigeartaigh <cohei...@apache.org>
Subject Re: DefaultCryptoCoverageChecker property checkFaults
Date Wed, 15 Jan 2014 11:26:41 GMT
Could you create a test-case that shows the problem?

Colm.


On Wed, Jan 15, 2014 at 9:23 AM, José Manuel Prieto <
josemanuel@prietopalacios.net> wrote:

> Unsolved
>
> I followed this steps:
> 0.- Create diferent calls in spring file to DefaultCryptoCoverageChecker,
> ref, bean, property --> no changes
> 1.- I create a custom Interceptor --> no changes
> public class CustomDefaultCryptoCoverageChecker extends
>         DefaultCryptoCoverageChecker {
>
>     public CustomDefaultCryptoCoverageChecker(){
>         setCheckFaults(false);
>     }
> }
>
> 2.- Change jaxb library version: form jaxb-impl:2.2.5-2 to
> jaxb-impl:2.1.13. --> no changes
> 3.- Change spring library version form spring:3.0.5.RELEASE to
> spring:3.2.6.RELEASE --> no changes
> 4.- Continuing the trace, I get to:
> DocLiteralInInterceptor.handleMessage(Message message){
>    ...
>    o = dr.read(p, xmlReader); call to -->
> DataReaderImpl.read(MessagePartInfo part, T reader)
>    ...
> }
>
> DataReaderImpl.read(MessagePartInfo part, T reader){
>    return JAXBEncoderDecoder.unmarshall(createUnmarshaller(), reader, part,
>                                              unwrapJAXBElement);
> }
>
> Who instance JAXB? spring?.
> Why only one parameter change my wolrd?
>
> thanks for readme
> JMPrieto
>
>
>
> 2014/1/14 José Manuel Prieto <josemanuel@prietopalacios.net>
>
> > Hello,
> >
> > If I put property checkFaults="false" (in sringframework application
> > context file), only SoapFault Messages runs as expected.
> > My service return a Response object. The service response is 200 (OK),
> > send me a Response (I see it, in the server-log), my client obtain a
> > Response object but, all atributes to null.
> >
> > I trace until to SoapHeaderInterceptor.handleMessage(Message m). This
> > methods contains:
> >     public void handleMessage(Message m) throws Fault {
> >         SoapMessage message = (SoapMessage) m;
> >         SoapVersion soapVersion = message.getVersion();
> >         Exchange exchange = message.getExchange();
> >
> >         MessageContentsList parameters =
> > MessageContentsList.getContentsList(message);
> >         ....
> >
> > When checkFaults="true", the var parameters(MessageContentsList) has a
> > List [size=1] with Response object and atributes with some values.
> > When checkFaults="false", the var parameters(MessageContentsList) has a
> > List [size=1] with Response object and atributes to NULL.
> >
> > I thought it was a problem with springframework, but now i don´t now.
> > can anybody help me?
> >
> > Thanks in advance
> > JMPrieto
> >
> >
> >
> >
> >
>



-- 
Colm O hEigeartaigh

Talend Community Coder
http://coders.talend.com

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message