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 » WebSphere Message Broker (ACE) Support » Generate User defined SOAP Fault

Post new topic  Reply to topic
 Generate User defined SOAP Fault « View previous topic :: View next topic » 
Author Message
anpati1
PostPosted: Sun Jun 24, 2007 6:00 am    Post subject: Generate User defined SOAP Fault Reply with quote

Novice

Joined: 07 Jun 2007
Posts: 24
Location: Marlow, UK

Hi,

My message flow structure-exposed as a webservice- is as below:
httpInput>SOAPExtract>series of compute nodes>SOAPEnvelope>HttpReply.

If there is any error in the input data or any other application level exception, I would like to generate my own SOAPFault message instead of Broker defined. How do I do it?I want to define the SOAPFault message in ESQL.

Thanks in advance,
Anand
Back to top
View user's profile Send private message
elvis_gn
PostPosted: Sun Jun 24, 2007 6:19 am    Post subject: Reply with quote

Padawan

Joined: 08 Oct 2004
Posts: 1905
Location: Dubai

Hi anpati1,

I don't think the broker is stopping you from sending anything you want in the SOAP body, so you can code whatever you want to return in the esql including the soap fault...

Put a try-catch node right after your HTTPRequest node and catch the broker thrown error or your custom thrown error there and create the SOAP fault using a compute and reply back using another HTTPReply node..

Regards.
Back to top
View user's profile Send private message Send e-mail
MQMD
PostPosted: Sun Jun 24, 2007 9:12 pm    Post subject: Reply with quote

Apprentice

Joined: 03 May 2007
Posts: 45

Hi Elvis,

Have you send the SOAP fault from WBI MB to WPS BPEL process.I have the issue with the SAOP Fault prepared in WBIMB at the BPEL level.If you
have done it i would like to seek your help on this.
Back to top
View user's profile Send private message
anpati1
PostPosted: Tue Jun 26, 2007 3:52 am    Post subject: Reply with quote

Novice

Joined: 07 Jun 2007
Posts: 24
Location: Marlow, UK

Hi,

What is the best practise when dealing with faults/exceptions generated by services used in a WS-BPEL process.

Generate application level exception as part of the outputmessage using say some exception identifier field in the output message.
or
Generate SOAP Fault message for all errors.

The only disadvantage I see in the first design is the case of unhandled exceptions, but again you have the BROKER defined default handling for errors. Kindly advise

Thanks in advance
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 » WebSphere Message Broker (ACE) Support » Generate User defined SOAP Fault
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.