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

Veeksha A V edited comment on CXF-8452 at 4/12/21, 10:45 AM:
-------------------------------------------------------------

Hi [~ffang],

 

The soap messages returned is as below -  for both 
IllegalEmptyResponseException is thrown. 

First one i can understand soapBody is empty but second its not the case.

1) Soap Request 1

{{```}}
 \{{}}

<?xml version="1.0" encoding="utf-8" ?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>

<soap:Header 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";><wsa:Action>urn:getInactiveVersion</wsa:Action>

<wsa:ReplyTo>

<wsa:Address>[http://www.w3.org/2005/08/addressing/anonymous]</wsa:Address>

</wsa:ReplyTo>

<wsa:MessageID>uuid:e5d3cfac-19e7-4423-a003-7ae7c39dd72a</wsa:MessageID><wsa:To>[https://server/xxxxxx/xxxxxx/VersionService]</wsa:To>

</soap:Header>

<soap:Body/>

</soap:Envelope>

```

2) Soap Request 2

```

<?xml version="1.0" encoding="utf-8" ?>
 <soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
 <soap:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
 <wsa:Action>urn:startUpgrade</wsa:Action>
 <wsa:ReplyTo>
 <wsa:Address>[http://www.w3.org/2005/08/addressing/anonymous]</wsa:Address>
 </wsa:ReplyTo>
 <wsa:MessageID>uuid:1c77f92b-4832-4813-a0a1-87c0efc421f0</wsa:MessageID>
 
<wsa:To>[https://server/platform-services/services/StartUpgradeService]</wsa:To>
 </soap:Header>
 <soap:Body><startUpgrade xmlns="http://services.xxx.xxxx.xxx.xxx.xxx"; 
xmlns:ns2="http://api.xxxx.xxxx.xxx.xxx/xsd"; 
xmlns:ns3="http://element.services.api.xxx.xxx.xxx.xxx/xsd";><args0>1</args0></startUpgrade></soap:Body>
 </soap:Envelope>

```

 

Thanks

Veeksha


was (Author: vevasant):
Hi [~ffang],

 

The soap messages returned is as below -  for both 
IllegalEmptyResponseException is thrown. 

First one i can understand soapBody is empty but second its not the case.

1) Soap Request 1

{{```}}
{{}}

<?xml version="1.0" encoding="utf-8" ?>

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>

<soap:Header 
xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";><wsa:Action>urn:getInactiveVersion</wsa:Action>

<wsa:ReplyTo>

<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>

</wsa:ReplyTo>

<wsa:MessageID>uuid:e5d3cfac-19e7-4423-a003-7ae7c39dd72a</wsa:MessageID><wsa:To>https://server/xxxxxx/xxxxxx/VersionService</wsa:To>

</soap:Header>

<soap:Body/>

</soap:Envelope>

```

2) Soap Request 2

```

<?xml version="1.0" encoding="utf-8" ?>
<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/";>
<soap:Header xmlns:wsa="http://schemas.xmlsoap.org/ws/2004/08/addressing";>
<wsa:Action>urn:startUpgrade</wsa:Action>
<wsa:ReplyTo>
<wsa:Address>http://www.w3.org/2005/08/addressing/anonymous</wsa:Address>
</wsa:ReplyTo>
<wsa:MessageID>uuid:1c77f92b-4832-4813-a0a1-87c0efc421f0</wsa:MessageID>
<wsa:To>https://server/platform-services/services/StartUpgradeService</wsa:To>
</soap:Header>
<soap:Body><startUpgrade xmlns="http://services.xxx.xxxx.xxx.xxx.xxx"; 
xmlns:ns2="http://api.xxxx.xxxx.xxx.xxx/xsd"; 
xmlns:ns3="http://element.services.api.xxx.xxx.xxx.xxx/xsd";><args0>1</args0></startUpgrade></soap:Body>
</soap:Envelope>

```

> Upgrade of cxf to version greater than 3.2.2 resulting in SOAPFaultException
> ----------------------------------------------------------------------------
>
>                 Key: CXF-8452
>                 URL: https://issues.apache.org/jira/browse/CXF-8452
>             Project: CXF
>          Issue Type: Test
>            Reporter: Veeksha A V
>            Assignee: Freeman Yue Fang
>            Priority: Major
>
> We are trying to upgrade apache cxf in our components to 3.4.1 , when 
> upgraded we are ending up with runtime exception below : 
> ```
> javax.xml.ws.soap.SOAPFaultException, message: Response message did not 
> contain proper response data.
> Caused by: org.apache.cxf.endpoint.ClientImpl$IllegalEmptyResponseException: 
> Response message did not contain proper response data.
> ```
> Got to know this is because of this checkin: 
> [https://github.com/apache/cxf/commit/1396f046333108ec0e7819bf4de154505ff4564c,|https://github.com/apache/cxf/commit/1396f046333108ec0e7819bf4de154505ff4564c]
> Needed help in understanding why is it so and how can we overcome it.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)

Reply via email to