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 » SOAP Reply is not doing validation

Post new topic  Reply to topic
 SOAP Reply is not doing validation « View previous topic :: View next topic » 
Author Message
KIT_INC
PostPosted: Tue Aug 14, 2012 11:32 am    Post subject: SOAP Reply is not doing validation Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

I am running WMB 7003.
I have a simple flow
SOAP Input - Compute- SOAP Reply
SOAP Input has validation = Content and Value
SOAP Reply has validation = inherit

The compute node has a ESQL statement
Quote:

SET OutputRoot.SOAP.Body.ns:MyResponse.Timestamp= CURRENT_TIMESTAMP;


Buy mistake CURRENT_TIMESTAMP was type in as 'CURRENT_TIM' and hence the charaters CURRENT_TIM were set to the field.

Surprisingly we did not get any exception and we have the SOAP reply with the Timestamp field set to 'CURRENT_TIM '
The Timestamp field is of type time and date. If we just have a string in that field in the WS Request , we will get an exception 'fail to build SOAP bitstream due to validation failure. So we are sure that validation is happening at SOAP Input.
The message defiintion for this Timestamp field is the same in the MyRequest and MyResponse in the message set.

I think SOAP Reply will do the same validation as SOAP input when inherit is specified.
I changed validation of SOAP Reply to Content and value but still no Validation.

Is there anything else we have to do (any other settings or ESQL in compute node ) to ensure that validation is happening on SOAP Reply


Last edited by KIT_INC on Wed Aug 15, 2012 6:05 am; edited 2 times in total
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Tue Aug 14, 2012 1:08 pm    Post subject: Reply with quote

Jedi Knight

Joined: 22 Mar 2010
Posts: 4941
Location: Bloomington, IL USA

Can you change the SOAPReply validation to "content and value" then see what happens? Also, in your compute node, are you passing both message and environment?
_________________
http://leanpub.com/IIB_Tips_and_Tricks
Save $20: Coupon Code: MQSERIES_READER
Back to top
View user's profile Send private message Send e-mail
KIT_INC
PostPosted: Tue Aug 14, 2012 7:54 pm    Post subject: Reply with quote

Knight

Joined: 25 Aug 2006
Posts: 589

Quote:
Can you change the SOAPReply validation to "content and value" then see what happens? Also, in your compute node, are you passing both message and environment?


Already done. In my first post
Quote:
I changed validation of SOAP Reply to Content and value but still no Validation.


I changed compute mode to All. Still no validation.
Back to top
View user's profile Send private message
kimbert
PostPosted: Tue Aug 21, 2012 12:16 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Is there a 'Parse timing' property on the SOAPReply node? If so, set it to 'Immediate'. If that still does not work, it might be time to raise a PMR.
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 » SOAP Reply is not doing validation
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.