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 » Message Broker: Parsing HTTP Input from form

Post new topic  Reply to topic
 Message Broker: Parsing HTTP Input from form « View previous topic :: View next topic » 
Author Message
kevinobyrne
PostPosted: Tue Jul 17, 2007 1:45 am    Post subject: Message Broker: Parsing HTTP Input from form Reply with quote

Voyager

Joined: 17 Jul 2007
Posts: 83
Location: Ireland

Hi there,
I'm have a messageflow with a http input node and a simple html form which inputs some information. The information passed in is

first_name=john&last_name=smith&age=45
(with http headers above it)

I have also created an xsd which corresponds to these fields and used it to create a message set.

But the problem I'm having is tieing these two together. If I select the message domain on the http input node as MRM and the message set etc, the input message isn't parsed into xml (I don't expect it to be that easy). But i'm not sure about how to get my fields from the input string to the message set.
Any help would be appreciated.
Kevin
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Tue Jul 17, 2007 1:48 am    Post subject: Re: Message Broker: Parsing HTTP Input from form Reply with quote

Sentinel

Joined: 21 Dec 2004
Posts: 850
Location: Poland / Warsaw

You cen get this request as BLOB and parse it to read POST values .
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
kevinobyrne
PostPosted: Tue Jul 17, 2007 1:53 am    Post subject: Reply with quote

Voyager

Joined: 17 Jul 2007
Posts: 83
Location: Ireland

Thanks, I have tried reading it in as a BLOB, but I had trouble parsing it. In ESQL I'm not able to CAST a BLOB as a CHAR.
Back to top
View user's profile Send private message
mgk
PostPosted: Tue Jul 17, 2007 2:21 am    Post subject: Reply with quote

Padawan

Joined: 31 Jul 2003
Posts: 1642

You need to provide a CCSID to cast from BLOB to CHAR in this case.
_________________
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
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Message Broker (ACE) Support » Message Broker: Parsing HTTP Input from form
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.