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 » Webservices HTTPRequest node 'XML Parsing Errors have occur'

Post new topic  Reply to topic
 Webservices HTTPRequest node 'XML Parsing Errors have occur' « View previous topic :: View next topic » 
Author Message
kevin_22
PostPosted: Mon Dec 18, 2006 2:46 am    Post subject: Webservices HTTPRequest node 'XML Parsing Errors have occur' Reply with quote

Centurion

Joined: 08 Mar 2005
Posts: 100

Hi,

I am trying to access a webservice and get a response. I am finding 'XML Parsing errors have occur' at OutputRoot.XMLNS. The HTTPReponseHeader is having 'HTTP/1.0 200 OK' which seems that the reponse had came from webservice.

Please find the properties of HTTPRequest node.
Default:
Message Domain: XMLNS.
Advanced:
Use whole input message as request. --> checked
Replace input message with web-service response -->checked
Generate default HTTP header from input --> checked.

Note: i am using flow debugger to debug and the response message is coming at 'Out' terminal. I am finding this problem at 'Breakpoint' connected to 'Out' terminal. There were no exceptions in ExceptionList

Outley of MessageFlow:

MQInput Node --- Compute Node -- HttpRequest node --MQOutputnode
(Domain:XMLNS)--(MQMD = Null)----(Domain:XMLNS)


Please let me know your ideas.

Thanks & Regards,
Kevin
Back to top
View user's profile Send private message
mgk
PostPosted: Mon Dec 18, 2006 3:28 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

I would set the Message Domain to BLOB and trace out the response in a trace node to see exactly what is being returned...
_________________
MGK
The postings I make on this site are my own and don't necessarily represent IBM's positions, strategies or opinions.
Back to top
View user's profile Send private message
kevin_22
PostPosted: Mon Dec 18, 2006 3:42 am    Post subject: Reply with quote

Centurion

Joined: 08 Mar 2005
Posts: 100

Hi mgk,

I made Domain of HTTPRequest = 'BLOB' , there is no problem ofcourse we are not parsing and in the next compute node i made

OutputRoot.Properties.MessageFormat = 'XMLNS';
SET OutputRoot.XMLNS = InputRoot.BLOB.BLOB;

and there is no change in date. The OutputRoot.XMLNS is having a same blob message.

Thanks,
Kevin
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Mon Dec 18, 2006 4:22 am    Post subject: Reply with quote

Grand High Poobah

Joined: 18 Nov 2003
Posts: 20756
Location: LI,NY

Did you create the MQMD for the MQOutput node ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
kimbert
PostPosted: Mon Dec 18, 2006 12:27 pm    Post subject: Reply with quote

Jedi Council

Joined: 29 Jul 2003
Posts: 5542
Location: Southampton

Quote:
I am finding 'XML Parsing errors have occur'
There should be a lot more information than that in the error message. It should tell you what the error was, and the position in the input message.
Back to top
View user's profile Send private message
JosephGramig
PostPosted: Mon Dec 18, 2006 1:08 pm    Post subject: Reply with quote

Grand Master

Joined: 09 Feb 2006
Posts: 1244
Location: Gold Coast of Florida, USA

Considering your flow, stash your MQMD from the MQInput in the Environment and restore it just before the MQOutput.

Of course, you need to do whatever else it is that you do...
_________________
Joseph
Administrator - IBM WebSphere MQ (WMQ) V6.0, IBM WebSphere Message Broker (WMB) V6.1 & V6.0
Solution Designer - WMQ V6.0
Solution Developer - WMB V6.1 & V6.0, WMQ V5.3
Back to top
View user's profile Send private message AIM Address
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Webservices HTTPRequest node 'XML Parsing Errors have occur'
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.