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 » Parser problems

Post new topic  Reply to topic
 Parser problems « View previous topic :: View next topic » 
Author Message
Mroseje
PostPosted: Thu Jul 21, 2005 5:58 am    Post subject: Parser problems Reply with quote

Newbie

Joined: 15 May 2003
Posts: 2

I am retrieving data from an Oracle database using the http nodes that invoke a webservice I am attempting to get the ouput of this in an XML format on a queue but instead of returning XML Im recieving the following format:


<?xml version="1.0" encoding="UTF-8"?>
<soapenv:Envelope xmlns:soapenv='http://schemas.xmlsoap.org/soap/envelope/' xmlns:xsd='http://www.w3.org/2001/XMLSchema' xmlns:xsi='http://www.w3.org/2001/XMLSchema-instance'>
<soapenv:Body><getskillsResponse xmlns='urn:getskills'><getskillsReturn xmlns=''>&lt;?xml version = &apos;1.0&apos; encoding = &apos;iso-8859-1&apos;?&gt;
&lt;ROWSET&gt;
&lt;ROW num=&quot;1&quot;&gt;
&lt;STAFF_ID&gt;019519&lt;/STAFF_ID&gt;
&lt;FORENAME&gt;Mark&lt;/FORENAME&gt;
&lt;SURNAME&gt;Roseje&lt;/SURNAME&gt;
&lt;BENEFITS_GROUP&gt;A&lt;/BENEFITS_GROUP&gt;
&lt;EMP_STATUS&gt;P&lt;/EMP_STATUS&gt;
&lt;YEAR_IT_COMMENCE&gt;6/6/1996 0:0:0&lt;/YEAR_IT_COMMENCE&gt;
&lt;STAFF_ID&gt;019519&lt;/STAFF_ID&gt;
&lt;SKILLS_ID&gt;mq&lt;/SKILLS_ID&gt;
&lt;SKILL_LEVEL&gt;4&lt;/SKILL_LEVEL&gt;
&lt;SKILLS_ID&gt;mq&lt;/SKILLS_ID&gt;
&lt;SKILLS_DESC&gt;MQSeries&lt;/SKILLS_DESC&gt;
&lt;SKILLS_TYPE_CD&gt;WS&lt;/SKILLS_TYPE........etc


can anyone please advise how I force it to display valid XML ive tried using the (XML.AsisElementContent) and (XML.AsIsContent) the data looks fine in the trace log files and in debug mode its only when it hits the output queue when it takes this format.
Back to top
View user's profile Send private message
jefflowrey
PostPosted: Thu Jul 21, 2005 6:02 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

So, you do an HTTPRequest node, and then an HTTPReply node, and you get back a logical message tree.

Then you use a Compute node to enhance that logical message tree so that, for example, it has an MQMD.

Then you write that message to a queue using an MQOutput node.

What ESQL are you using in the Compute node?
_________________
I am *not* the model of the modern major general.
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 » Parser problems
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.