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 » MQ Input -> HTTP Output

Post new topic  Reply to topic
 MQ Input -> HTTP Output « View previous topic :: View next topic » 
Author Message
Armeggedon45
PostPosted: Wed Jun 11, 2008 7:28 am    Post subject: MQ Input -> HTTP Output Reply with quote

Newbie

Joined: 05 Oct 2006
Posts: 4

Hey, new Broker developer here so apologies if this is an obvious question but here it goes.

I'm trying to develop two flows that front an MQ call with HTTP (to 'web service-ize' it). I've got the request flow working fine and pass the request Id from the HTTP request in as part of the MQ request. I get that ID back out the response flow (two totally separate flows) and set the response requestId property with that value.

Problem is that when I call this through a service client (XMLSpy in my case) I get back an empty response. Obviously thats not good!

I've traced it out and noticed that a value I set (OutputRoot.Properties.ReplyProtocol) shows up in the trace with a value of 'MQ' rather than the 'SOAP-HTTP' value I set to it. I don't know if thats the issue but thats where I'm looking right now.

I saw another similar post but no solution was given so any ideas or help would be much appreciated.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 11, 2008 7:31 am    Post subject: Reply with quote

Grand High Poobah

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

Don't web-serverize with http.
Use SOAP over JMS. (should take advantage of a number of things and allow for better performance.
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
Armeggedon45
PostPosted: Wed Jun 11, 2008 7:33 am    Post subject: Reply with quote

Newbie

Joined: 05 Oct 2006
Posts: 4

Thats what we do in most cases. This is a special case and needs to have an HTTP front.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Wed Jun 11, 2008 7:40 am    Post subject: Reply with quote

Grand High Poobah

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

Quote:
I've traced it out and noticed that a value I set (OutputRoot.Properties.ReplyProtocol) shows up in the trace with a value of 'MQ' rather than the 'SOAP-HTTP' value I set to it. I don't know if thats the issue but thats where I'm looking right now.

I think you're on the right path for fixing this.


_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqmatt
PostPosted: Wed Jun 11, 2008 8:44 am    Post subject: Reply with quote

Grand Master

Joined: 04 Aug 2004
Posts: 1213
Location: Hursley, UK

Do take a look at the Web Service Host sample in the HTTP nodes section of the samples gallery, which shows you how to webservices-enable an existing MQ application.
Back to top
View user's profile Send private message
Armeggedon45
PostPosted: Wed Jun 11, 2008 8:47 am    Post subject: Reply with quote

Newbie

Joined: 05 Oct 2006
Posts: 4

I got the problem figured out. I needed to set the CodedCharSetId = 1208. That gave me a response back.
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 » MQ Input -> HTTP Output
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.