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 » How can I handle security exception for SOAPInput node

Post new topic  Reply to topic
 How can I handle security exception for SOAPInput node « View previous topic :: View next topic » 
Author Message
girish_kulkarni
PostPosted: Tue Nov 15, 2011 10:59 pm    Post subject: How can I handle security exception for SOAPInput node Reply with quote

Apprentice

Joined: 08 Oct 2010
Posts: 32

Dear All,

I want to handle message flow's security exceptions inside flow. My flow consists SOAPInput - compute -SOAPReply.

We dont have any settings like "Treat exceptions as normal exceptions" for SOAPInput node. Please let us know, is there any way we can achieve this as this is our client requirement.

Thanks in advance.

Girish
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Nov 16, 2011 4:04 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

You should be able to check the "Send Faults to Failure Terminal" option and use that...
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
girish_kulkarni
PostPosted: Wed Nov 16, 2011 4:39 am    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2010
Posts: 32

Thnk you very much MGK. I will check that.

Regards,
Girish
Back to top
View user's profile Send private message
girish_kulkarni
PostPosted: Wed Nov 16, 2011 7:11 am    Post subject: Reply with quote

Apprentice

Joined: 08 Oct 2010
Posts: 32

Hi MGK,

I checked "Send Faults to Failure Terminal" option, But I am not recieving security related error codes for ex: BIP2702 in failure terminal.

Basically, I want to handle security related exceptions differently in error sub flow which i am connecting to main flow's failure and catch terminal. I thought of handling it using BIP codes, But I get completely different error like your soap message can not be serialized in my failure terminal.

Please suggest us on this.

Thanks in advance.
Back to top
View user's profile Send private message
mgk
PostPosted: Wed Nov 16, 2011 10:08 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

The message sent to the failure terminal in this case is different. Put a trace node after the trace node and have a look at the message to see how. It contains just about the same message that would have been sent back to the user if the check box had not been checked.

Regards,
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
bielesibub
PostPosted: Fri Nov 18, 2011 3:14 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2008
Posts: 40
Location: Hampshire, UK

Girish,

If you are talking about ws-policy related exceptions (unsigned/unencrypted msgs, cert errors, integrity etc..), i'm not sure these exceptions get propagated to the failure terminal in a SOAP input node (although I really think that they should).

The 'Send faults to failure terminal' only appears to get schema faults etc.

Bielesibub
Back to top
View user's profile Send private message MSN Messenger
mgk
PostPosted: Fri Nov 18, 2011 3:53 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

Quote:
The 'Send faults to failure terminal' only appears to get schema faults etc.


No it does not.

Quote:
If you are talking about ws-policy related exceptions (unsigned/unencrypted msgs, cert errors, integrity etc..), i'm not sure these exceptions get propagated to the failure terminal in a SOAP input node (although I really think that they should).


Yes they are (in most cases). The point is that the message that is sent down the failure terminal in this case is the same as the one that would have been sent back to the client if the box had not been checked...
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
bielesibub
PostPosted: Fri Nov 18, 2011 4:01 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2008
Posts: 40
Location: Hampshire, UK

mgk,

Thanks for the reply. I've happily been able to capture schema faults from the SOAPInput but never a security (CWWSxxxE) error (the org.apache.AXIS2 variety)

We'll have to agree to disagree here
Back to top
View user's profile Send private message MSN Messenger
mqjeff
PostPosted: Fri Nov 18, 2011 5:27 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

bielesibub wrote:
We'll have to agree to disagree here

Except that mgk likely wrote the code that you are disagreeing about...
Back to top
View user's profile Send private message
bielesibub
PostPosted: Fri Nov 18, 2011 5:39 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2008
Posts: 40
Location: Hampshire, UK

Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Fri Nov 18, 2011 5:43 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

mqjeff wrote:
bielesibub wrote:
We'll have to agree to disagree here

Except that mgk likely wrote the code that you are disagreeing about...


Or at a minimum can see it.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
bielesibub
PostPosted: Fri Nov 18, 2011 5:50 am    Post subject: Reply with quote

Apprentice

Joined: 02 Jul 2008
Posts: 40
Location: Hampshire, UK

maybe I should raise a PMR?
Back to top
View user's profile Send private message MSN Messenger
Vitor
PostPosted: Fri Nov 18, 2011 5:55 am    Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 26093
Location: Texas, USA

bielesibub wrote:
maybe I should raise a PMR?


It's your right as a license paying customer.
_________________
Honesty is the best policy.
Insanity is the best defence.
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 » How can I handle security exception for SOAPInput node
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.