[
https://issues.apache.org/jira/browse/CXF-7861?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
yagnya dutta dhal updated CXF-7861:
-----------------------------------
Issue Type: Bug (was: Test)
> getting IllegalEmptyResponseException in ClientImpl class
> ---------------------------------------------------------
>
> Key: CXF-7861
> URL: https://issues.apache.org/jira/browse/CXF-7861
> Project: CXF
> Issue Type: Bug
> Environment: CXF 3.2.6
> JAVA 1.8
> WSS4J 2.2.2
> Reporter: yagnya dutta dhal
> Priority: Major
>
> Hi,
> After debugging a lot I found out following exception in
> processresult method of ClientImpl class.
> *org.apache.cxf.endpoint.ClientImpl$IllegalEmptyResponseException: Response
> message did not contain proper response data. Expected:
> \{urn:oasis:names:tc:ebxml-regrep:xsd:rs:3.0}RegistryResponse*
>
> *GIT link- https://github.com/yagnyadutta/wss4jpoc/tree/master/wss4jtest*
> +*code snippet from ClientImpl*+
> if (ex != null) {
> throw ex;
> } else {
> if (resList == null && oi != null && !oi.getOperationInfo().isOneWay()) {
> BindingOperationInfo boi = oi;
> if (oi.isUnwrapped()) {
> boi = oi.getWrappedOperation();
> }
> if (!boi.getOutput().getMessageParts().isEmpty()) {
> throw new ClientImpl.IllegalEmptyResponseException("Response message did not
> contain proper response data. Expected: " +
> ((MessagePartInfo)boi.getOutput().getMessageParts().get(0)).getConcreteName());
> }
> }
> return resList != null ? resList.toArray() : null;
> }
> This is coming after upgrading CXF to 3.2.6 from CXF2.7.6
> Please do suggest if anything I'm missing in upgradation.
> Thanks,
> Yagnya
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)