Peter,

I tried to write a test case for CXF but so far I was unable to
replicate the problem. From what I can tell so far even though I set
the following in my  *Destination class:

message.setContent(OutputStream.class, response.getOutputStream());

The stream gets closed but nothing gets written to it. Can I turn on
some logging, etc. that would help you to debug this problem?

Thanks,
Jarek

On 2/17/07, Peter Jones <[EMAIL PROTECTED]> wrote:

Hi Jarek,

On Fri, Feb 16, 2007 at 10:10:22PM -0500, Jarek Gawor wrote:
> Hi,
>
> In the last few days something has changed in CXF that caused
> invocations to stop working in Geronimo. I mean, the service got
> invoked ok but the HTTP response from the service was empty. I tracked
> relevant changes to the following classes:
>
> 
http://svn.apache.org/viewvc/incubator/cxf/trunk/rt/frontend/jaxws/src/main/java/org/apache/cxf/jaxws/handler/soap/

This addition in revision 507355 of SOAPMessageContentImpl looks like it
could be a little suspicious to me:

    SoapVersion soapVersion = ((SoapMessage)getWrappedMessage()).getVersion();

    if (soapVersion == null) {
        soapVersion = Soap11.getInstance();
    }
    soapVersion = ((SoapMessage)getWrappedMessage()).getVersion();
    [...]
    if (soapVersion.getVersion() == 1.1) {

but I don't know if that could cause the problem you are seeing.  Do you
have a test case you could send in?  That would definitely help us track
down what the issue might be more quickly.

Cheers,
Peter

> After I switched both classes to their previous revisions the
> invocations started to work just like before.
>
> I was wondering if somebody can take a look at it. We are shooting for
> a milestone release of Geronimo next week and would be good to have
> basic invocations working right.
>
> Thanks,
> Jarek

--
Peter Jones
IONA Technologies Inc.
E-Mail: mailto:[EMAIL PROTECTED]
Tel: (w) 709-738-3725 x22 | Fax: 709-738-3745
84-86 Elizabeth Ave. St. John's, NL A1A 1W7 Canada

Reply via email to