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 » Fields Validation

Post new topic  Reply to topic
 Fields Validation « View previous topic :: View next topic » 
Author Message
lux
PostPosted: Fri Jul 19, 2002 6:05 am    Post subject: Fields Validation Reply with quote

Newbie

Joined: 25 Jun 2002
Posts: 6
Location: Lisboa

Hello everybody.

I receive a message in a xml format and i make a parsing to a format like this

data1/data2/..../datan

i have some fields that i don´t want to appear in the message if they don´t pass a validation.


for example, my validation is :


if InputRoot.XML."SOAP-ENV:Envelope"."SOAP-
ENV:Body"."ns1:Execute".evento.envelope.indicador_anulacao = '1' then


if this validation is passed then this fields should appear:


SET "OutputRoot"."MRM"."MSG_IN_ANULACAO"."MSG_IN_EV_ANL_COMPR" = length(InputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Body"."ns1:Execute".evento.anulacao.aplicacao_origem) +
length(InputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Body"."ns1:Execute".evento.anulacao.referencia_origem) + 3;

SET "OutputRoot"."MRM"."MSG_IN_ANULACAO"."MSG_IN_EV_ANL_APLIC_ORIG" = Substring(InputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Body"."ns1:Execute".evento.anulacao.aplicacao_origem from 1 for 2);
SET "OutputRoot"."MRM"."MSG_IN_ANULACAO"."MSG_IN_EV_ANL_REF_ORIG" = Substring(InputRoot.XML."SOAP-ENV:Envelope"."SOAP-ENV:Body"."ns1:Execute".evento.anulacao.referencia_origem from 1 for 4;

end if;


The problem is that the validation is well done but the fields still appear in the message.


Does anyone knows why this happen or what must i have to do?


Regards

Luis
Back to top
View user's profile Send private message MSN Messenger
kirani
PostPosted: Fri Jul 19, 2002 8:01 am    Post subject: Reply with quote

Jedi Knight

Joined: 05 Sep 2001
Posts: 3779
Location: Torrance, CA, USA

Luis,

Could you post sample input message and the ESQL code in your compute node?
_________________
Kiran


IBM Cert. Solution Designer & System Administrator - WBIMB V5
IBM Cert. Solutions Expert - WMQI
IBM Cert. Specialist - WMQI, MQSeries
IBM Cert. Developer - MQSeries

Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Fields 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.