Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Software > Biz Talk SDK > Http Receive an...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 590 of 642
Post > Topic >>

Http Receive and getting schema validation errors back to the message sender

by Craig <vermeeca@[EMAIL PROTECTED] > Sep 25, 2007 at 06:28 AM

All -

Sorry for the duplicate post with the one in the general biztalk group
-- I didn't realize that this newsgroup existed until now.

I have a requirement (well, a strong want actually) to be able to
perform schema validation on an message coming into BizTalk 2004
through an HTTP receive ****t, and if that schema validation fails to
send that schema validation error back to the sender of the message
as
the HTTP response.


I've tried a couple different approaches, without much success:
1.) Standard HTTP Receive ****t, one-way receive -- Doesn't seem to
work -- I don't think that the adapter even returns a 500 response if
the validation fails - just a 202, I believe.
2.) Standard HTTP Receive, request/response w/ Aenabled - I can get a
500 response back from the receive ****t when schema validation fails,
but getting the actual validation message (I.E element x is required,
etc) back to the client doesn't seem possible.


I also tried experimenting with a custom adapter, starting with the
ASP.NET Http Receive adapter in the SDK Samples.


3.) Custom HTTP Adapter, one-way receive : Within the adapter SDK I
can get an event when the message being submitted is suspended, but
when I try to retrieve the reason for suspension (via GetErrorInfo
method on the IBaseMessage object representing the suspended message)
all I get is a BT***ception, with the text 'An Exception of type
BT***ception was thrown' -- come on!

It seems to me this approach *should* be the correct one, as I can get
notification within the adapter of the message being suspended, and I
can call GetErrorInfo() on the message being suspended to supposedly
get the reason for the message suspension.  However, the Exception
returned from GetErrorInfo just isn't returning any useful info.  Is
this a bug in the SDK or in the Adapter Framework for 2004?


4.) Custom HTTP Adapter, request/response w/loopback : WIth this
configuration, the response message never seems to make it back, and
the client eventually times out.


Am I missing something here?
 




 1 Posts in Topic:
Http Receive and getting schema validation errors back to the me
Craig <vermeeca@[EMAIL  2007-09-25 06:28:41 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Sat Nov 22 6:51:10 CST 2008.