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 SupportSyncRequest HTTP Error returned- 202 Ack expected in Oneway

Post new topicReply to topic
SyncRequest HTTP Error returned- 202 Ack expected in Oneway View previous topic :: View next topic
Author Message
tahers
PostPosted: Tue Sep 12, 2017 10:19 pm Post subject: SyncRequest HTTP Error returned- 202 Ack expected in Oneway Reply with quote

Newbie

Joined: 12 Sep 2017
Posts: 3

We have requirement to invoke webservice one-way operation from IBM Integration Bus via Datapower. Datapower is used in between for security purpose.

IIB --> Datapower XI 52 --> Webservice Server System


Facing issue in the below failure/error scenario


Failure Scenario : Backend server URL configured incorrectly in Datapower
Result : "Failed to establish a backside connection" error received in Datapower as expected but in IIB "SyncRequest HTTP Error returned - 202 Ack expected" error received at failure terminal of SOAP Request Node.

Success Scenario : All URLs are configured correctly
Result : Transaction reached successfully in Backend system. No errors encountered in IIB and Datapower.

Below are the implementation details at each system.

IBM Integration Bus:
1. Below variables are set in compute node before SOAP Request Node
SET OutputLocalEnvironment.Destination.SOAP.Request.Transport.HTTP.WebServiceURL = URL;
SET OutputLocalEnvironment.Destination.SOAP.Request.Gateway.OneWay = 'true';
2. Operation mode set as 'generic web service' in SOAP Request Node.
3. SOAP Request node invokes Datapower web service proxy URL


Datapower XI 52:
1. Web service proxy (WSDL uploaded with one-way operation i.e only request with out response) calling backend web service server system
2. Only request processing rule. Response processing rule which got created automatically was deleted manually.
3. No Error processing rule.
Back to top
View user's profile Send private message
fjb_saper
PostPosted: Tue Sep 12, 2017 11:51 pm Post subject: Reply with quote

Grand Poobah

Joined: 18 Nov 2003
Posts: 19383
Location: LI,NY

And the question is ?
_________________
MQ & Broker admin
Back to top
View user's profile Send private message Send e-mail
mqjeff
PostPosted: Wed Sep 13, 2017 3:25 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17448

So.

If your datapower doesn't let connections go through, then connections don't go through.

If your datapower does let connections go through, then connection go through.
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
tahers
PostPosted: Wed Sep 13, 2017 4:17 am Post subject: Reply with quote

Newbie

Joined: 12 Sep 2017
Posts: 3

Datapower is not returning HTTP 202. Instead it is returning HTTP 500 error.

It is HTTP connection between IIB and Datapower i.e HTTP URL (not https).

Have attached wireshark trace files and JPG picture for both failure and success scenarios. From "Success_snapshot.JPG" it is clear that HTTP 202 is sent from Datapower to IIB in success scenario where as in "Error_Snapshot.JPG" HTTP 500 was sent instead of HTTP 202 from Datapower to IIB in failure scenario.

IIB IP Address : 10.9.73.67
Datapower IP Address : 192.168.10.46
[img]C:\Users\OTE4556755\Desktop\Error_Snapshot.JPG[/img]
[img]C:\Users\OTE4556755\Desktop\Success_snapshot.JPG[/img]
Back to top
View user's profile Send private message
mqjeff
PostPosted: Wed Sep 13, 2017 5:12 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17448

Why would it send a 202 instead of a 500?

Why do you think this is an IIB issue?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
Vitor
PostPosted: Wed Sep 13, 2017 5:27 am Post subject: Reply with quote

Grand High Poobah

Joined: 11 Nov 2005
Posts: 24614
Location: Ohio, USA

mqjeff wrote:
Why would it send a 202 instead of a 500?

Why do you think this is an IIB issue?




Also why would you think we can see images on your C: drive?
_________________
Honesty is the best policy.
Insanity is the best defence.
Back to top
View user's profile Send private message
tahers
PostPosted: Wed Sep 13, 2017 9:18 pm Post subject: Reply with quote

Newbie

Joined: 12 Sep 2017
Posts: 3

It is Data power issue, not with IIB.
As this is one way operation between IIB and Datapower, Datapower has to send just a HTTP 202 acknowledgement receipt. Backend webservice server status should not be responded back to IIB.

I am not able to find option to upload trace files. Please assist.[/img]
Back to top
View user's profile Send private message
mqjeff
PostPosted: Thu Sep 14, 2017 3:30 am Post subject: Reply with quote

Grand Master

Joined: 25 Jun 2008
Posts: 17448

If datapower is told to block the connection, then a 500 is the right response.

If datapower is told to pass the connection through, then the http server/application should return a 202.

If you want datapower to return a 202 even if it's blocked the connection,then you need to configure it the way you had that works.

If you have a configuration that works, what are you trying to test?
_________________
chmod -R ugo-wx /
Back to top
View user's profile Send private message
joebuckeye
PostPosted: Thu Sep 14, 2017 9:58 am Post subject: Reply with quote

Partisan

Joined: 24 Aug 2007
Posts: 315
Location: Columbus, OH

tahers wrote:
It is Data power issue, not with IIB.
As this is one way operation between IIB and Datapower, Datapower has to send just a HTTP 202 acknowledgement receipt. Backend webservice server status should not be responded back to IIB.

I am not able to find option to upload trace files. Please assist.[/img]


Not sure why you need to upload trace files since this is a Datapower issue.

What have you done on Datapower to ensure it sends back the expected response? I would think you would have an error rule that sends back the expected response in case Datapower encounters an error but you said there is no error rule on your WSP. I would expect in that case to receive whatever default response Datapower would return for the error.
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 SupportSyncRequest HTTP Error returned- 202 Ack expected in Oneway
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.