[ 
https://issues.apache.org/jira/browse/CXF-2353?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12734608#action_12734608
 ] 

Sergey Beryozkin commented on CXF-2353:
---------------------------------------

Hi Peter

the problem with some of those tests is that they do the string comparison, 
ideally they'd need to be converted to use restful client api.

Can you please just update 3 specific tests to this one  :

WebClient client = WebClient.create(endpointAddress, 
Collections.singletonList(new AegisElementProvider()));
Book book = client.accept("application/xml").get(Book.class);
// check book fields

the 4th test reads directly from the socket, just update it to check for the 
oocurence of some string, that test is more about checking that an arbitrary 
HTTP method can be supported

thanks, Sergey

> JAXRSClientServerSpringBookTest systest failure with ibm jdk
> ------------------------------------------------------------
>
>                 Key: CXF-2353
>                 URL: https://issues.apache.org/jira/browse/CXF-2353
>             Project: CXF
>          Issue Type: Bug
>         Environment: ibm jdk 5
>            Reporter: Peter Jones
>
> Four of the tests in JAXRSClientServerSpringBookTest check for a specific 
> string contained in expected_add_book_aegis.txt:
> <ns1:Book xmlns:ns1="http://jaxrs.systest.cxf.apache.org"; 
> xmlns:ns2="http://www.w3.org/2001/XMLSchema-instance"; 
> ns2:type="ns1:Book"><ns1:id>124</ns1:id><ns1:name>CXF in Action - 
> 2</ns1:name></ns1:Book>
> however, with the ibm jdk 5, the order of the id and name elements are 
> switched in the actual result.  I'll update the test to check for a different 
> expected result when using the ibm jdk, unless of course someone suggests 
> that the ordering should be of any significance here.

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

Reply via email to