I wanted to send a multipart/related content using the HTTP Post operator in CA ITPAM, but in the c2o.log I got the following error:
2016-02-23 19:58:00,120 SEVERE [javax.xml.messaging.saaj.soap] [0.220.65-8080-8] SAAJ0535: Unable to internalize message
2016-02-23 19:58:00,120 ERROR [com.ca.pam.soap.ItpamSoapUtil] [0.220.65-8080-8] Unable to build soap Envalop from request
com.sun.xml.messaging.saaj.SOAPExceptionImpl: Unable to internalize message
Caused by: java.lang.Exception: Missing Start Boundary, or boundary does not start on a new line
... 33 more
java.lang.Exception: Missing Start Boundary, or boundary does not start on a new line
Following, an example of the message I want to send:
Content-Type: text/xml; charset=utf-8
<?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance">
The HTTP Post operator has the following headers:
Should I update the saaj.api and saaj.impl used by CA ITPAM to make it work?
Thanks so much in advance for your help.
I am not finding any cases where we have tried updating the saaj.api and saaj.impl for ITPAM. But I did find an article stating this is the solution:
I would make sure to backup any files you modify.
Sanaa, did you try what Andrew suggested? Could you let us know if it helped?
No, I didn't try it. I'll use it as a last resort.