cxf-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Yuriy Halytskyy (JIRA)" <>
Subject [jira] Commented: (CXF-2309) client gets extra <return> tags with org.w3c.dom.Document result
Date Mon, 22 Jun 2009 21:26:07 GMT


Yuriy Halytskyy commented on CXF-2309:

Yes, it should, but I expect those tags to be removed when the user of web service gets the
result. I updated the attachment to demonstrate the point:

extra method getExampleString() returns a string; but the client is not getting <return>string</return>
or anything like that, it is getting what was sent. (Even though the message contains <return>,
those get removed).  So when I use

System.out.println(result_converted_to_string), the result of that should be




Using bare mode works, but it does not let me send multiple arguments (method add does not
work when SOAPBinding annotation is used). 

The same problem when I send xml to server. Server gets <arg0>...</arg0> result.

Hope the description is clear now.

> client gets extra <return> tags with org.w3c.dom.Document result
> ----------------------------------------------------------------
>                 Key: CXF-2309
>                 URL:
>             Project: CXF
>          Issue Type: Bug
>          Components: Aegis Databinding
>    Affects Versions: 2.2.2
>         Environment: tried on both Ubuntu  9.04 and CentOS 5.3,
> java 6
>            Reporter: Yuriy Halytskyy
>         Attachments: test_cxf.tar.gz
> web service client de-serializes   org.w3c.dom.Document  with extra <return> tags.

> i.e. result of getExampleDocument() should be <node>test</node> but the client
gets  <return><node>test</node><return>
> The message that server sends is 
> <soap:Envelope xmlns:soap="">
> <soap:Body>
> <ns1:getExampleDocumentResponse xmlns:ns1="">
> <return><node>test</node></return></ns1:getExampleDocumentResponse>
> </soap:Body></soap:Envelope>

This message is automatically generated by JIRA.
You can reply to this email to add a comment to the issue online.

View raw message