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 IndexWebSphere Message Broker SupportHTTP GET method to pull zip files from request webservice

Post new topicReply to topic
HTTP GET method to pull zip files from request webservice View previous topic :: View next topic
Author Message
visasimbu
PostPosted: Sun Sep 30, 2018 6:28 am Post subject: HTTP GET method to pull zip files from request webservice Reply with quote

Disciple

Joined: 06 Nov 2009
Posts: 158

I am using IIB V9. I am able to pull the files by using postman by clicking "Send and Download" in postman button as like by below screenshot.

[img]https://ibb.co/m2kZ4K[/img]


I have created a msg flow as like below to pull files for the above rest service

MQInput -> Compute Node ->HTTP Request Node -> ComputeNode ->MQoutput node.

After http request node, i am always getting error says "HTTP 406" but for the same input i am able to pull the zip files via postman.

I have constructed http request in my compute node by using below snippet.

SET OutputRoot.HTTPRequestHeader."Application-Key" = '*************';
SET OutputRoot.HTTPRequestHeader."*****Id" = '********';
SET OutputRoot.HTTPRequestHeader."Env" = '****';
SET OutputRoot.HTTPRequestHeader."Accept" = 'application/zip';
SET OutputLocalEnvironment.Destination.HTTP.RequestLine.Method = 'GET';

How can we implement in IIB to dowload the zip files. I have read few documentations related to MIME protocol in IIB which didnt work for me. Any insight on this issue ?
Back to top
View user's profile Send private message Send e-mail
timber
PostPosted: Mon Oct 01, 2018 2:18 am Post subject: Reply with quote

Sentinel

Joined: 25 Aug 2015
Posts: 889

Please provide a list of things that you have tried, and what happened.
What does HTTP 406 mean?
Have you compared the request from IIB with the request from PostMan?
Back to top
View user's profile Send private message
Display posts from previous:
Post new topicReply to topic Page 1 of 1

MQSeries.net Forum IndexWebSphere Message Broker SupportHTTP GET method to pull zip files from request webservice
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.