ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Simple MIME Experiment

Post new topic  Reply to topic
 Simple MIME Experiment « View previous topic :: View next topic » 
Author Message
rossired
PostPosted: Thu Mar 02, 2006 10:53 am    Post subject: Simple MIME Experiment Reply with quote

Novice

Joined: 22 Feb 2006
Posts: 22

Hi all,

Just was playing around with a flow using the MIME parser. I copied the message that was in the infocenter to be used as input ( copied below ) and I get the following error:

Unexpected end of data at line 36.

The data may have been truncated or a MIME boundary delimiter or header block separator may be missing.

Here's the message:

MIME-Version: 1.0
Content-Type: Multipart/Related; boundary=MIME_boundary; type=text/xml
Content-Description: Optional description of message.

Optional preamble text
--MIME_boundary
Content-Type: text/xml; charset=UTF-8
Content-Transfer-Encoding: 8bit
Content-ID: <rootpart@example.com>

<?xml version='1.0' ?>
<SOAP-ENV:Envelope
xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/">

<SOAP-ENV:Header xmlns:ins="http://myInsurers.com">
<ins:ClaimReference>abc-123</ins:ClaimReference>
</SOAP-ENV:Header>

<SOAP-ENV:Body xmlns:ins="http://myInsurers.com">
<ins:SendClaim>
<ins:ClaimDetail>...............</ins:ClaimDetail>
<ins:ClaimPhoto>
<href>cid:claimphoto@example.com</href>
</ins:ClaimPhoto>
</ins:SendClaim>
</SOAP-ENV:Body>

</SOAP-ENV:Envelope>


--MIME_boundary


Any Ideas ?


THanks
Vale
Back to top
View user's profile Send private message
mqmatt
PostPosted: Fri Mar 03, 2006 1:41 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Make sure you've got a new line after your final delimiter; according to http://publib.boulder.ibm.com/infocenter/wmbhelp/v6r0m0/index.jsp?topic=/com.ibm.etools.mft.doc/ac30080_.htm
your boundary delimiters must end in <CR><LF>.
Back to top
View user's profile Send private message
robhenley
PostPosted: Fri Mar 03, 2006 2:05 am    Post subject: Reply with quote

Newbie

Joined: 03 Mar 2006
Posts: 5

Final delimiter should be --MIME_boundary--
_________________
Rob
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Simple MIME Experiment
Jump to:  



You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.