Catching SOAP Exceptions
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 > Catching SOAP Exceptions




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

    Catching SOAP Exceptions  
anand kumar


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


 
08-07-05 01:47 AM

Hi,
I am trying to catch SOAP exception and have been unsuccessful.

I am consuming a web service inside the orchestration and send port binding
is set to specify later. I have set the Delivery Notification property of th
e
send port to Transmitted.

Everything is in a long running scope shape. I have 2 exception blocks.
First exception handler catches DeliveryFailureException and the second
exception handler is general exception. I am trying to write a message to
event log from expression shape of exception handler. It is always going to
general exception block instead of going to SOAP exception block. I am
throwing a fake ASMX URL so that I can catch the SOAP exception and nothing
is happening.

Currently I have not upgraded to SP1, which I will do it later.

Any tips or help is greatly appreciated.

Thanks,
Anand





[ Post a follow-up to this message ]



    RE: Catching SOAP Exceptions  
Stephen W. Thomas


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


 
08-08-05 10:52 PM

Hello.

If I remember correctly, Delivery Notification has a bug
(http://support.microsoft.com/?kbid=840008) that is fixed in SP1.

I have always had the Hotfix so I do not know for sure if you should be able
to catch the exceptions or not.

It sounds like you are doing everything correct though.  I’d try installin
g
SP1 and see if that fixes the problem.

Hope this helps.

Stephen W. Thomas
http://www.biztalkgurus.com

"anand kumar" wrote:

> Hi,
> I am trying to catch SOAP exception and have been unsuccessful.
>
> I am consuming a web service inside the orchestration and send port bindin
g
> is set to specify later. I have set the Delivery Notification property of 
the
> send port to Transmitted.
>
> Everything is in a long running scope shape. I have 2 exception blocks.
> First exception handler catches DeliveryFailureException and the second
> exception handler is general exception. I am trying to write a message to
> event log from expression shape of exception handler. It is always going t
o
> general exception block instead of going to SOAP exception block. I am
> throwing a fake ASMX URL so that I can catch the SOAP exception and nothin
g
> is happening.
>
> Currently I have not upgraded to SP1, which I will do it later.
>
> Any tips or help is greatly appreciated.
>
> Thanks,
> Anand





[ Post a follow-up to this message ]



    RE: Catching SOAP Exceptions  
anand kumar


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


 
08-09-05 10:53 PM

Thanks Stephen.
Instead of using deliveryFailureException, I used SOAPException inside the
catch exception handler and I was able to handle SOAP exceptions.

Thanks,
Anand


"Stephen W. Thomas" wrote:
[vbcol=seagreen]
> Hello.
>
> If I remember correctly, Delivery Notification has a bug
> (http://support.microsoft.com/?kbid=840008) that is fixed in SP1.
>
> I have always had the Hotfix so I do not know for sure if you should be ab
le
> to catch the exceptions or not.
>
> It sounds like you are doing everything correct though.  I’d try install
ing
> SP1 and see if that fixes the problem.
>
> Hope this helps.
>
> Stephen W. Thomas
> http://www.biztalkgurus.com
>
> "anand kumar" wrote:
> 





[ Post a follow-up to this message ]



    Sponsored Links  




 





   All times are GMT. The time now is 05:49 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