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 SupportDoes Soap Request Node Support HTTP(S) redirects ?

Post new topicReply to topic
Does Soap Request Node Support HTTP(S) redirects ? View previous topic :: View next topic
Author Message
rama91
PostPosted: Wed Oct 02, 2019 8:01 am Post subject: Does Soap Request Node Support HTTP(S) redirects ? Reply with quote

Novice

Joined: 28 Aug 2019
Posts: 12

Hi, we have a SOAP Service running in IIB 10.0.0.12 trying to consume another SOAP Service hosted on a apache server with HTTP Redirect enabled.

The Apache server is returning a 302 status code with Redirect URL populated in Location Header. SOAPRequest is unable to resend request to the redirect URL.

Code:
HTTP/1.1 302 Found
Date: Wed, 02 Oct 2019 20:05:37 GMT
Location: https://dv034nfuw004.ad.co.uk:8443/WS_NFQST3/services/PKClientService
Content-Length: 353
Keep-Alive: timeout=10, max=100
Connection: Keep-Alive
Content-Type: text/html; charset=iso-8859-1

Code:

<!DOCTYPE HTML PUBLIC "-//IETF//DTD HTML 2.0//EN">
<html><head>
<title>302 Found</title>
</head><body>
<h1>Found</h1>
<p>The document has moved <a href="https://dv034nfuw004.ad.co.uk:8443/WS_NFQST3/services/PKClientService">here</a>.</p>
<hr>
<address>IBM_HTTP_Server at dv034nfuw004.ad.co.uk Port 443</address>
</body></html>


I'm aware that HTTPRequest node has a property to support/allow HTTP(S) Redirects, Do we have a similar support for SOAPRequest nodes ?

If available, Can someone guide me figuring out the same? When I try to invoke a HTTPS Service enabled with redirects, I get an exception with the following details

Quote:
Syncrequest HTTP error returned HTTP/1.1 302 found




Please advice. Thank you for reading till the end.

Regards,
Ram
Back to top
View user's profile Send private message
rama91
PostPosted: Thu Oct 03, 2019 7:55 am Post subject: Reply with quote

Novice

Joined: 28 Aug 2019
Posts: 12

IBM has confirmed that SOAP Request node doesn't support HTTP Redirects.

1. For Services that strictly use SOAP Nodes, we have to handle the Redirect Error and You can catch the 302 response in the flow, use the local environment to point to the URL in the Location header, then reissue the request.

2. We have to make use of HTTPRequest nodes to support HTTP Redirects and implement SOAP over HTTP.
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 SupportDoes Soap Request Node Support HTTP(S) redirects ?
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.