exception handling
Web Server forum
Back To The Forum Home!Search!Private Messaging System

Web Server Talk Web Server Talk > Web Servers reviews > BizTalk Server > BizTalk Server Orchestration > exception handling




  Last Thread   Next Thread Next
  Show Printable Version Email this Page Subscribe to this Thread      Post New Thread    Post A Reply      

    exception handling  
Muhammad Omer [Xavor]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-03-04 03:56 PM

Hi
I am using the SQL adapter that comes out of the box with Biztalk 2004. I
expect an error on certain conditions when the adapter is invoked. From
within the orchestration, I need to be able to deal with the specific
exception that is generated.
I have tried catching System.Exception and general exception but both return
a SOAPException instance which contains very little (and that too
unstructured) information about the errors within teh adapter.
Am I doing something wrong? Are there any specific fault messages that are
returned that I am missing ?
Regards
Omer







[ Post a follow-up to this message ]



    RE: exception handling  
David Stucki [MSFT]


View Ip Address Report This Message To A Moderator Edit/Delete Message


 
06-30-04 10:55 PM

SoapException has a Detail property that gives you an XmlNode with more
information.

The XML looks like this when the FILE Adapter fails:

<detail>
<ns0:NACK Type="NACK"
xmlns:ns0="http://schema.microsoft.com/BizTalk/2003/NACKMessage.xsd">
<NAckID>{345FC0F1-8475-4112-AF3C-1C9126CDA7A8}</NAckID>
<ErrorCode>0xc0c01c10</ErrorCode>
<ErrorCategory>0</ErrorCategory>
<ErrorDescription>The FILE send adapter cannot open file
c:\temp1\out\{1BE206FE-798B-49ED-9333-AD510A19A2DF}.xml for
writing.</ErrorDescription>
</ns0:NACK>
</detail>

David Stucki
This posting is provided "AS IS" with no warranties and confers no rights.






[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 12:35 AM.      Post New Thread    Post A Reply      
  Last Thread   Next Thread Next


Most Popular forums 

Forum Jump:
Rate This Thread:

Forum Rules:
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts
HTML code is OFF
vB code is ON
Smilies are ON
[IMG] code is OFF
 
Medical and Health forum | Computer Games Reviews | Graphics design forum

Back To The Top
Home | Usercp | Faq | Register