ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » General Discussion » error handling in webservices

Post new topic  Reply to topic
 error handling in webservices « View previous topic :: View next topic » 
Author Message
velsin
PostPosted: Thu Mar 24, 2005 9:58 am    Post subject: error handling in webservices Reply with quote

Novice

Joined: 04 Mar 2005
Posts: 24

configuration:

wsad IE-windows XP
Process choreographer
web services:WSDL

1]am trying to invoke webservices using WSDL which throw java exception. to handle these errors am trying to have alternate flows to capture these faults.

is this the right way of doing?

2]whats the best way to handle the java exceptions in Websphere WorkFlow, if UPES is used to invoke the services.?


Please suggest any docs.

Thanks.
Back to top
View user's profile Send private message
JLRowe
PostPosted: Thu Mar 24, 2005 1:00 pm    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

An exception in your java class should be picked up as a fault, your process model can specify fault handlers at different levels to pick up these faults and deal with them.

Workflow allows you to pass back a return code, use this to indicate an exception occurred.
Back to top
View user's profile Send private message Send e-mail
velsin
PostPosted: Thu Mar 24, 2005 1:51 pm    Post subject: Reply with quote

Novice

Joined: 04 Mar 2005
Posts: 24

Quote:
your process model can specify fault handlers at different levels to pick up these faults and deal with them.


->Can you suggest me , how to specify fault handlers and to deal with them.

Quote:
Workflow allows you to pass back a return code, use this to indicate an exception occurred.


->In workFlow,Using this RC,can i call alternate flows.

Appreciate help.

Thanks.[/quote]
Back to top
View user's profile Send private message
JLRowe
PostPosted: Fri Mar 25, 2005 12:26 pm    Post subject: Reply with quote

Yatiri

Joined: 25 May 2002
Posts: 664
Location: South East London

http://www-106.ibm.com/developerworks/webservices/library/ws-bpelcol6/

The article explains fault handling using BPEL, also compensation. Most of this also applies to the BPEL engine in WPC.

For workflow, ask on the workflow forum about patterns for exception handling, they're a great bunch.
Back to top
View user's profile Send private message Send e-mail
velsin
PostPosted: Fri Mar 25, 2005 5:31 pm    Post subject: Reply with quote

Novice

Joined: 04 Mar 2005
Posts: 24

Thanks for the info..
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » General Discussion » error handling in webservices
Jump to:  



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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.