search cancel

SOAP Request from PX policy fails

book

Article ID: 216366

calendar_today

Updated On:

Products

CA Identity Suite

Issue/Introduction

A customer is planning to integrate with PeopleSoft Finance 9.2

As part of this integration, they have to make a web service call to PeopleSoft Finance from a Policy Xpress.

When this PX policy gets executed, it is failing with below exceptions. However, it successfully creates required data on the PeopleSoft side.

Caused by: org.apache.cxf.binding.soap.SoapFault: Error reading XMLStreamReader.

        at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:140)

        at org.apache.cxf.binding.soap.saaj.SAAJInInterceptor$SAAJPreInInterceptor.handleMessage(SAAJInInterceptor.java:102)

        at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:272)

        ... 88 more

Caused by: com.ctc.wstx.exc.WstxEOFException: Unexpected EOF in prolog

at [row,col {unknown-source}]: [1,0]

        at com.ctc.wstx.sr.StreamScanner.throwUnexpectedEOF(StreamScanner.java:677)

        at com.ctc.wstx.sr.BasicStreamReader.handleEOF(BasicStreamReader.java:2139)

        at com.ctc.wstx.sr.BasicStreamReader.nextFromProlog(BasicStreamReader.java:2045)

        at com.ctc.wstx.sr.BasicStreamReader.next(BasicStreamReader.java:1134)


Environment

Release : 14.x

Component : CA IDENTITY SUITE (VIRTUAL APPLIANCE)

Cause

Web service does not return SOAP response body.

Resolution

IDM is using 3rd party library which is used by application server. And this 3rd party library is throwing an exception because it always expects SOAP response.

There is no workaround, SOAP response body must not be empty.