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 » IBM MQ API Support » Putting message using amqsput.exe via HTML

Post new topic  Reply to topic
 Putting message using amqsput.exe via HTML « View previous topic :: View next topic » 
Author Message
binitkgupta
PostPosted: Wed Nov 02, 2011 11:09 pm    Post subject: Putting message using amqsput.exe via HTML Reply with quote

Newbie

Joined: 28 May 2008
Posts: 9

Hi,

In html program like rfh util we need to browse for a file and then have a button. when u click that button it should execute amqsput.exe and put the msg to queue.

Can anyone help me with the line of codes

Thanks
Binit
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Nov 03, 2011 12:10 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Quote:
In html program like rfh


I have problem with the English, let alone the code - what does this mean?

Are you talking about using CGI?

What is the actual requirement here? A browser based interface to put messages? Why does it have to be a browser?
Back to top
View user's profile Send private message
binitkgupta
PostPosted: Thu Nov 03, 2011 12:52 am    Post subject: Reply with quote

Newbie

Joined: 28 May 2008
Posts: 9

I want to invoke amqsput.exe program and using that I want to put the message. This is to be done in HTML.

Normally in RFHutil we browse the message and then post it to a queue. The same thing I want to implement in HTML.
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Nov 03, 2011 1:01 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

Where is the http server located? On what platform?

Why does it have to be a browser? How will you handle security?

Where do you expect the exe to run, on your desktop, on the http server?
Back to top
View user's profile Send private message
binitkgupta
PostPosted: Thu Nov 03, 2011 1:19 am    Post subject: Reply with quote

Newbie

Joined: 28 May 2008
Posts: 9

HI,
I want to run the html program in my local machine, windows
Back to top
View user's profile Send private message
zpat
PostPosted: Thu Nov 03, 2011 1:24 am    Post subject: Reply with quote

Jedi Council

Joined: 19 May 2001
Posts: 5866
Location: UK

html is not a program.

The usual aim of a browser design - is not to invoke local programs, but to have a thin client to executables that run elsewhere.

Java script, Java Applets and ActiveX of course break this model.

You could look at support pac MA0J.

Other way would be to use MO71 and apply the optional authority restrictions to remove the unwanted menu options.

Of course, if you are relying on hard-coding the queue name, as a form of security - this is not a good idea. Implement proper OAM security.
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 » IBM MQ API Support » Putting message using amqsput.exe via HTML
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.