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 » Simple problem really annoying me

Post new topic  Reply to topic Goto page Previous  1, 2
 Simple problem really annoying me « View previous topic :: View next topic » 
Author Message
kirani
PostPosted: Fri Jan 28, 2005 12:22 am    Post subject: Re: now with a twist Reply with quote

Jedi Knight

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

nathanw wrote:
<?xml version="1.0"?>
<XML type="DispenseNotification">
<Header>
<StoreID>1234</StoreID>
<DateTime>25/01/2005 11:30</DateTime>
<Pharmacist ID="67890">
<Forename>Bill</Forename>
<Surname>Smith</Surname>
</Pharmacist>
</Header>

This does not look right. Where s your closing <XML> tag?
_________________
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
nathanw
PostPosted: Fri Jan 28, 2005 1:37 am    Post subject: Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

JT my bad had the domain set to XMLNS and not XML

XMLNS is the output domain (DURHHHHH!!!!)

That works fine cheers

Kirani

Message I posted was just a small sample

Cheers all

N
Back to top
View user's profile Send private message MSN Messenger
gyadavil
PostPosted: Fri Feb 04, 2005 10:30 pm    Post subject: Reply with quote

Acolyte

Joined: 01 Feb 2005
Posts: 62

Hi

May be a stupid check but wanted to make sure. Did you specify the Message domain as XML on your Input Node.

Don't get annoyed.
Back to top
View user's profile Send private message
nathanw
PostPosted: Mon Feb 07, 2005 1:42 am    Post subject: SOLVED Simple problem really annoying me Reply with quote

Knight

Joined: 14 Jul 2004
Posts: 550

gyadavil wrote:
Hi

May be a stupid check but wanted to make sure. Did you specify the Message domain as XML on your Input Node.

Don't get annoyed.


Wont get annoyed

Solution is solved now

Input is XML but output is XMLNS

Final code is like this

Code:
DECLARE MSGTYPE CHAR;

SET MSGTYPE = FIELDVALUE(Root.XML.(XML.Element)"XML".(XML.Attribute)type);

IF MSGTYPE = 'DispenseNotification' THEN


         RETURN TRUE;
      ELSE
         RETURN FALSE;
      END IF;
   END;


Many thanks for all help.

Have a RCD to reset to XMLNS once initial filter carried out and then the eSQL code handles all the mappings etc fine.
Back to top
View user's profile Send private message MSN Messenger
Display posts from previous:   
Post new topic  Reply to topic Goto page Previous  1, 2 Page 2 of 2

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Simple problem really annoying me
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.