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 » XML file to WebService

Post new topic  Reply to topic
 XML file to WebService « View previous topic :: View next topic » 
Author Message
alerajeshh
PostPosted: Sun Sep 22, 2013 9:47 am    Post subject: XML file to WebService Reply with quote

Acolyte

Joined: 19 Aug 2013
Posts: 55

Hi it might be small one..but i dont knw where am missing..

FLOW: HTTP _INPUT---->MQ_Output(MQ_Input)

MQ_Input--->Compute

am sending an XML file to HTTP Input using RESTCLIENT

i can see the xml file coming out of HTTP_Input but
when it comes to MQ_Input it is saying XML parsing error...though i have mentioned everywhere xmlnsc...

let me know do i need to keep any node between HTTP_Input and MQ_Output for parsing the XML input file..

sorry am just learning..i have gone through infocenter already...
Back to top
View user's profile Send private message
smdavies99
PostPosted: Sun Sep 22, 2013 11:21 am    Post subject: Reply with quote

Jedi Council

Joined: 10 Feb 2003
Posts: 6076
Location: Somewhere over the Rainbow this side of Never-never land.

Add a trace node befor the MQOutput Node. Set it to display ${Root} and send the output to usertrace. Then enable user trace, send the message and disable trace/read the log and format it. This will help you understand what is going on.

A good thing to remember is that for parser errors, it is generally better to NOT try to solve them with the debugger.
_________________
WMQ User since 1999
MQSI/WBI/WMB/'Thingy' User since 2002
Linux user since 1995

Every time you reinvent the wheel the more square it gets (anon). If in doubt think and investigate before you ask silly questions.
Back to top
View user's profile Send private message
alerajeshh
PostPosted: Sun Sep 22, 2013 12:12 pm    Post subject: Reply with quote

Acolyte

Joined: 19 Aug 2013
Posts: 55

Hi,

Thanks for the reply.. I just came to know that...along with xml input the http headers are also coming out..so the mqinput node giving an XML parser error.

I just kept compute node between Http input and MQ output

flow:

HTTP INPUT--->COMPUTE---->MQOUPUT(MQINPUT)

in compute node i removed the headers using detach and just sent XML data to MQ Output...

Thank you..
Back to top
View user's profile Send private message
lancelotlinc
PostPosted: Mon Sep 23, 2013 3:06 am    Post subject: Reply with quote

Jedi Knight

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

Don't double post.
_________________
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
mqjeff
PostPosted: Mon Sep 23, 2013 3:07 am    Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17447

Good job on solving the issue!

Yes, if you put HTTP headers into an MQ message, then the XMLNSC parser can't handle that message as raw data.
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 » XML file to WebService
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.