Posted: Tue Nov 07, 2006 1:09 pm Post subject: SwA - MIME parser does not detect parts
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
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
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