Posted: Tue Sep 13, 2005 7:28 am Post subject: Content and Value Validation in a Message Flow
Apprentice
Joined: 12 Dec 2004 Posts: 35
Hai
Requirement:- A SOAP message is received by HTTP InputNode, we need to validate the message and error/exception should be thrown immediatly when the validation fails. A response message is generated and sent to the HTTP Reply Node when the validation is sucessful. If the validation fails then the error response message is constructed and passed to the HTTPReply Node.
Problem:- But the problem is when an input message is not in a correct structure no exception is being thrown while validating. So is there any other way to validate and check the input message against particular messageset. _________________ Kiran_manny
The MRM can definitely do what you require. What have you tried so far?
- Have you modelled your SOAP message using the MRM?
- Are you parsing it in the MRM domain?
- Have you set up the nodes in your message flow to enable validation?
- Have you checked that the message has been parsed correctly ( using a trace node)?
Posted: Wed Sep 14, 2005 2:58 am Post subject: Validating the Incoming Message using Messageset
Disciple
Joined: 30 Sep 2004 Posts: 156
You have do the following things.
1.Create a Messageset as per the structure of the incoming SOAP Message.don't use the messageset that you have created to generate WSDL file.
2.Message properites to set properly. like for every complex type there is a propertie related to validation of incoming Message which has three options like OPEN, OPENDEFINED and CLOSED. you have to specify the exeact make it work.
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