AnsweredAssumed Answered

CAITPAM: Missing Start Boundary, or boundary does not start on a new line

Question asked by A.anas on Feb 23, 2016
Latest reply on Mar 1, 2016 by A.anas

Hi team,

 

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

  at com.sun.xml.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:506)

  ...

Caused by: java.lang.Exception: Missing Start Boundary, or boundary does not start on a new line

  at com.sun.xml.messaging.saaj.packaging.mime.internet.BMMimeMultipart.getNextPart(BMMimeMultipart.java:268)

  at com.sun.xml.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:460)

  ... 33 more

CAUSE:

java.lang.Exception: Missing Start Boundary, or boundary does not start on a new line

  at com.sun.xml.messaging.saaj.packaging.mime.internet.BMMimeMultipart.getNextPart(BMMimeMultipart.java:268)

  at com.sun.xml.messaging.saaj.soap.MessageImpl.init(MessageImpl.java:460)

 

Following, an example of the message I want to send:

--Part_0_21356612.1191939936638

Content-Type: text/xml; charset=utf-8

Content-ID: <1>

<?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">

<SOAP-ENV:Header/>... </SOAP-ENV:Envelope>

--Part_0_21356612.1191939936638

Content-Type: application/octet-stream

Content-Transfer-Encoding: base64

Content-ID: <2>

H4sICIWXqFYCCzQwMzMxOC5maWxlVG9Fbm...

--Part_0_21356612.1191939936638--

 

The HTTP Post operator has the following headers:

  • Content-Type: "multipart/related"
  • boundary: "Part_0_21356612.1191939936638"
  • start: "<1>"
  • start-info: "text/xml"

 

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.

Outcomes