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 » ASBITSTREAM problem

Post new topic  Reply to topic
 ASBITSTREAM problem « View previous topic :: View next topic » 
Author Message
brgmo
PostPosted: Fri Nov 09, 2007 2:50 am    Post subject: ASBITSTREAM problem Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Hi All,

Iam trying to validate a xml message using a DTD. The code is able to create the last child but when it goes into ASBITSTREAM function, it sticks to that and never comes out and the flow keeps hanging on that.When i look into event viewer,i get no error thown.Can someone guess what is going wrong.

Regards
brgmo.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 09, 2007 2:53 am    Post subject: Reply with quote

Grand High Poobah

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

What version of WMB? What platform?

What has validation to do with ABITSTREAM?

Details please? Possibly a code snippet?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
brgmo
PostPosted: Fri Nov 09, 2007 2:59 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

WMB version is 5.THE PLATFORM IS aix.when we do validaion we are creatins a bitsream using ASBITSTREAM so that parses correctly with the message set supplied in th ASBITSTREAM arguments.
Back to top
View user's profile Send private message
brgmo
PostPosted: Fri Nov 09, 2007 3:17 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

Apologies.The platform is windows.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 09, 2007 3:33 am    Post subject: Reply with quote

Grand High Poobah

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

Why not use the MRM parser & the message set directly?

Turning to your problem, you say that the node's creating the last child - how are you verifying that? What is the next expected action (the one that doesn't happen)? Is the output tree properly formed according to the CWF you're using for the output?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
brgmo
PostPosted: Fri Nov 09, 2007 3:42 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

IT NEVER CROSSES ASBITSTREM.IT JUST HANGS ON TO THAT FUNCTION AND DOESN'T EXECUTE NEXT STATEMENT.HOW CAN I DEBUG THIS KIND OF SITUATION AS I CAN'T USE TRACE NIODE HERE.
Back to top
View user's profile Send private message
brgmo
PostPosted: Fri Nov 09, 2007 4:16 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

anyone any thoughts why this is happening.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 09, 2007 4:22 am    Post subject: Reply with quote

Grand High Poobah

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

brgmo wrote:
anyone any thoughts why this is happening.


Not if you're going to shout at us.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Fri Nov 09, 2007 5:44 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

I have never seen the ASBITSTREAM hanging. Probably the DTD mapping is where some problem is occuring.
Why don't you comment the line with the ASBITSTREAM and see what you get in the output.
Also even though BITSTREAM is deprecated you can test your code to see if it working with that.
At least then you can pinpoint that there is something wrong with the function/your code/input etc.
What happens if you run a mqsichangetrace?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
brgmo
PostPosted: Fri Nov 09, 2007 5:59 am    Post subject: Reply with quote

Master

Joined: 03 Jun 2002
Posts: 227

we commented the asbitstream and it goes over but we haven't tested using bitstream.what is mqsichangetrace and how to use that.
Back to top
View user's profile Send private message
Vitor
PostPosted: Fri Nov 09, 2007 6:06 am    Post subject: Reply with quote

Grand High Poobah

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

brgmo wrote:
what is mqsichangetrace and how to use that.


It's a broker command, documented in the broker manual, that alters the broker's trace level. Or starts/stops it if you alter it from/to none.
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
shalabh1976
PostPosted: Fri Nov 09, 2007 8:56 am    Post subject: Reply with quote

Partisan

Joined: 18 Jul 2002
Posts: 381
Location: Gurgaon, India

Since it seems that the problem is in the conversion when ASBITSTREAM is used, can you post your code snippet showing it's usage?
_________________
Shalabh
IBM Cert. WMB V6.0
IBM Cert. MQ V5.3 App. Prog.
IBM Cert. DB2 9 DB Associate
Back to top
View user's profile Send private message Yahoo Messenger MSN Messenger
kimbert
PostPosted: Mon Nov 12, 2007 2:30 am    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I am trying to validate a xml message using a DTD
Hmmm. Message broker cannot validate against a DTD - it can only validate against a message set. Of course, you can create a message set and then import a DTD to create a message definition file. Is that what you mean?

Either way, I agree with shalabh1976 - please post your ESQL.
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 » ASBITSTREAM problem
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.