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 » SwA - MIME parser does not detect parts

Post new topic  Reply to topic
 SwA - MIME parser does not detect parts « View previous topic :: View next topic » 
Author Message
mmunaro
PostPosted: Tue Nov 07, 2006 1:09 pm    Post subject: SwA - MIME parser does not detect parts Reply with quote

Newbie

Joined: 28 May 2002
Posts: 2

Hello! I have a flow that will receive a soap message similar to this one:
MIME-Version: 1.0
Content-type: multipart/related; boundary=frontier; type=text/xml

------frontier
Content-Type: text/xml; charset=utf-8
<?xml version='1.0' ?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="http://schemas.xmlsoap.org/soap/envelope/"><SOAP-ENV:Header/>
<SOAP-ENV:Body><envelope>
<service>string</service>
<monto>int</monto>
<riesgo>int</riesgo></envelope></SOAP-ENV:Body></SOAP-ENV:Envelope>
------frontier
Content-Type: text/plain
Content-ID: file25

mmmmmmmmmmmm

------frontier--

I am tring to obtain the parts using the following ESQL as I found in this forum:
-- The SOAP message
CREATE LASTCHILD OF Environment.MessageTree1 DOMAIN 'MRM'
parse(InputRoot.MIME.Parts.Part[1].Data.BLOB.BLOB

But I always get an error here. I added a Trace node between the HTTP Input and the Compute node and this is my Root (I've deleted part of the blob value so it won't take up that much space here)
*Root-
(
(0x01000000):Properties = (
(0x03000000):MessageSet = ''
(0x03000000):MessageType = ''
(0x03000000):MessageFormat = ''
(0x03000000):Encoding = 546
(0x03000000):CodedCharSetId = 1208
(0x03000000):Transactional = FALSE
(0x03000000):Persistence = FALSE
(0x03000000):CreationTime = GMTTIMESTAMP '2006-11-07 21:58:05.152'
(0x03000000):ExpirationTime = -1
(0x03000000):Priority = 0
(0x03000000):ReplyIdentifier = X'000000000000000000000000000000000000000000000000'
(0x03000000):ReplyProtocol = 'SOAP-HTTP'
(0x03000000):Topic = NULL
(0x03000000):ContentType = 'text/xml'
)
(0x01000000):HTTPInputHeader = (
(0x03000000):X-Original-HTTP-Command = 'POST http://localhost/caso2p5 HTTP/1.1'
(0x03000000):Host = 'localhost'
(0x03000000):Content-Length = '1309'
(0x03000000):Content-Type = 'text/xml'
(0x03000000):Connection = 'close'
)
(0x01000000):MIME = (
(0x03000000):Content-Type = 'text/xml'
(0x01000000):Data = (
(0x01000000):BLOB = (
(0x03000000):BLOB = X'6726f66965722d2d0a'
)
)
)
)
*LocalEnvironment-
(
(0x01000000):Destination = (
(0x01000000):HTTP = (
(0x03000000):RequestIdentifier = X'414d51205742524b365f44454641554c3ef2504520001906'
)
)
)

Does anybody have an idea what might be wrong?
TIA
Back to top
View user's profile Send private message Send e-mail Yahoo Messenger MSN Messenger
accosun
PostPosted: Wed Nov 08, 2006 2:42 am    Post subject: Reply with quote

Apprentice

Joined: 20 Dec 2001
Posts: 45
Location: Moscow

Check the fomat of your SOAP message. Do not forget about CR/LF at the end of the message
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » SwA - MIME parser does not detect parts
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.