Question

5
Replies
519
Views
Close popover
Prasad Yoganarasimha (Prasad_BY)
UnitedHealth Group
Senior Software Engineer
UnitedHealth Group
US
Prasad_BY Member since 2014 12 posts
UnitedHealth Group
Posted: November 30, 2015
Last activity: December 1, 2015
Closed
Solved

Can we have multiple attachments in SOAP request?

We are having a Service SOAP exposed from PEGA and we are required to receive multiple attachments in Service SOAP.

I am able to successfully attach one file and test it from SOAP UI. The file information is available in pyRequestAttachmentPage

However when I try to attach multiple files and test from SOAP UI, the service is failing as below:

<soap:Envelope xmlns:soap="http://schemas.xmlsoap.org/soap/envelope/" xmlns:soapenc="http://schemas.xmlsoap.org/soap/encoding/" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xmlns:xsd="http://www.w3.org/2001/XMLSchema">

   <soap:Body>

      <soap:Fault>

         <faultcode>soap:Server</faultcode>

         <faultstring>Caught exception parsing XML stream</faultstring>

      </soap:Fault>

   </soap:Body>

</soap:Envelope>

Is there any way we can have multiple attachments being processed in Service SOAP? Should we configure anything in the Service or some PEGA files like prConfig.xml etc?

We are using PEGA 7.1.8 version. Any help in this regard will be highly appreciated.

Data Integration
Moderation Team has archived post