In an orchestration (BizTalk 2010), we receive an xml message, validate the message against a schema, and perform schematron (content) validation as well. Our orchestration is exposed via a WCF service. Our validation routines are able to capture all validation errors, which we want to return via a soap fault containing all the validation errors. Additionally, we want the orchestration to complete normally, even in the case of validation errors (no suspended messages). How can we go about doing this?
How to return a soap fault with content from an orchestration?
1k Views Asked by Jeremy At
2
There are 2 best solutions below
0
Bikal Lem
On
If you want to use normal soap fault then then all you need to do is add soap fault message part to the receive port. In your orchestration do the validation and if it fails then construct a soap fault message and send that message instead of the normal result.
You will probably need to do the above within a scope so that you can handle exceptions and let the orchestration terminate gracefully.
Related Questions in BIZTALK
- BizTalk Server - Can't configure Groups
- Looping functoid, Mapping
- How to setup Hybrid Connection's secondary connection-string in Azure
- Biztalk: Side-by-Side Versioning in different Applications
- Schema error with Azure BizTalk Services EDI Bridge
- Timeout in two-way receive port when redirecting failed messages
- BizTalk file Archive
- BizTalk and COM+
- Biztalk mapping with namespace prefix
- SQL to resume suspended messages in order
- BAM can configure only Analysis Services 2005 or 2008
- "50400: Gateway Timeout." in BizTalk services for large XML files
- cannot retrive a document specification using this name
- How handle a non-resumable ordered delivery send port
- Why would the TrackedMessages_Copy_BizTalkMsgBoxDb start failing with "Query processor could not produce a query plan"?
Related Questions in BIZTALK-2010
- BAM can configure only Analysis Services 2005 or 2008
- Why would the TrackedMessages_Copy_BizTalkMsgBoxDb start failing with "Query processor could not produce a query plan"?
- Error in Biztalk Expression Editor
- Can you use a NLB address in a MSMQ call?
- Retrieving the time stamp of the received message
- Parallel shapes in BizTalk Server
- FileCreationTime and System Time are different
- Data loss when returning Serializable object to biztalk
- Message does not contain a part with name MSHSegment
- Biztalk 2010, ADFS and CRM 2011 on premises
- Orphaned service instances
- Biztalk Server 2010 application deployment with partial bindings
- BizTalk 2010 - Create acknowledgements
- How to correlate service instances in biztlk queries?
- Processing Empty Files in BizTalk 2010
Related Questions in BIZTALK-ORCHESTRATIONS
- Message not being picked up from onRamp WCF type send port in BizTalk
- Retrieving the time stamp of the received message
- Parallel shapes in BizTalk Server
- FileCreationTime and System Time are different
- BizTalk sending message to Webservice without mapping
- BizTalk SFTP Adapter can send but not recieve files and FileZilla on Client connects
- Generate delta from new message and old/previous message biztalk
- How to persist BizTalk orchestration before send shape - for resending
- Biztalk Orchestration reverse engineer
- Create different orchestration with different receive location
- Error while importing the Binding FIles
- Using BizTalk Web Service to re-publish an internal Web Service
- Using BizTalk 2010 to retrieve data from an OracleDB
- Handling Exceptions in Biztalk which don't get caught by Scope shape
- Debug an orchestration in biztalk 2010
Related Questions in BIZTALK-WCF
- BizTalk 2010 WCF-BasicHTTP SendPort takes a long time
- Calling a web/wcf service from orchestration: adding a generated item vs adding service reference
- Disable/block BizTalk WCF Send Port during high volume
- How to return a soap fault with content from an orchestration?
- BizTalk WCF Adapter For Nonconforming Service
- BizTalk sending custom WCF headers with message level security
- Call a multi-parameter web service with BizTalk WCF adapter
- BizTalk is sending request to WCF service and WCF service request with NULL fields in object
- Programmatically define WCF-BasicHttp/WCF-WSHttp setting while consuming WCF service in BizTalk orchestration
Trending Questions
- UIImageView Frame Doesn't Reflect Constraints
- Is it possible to use adb commands to click on a view by finding its ID?
- How to create a new web character symbol recognizable by html/javascript?
- Why isn't my CSS3 animation smooth in Google Chrome (but very smooth on other browsers)?
- Heap Gives Page Fault
- Connect ffmpeg to Visual Studio 2008
- Both Object- and ValueAnimator jumps when Duration is set above API LvL 24
- How to avoid default initialization of objects in std::vector?
- second argument of the command line arguments in a format other than char** argv or char* argv[]
- How to improve efficiency of algorithm which generates next lexicographic permutation?
- Navigating to the another actvity app getting crash in android
- How to read the particular message format in android and store in sqlite database?
- Resetting inventory status after order is cancelled
- Efficiently compute powers of X in SSE/AVX
- Insert into an external database using ajax and php : POST 500 (Internal Server Error)
Popular Questions
- How do I undo the most recent local commits in Git?
- How can I remove a specific item from an array in JavaScript?
- How do I delete a Git branch locally and remotely?
- Find all files containing a specific text (string) on Linux?
- How do I revert a Git repository to a previous commit?
- How do I create an HTML button that acts like a link?
- How do I check out a remote Git branch?
- How do I force "git pull" to overwrite local files?
- How do I list all files of a directory?
- How to check whether a string contains a substring in JavaScript?
- How do I redirect to another webpage?
- How can I iterate over rows in a Pandas DataFrame?
- How do I convert a String to an int in Java?
- Does Python have a string 'contains' substring method?
- How do I check if a string contains a specific word?
See Using SOAP Headers, specifically, SOAP Headers with Published Web Services.