IT Process Automation

 View Only
Expand all | Collapse all

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

Jump to Best Answer
  • 1.  CAITPAM: Missing Start Boundary, or boundary does not start on a new line

    Posted Feb 23, 2016 02:25 PM

    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.



  • 2.  Re: CAITPAM: Missing Start Boundary, or boundary does not start on a new line
    Best Answer

    Broadcom Employee
    Posted Feb 25, 2016 08:57 AM

    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:

     

    https://community.oracle.com/thread/1628376?start=0

     

    I would make sure to backup any files you modify.



  • 3.  Re: CAITPAM: Missing Start Boundary, or boundary does not start on a new line

    Community Manager
    Posted Feb 29, 2016 11:19 AM

    Sanaa, did you try what Andrew suggested? Could you let us know if it helped?



  • 4.  Re: CAITPAM: Missing Start Boundary, or boundary does not start on a new line

    Posted Mar 01, 2016 07:59 AM

    No, I didn't try it. I'll use it as a last resort.