• 1 reply
  • Latest Post - ‏2012-10-30T09:43:37Z by
6 Posts

Pinned topic XMl VALIDATION

‏2012-10-30T05:01:05Z |

i have to validate xml message.But i do not have XSD. So in message model i created xsd with the xml .With this xsd i created message set and try to validate can i resolve this problem . my flow start with http input node . failure and catch terminals of the http input node connected to error handler subflow.but i am not receving the message to subflow.while validating with incorrect xml i am getting following exception.i am using message broker v8.0

?xml version="1.0" encoding="UTF-8"?>
<SOAP-ENV:Envelope xmlns:SOAP-ENV="" xmlns:xsi="" xmlns:xsd="">
<faultstring>BIP3113E: Exception detected in message flow testflow (broker MB8BROKER) </faultstring>
BIP5009E: XML Parsing Errors have occurred

BIP5025E: XML schema validation error &apos;&apos;cvc-complex-type.2.4.a: Expecting element with local name "plancode" but saw "pla".&apos;&apos; on line &apos;1&apos; column &apos;55&apos; when parsing element &apos;&apos;/Root/XMLNSC/publishproducts/products/product/productinfo&apos;&apos;. : F:\build\slot1\S800_P\src\MTI\MTIforBroker\GenXmlParser4\ImbXMLNSCDocHandler.cpp: 702: ImbXMLNSCDocHandler::handleParseErrors: ComIbmWSInputNode: publishproduct#FCMComposite_1_1</text></detail>
Updated on 2012-10-30T09:43:37Z at 2012-10-30T09:43:37Z by
    515 Posts


    This is a question about error handling in HTTP flows, right? You want to know why your error handling subflow is not being called when there is an error in the flow.

    Have you taken a debug-level user trace to find out what the flow is doing - it may give a clue about why it is doing this.