Posted: Thu Feb 26, 2004 8:28 am Post subject: Validating SOAP message ?
Apprentice
Joined: 20 Dec 2001 Posts: 47
Hello
I'm quite confused how I could validate the incoming (from HTTPInput node) SOAP messages, or problem is it possible to descripe the SOAP format in MRM domain at all ?
I imported the SOAP Envelope schema file as Message Definition File first, but the MRM parser then complains the namespace usage in SOAP message when HTTPInput node receives SOAP call, like:
" (0x03000000):Line = 464
(0x03000000):Function = 'MtiImbFIHandler::startMessageContent'
(0x03000000):Type = ''
(0x03000000):Name = ''
(0x03000000):Label = ''
(0x03000000):Text = 'FI Handler Error: The Message ID that was received from the worker was not the same as the ID Previously specified.'
(0x03000000):Catalog = 'BIPv500'
(0x03000000):Severity = 3
(0x03000000):Number = 5337
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'soapenv:Envelope'
)
(0x01000000):Insert = (
(0x03000000):Type = 5
(0x03000000):Text = 'Envelope'
)
"
Should the namespace's that are used also be descriped in message definition file somehow ?
The wierd thing was also that when I tried to import the SOAP Envelope schema file again, then it started to complain that it contains list Simple Type Definition which is not supported (I wonder why it didnt complain that at the first import time).
Hmm, again I should study little bit more before writing post. One solution to this SOAP validation problem is descriped in "HTTP Technology for Web Services", .pdf document (sample 3, scenario 2)
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