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 » Doubt on Http Input nodes

Post new topic  Reply to topic
 Doubt on Http Input nodes « View previous topic :: View next topic » 
Author Message
vgollakota
PostPosted: Mon Aug 13, 2007 5:00 am    Post subject: Doubt on Http Input nodes Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

I have a scenario where I need to get input from a JSP page and that information for example,if i have fields like Name and password,these need to be sent to Http Input node in an XML format. How this can be done....??
Could any one suggest me in this regard, how to get the request from JSP page to Http Input node..! Do we need to write any servlet..??
_________________
G.VANDANA
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Mon Aug 13, 2007 5:13 am    Post subject: Re: Doubt on Http Input nodes Reply with quote

Sentinel

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

To achieve your requirements you have to write servlet to get HTTP POST data and resend it to HTTPInput node as XML.

Another way is o send data directly from HTTP form to HTTPInput node and parse it within Compute node as BLOB.
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
vgollakota
PostPosted: Mon Aug 13, 2007 7:08 am    Post subject: Re: Doubt on Http Input nodes Reply with quote

Apprentice

Joined: 19 Feb 2007
Posts: 37

marcin.kasinski wrote:
To achieve your requirements you have to write servlet to get HTTP POST data and resend it to HTTPInput node as XML.

Another way is o send data directly from HTTP form to HTTPInput node and parse it within Compute node as BLOB.



That is Ok, that I need to write a servlet, but how does the URL given in action attribute of form tag matches with the URL in the HTTP Input Node..???
_________________
G.VANDANA
Back to top
View user's profile Send private message
marcin.kasinski
PostPosted: Mon Aug 13, 2007 9:27 am    Post subject: Re: Doubt on Http Input nodes Reply with quote

Sentinel

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

vgollakota wrote:
marcin.kasinski wrote:
To achieve your requirements you have to write servlet to get HTTP POST data and resend it to HTTPInput node as XML.

Another way is o send data directly from HTTP form to HTTPInput node and parse it within Compute node as BLOB.



That is Ok, that I need to write a servlet, but how does the URL given in action attribute of form tag matches with the URL in the HTTP Input Node..???


I presented here 2 options.
Which of this options you prefer ?
_________________
Marcin
Back to top
View user's profile Send private message Visit poster's website
jefflowrey
PostPosted: Mon Aug 13, 2007 11:12 am    Post subject: Reply with quote

Grand Poobah

Joined: 16 Oct 2002
Posts: 19981

You can not write or deploy a servlet with Broker.

You must write and deploy a servlet to something else. The servlet will then MAKE A NEW REQUEST to the HTTPInput.

Ergo, nothing about anything in the request to the servlet will map to anything about the request in the HTTPInput.

Except where you write code to make them map.

And, again. Broker doesn't know anything about Servlets or JSPs. It doesn't know anything about 'actions'.

All it knows is HTTP.
_________________
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 » Doubt on Http Input nodes
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.