Author |
Message
|
tahers |
Posted: Tue Sep 12, 2017 10:19 pm Post subject: SyncRequest HTTP Error returned- 202 Ack expected in Oneway |
|
|
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 |
|
 |
fjb_saper |
Posted: Tue Sep 12, 2017 11:51 pm Post subject: |
|
|
 Grand High Poobah
Joined: 18 Nov 2003 Posts: 20756 Location: LI,NY
|
And the question is ?  _________________ MQ & Broker admin |
|
Back to top |
|
 |
mqjeff |
Posted: Wed Sep 13, 2017 3:25 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
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 |
|
 |
tahers |
Posted: Wed Sep 13, 2017 4:17 am Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Wed Sep 13, 2017 5:12 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
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 |
|
 |
Vitor |
Posted: Wed Sep 13, 2017 5:27 am Post subject: |
|
|
 Grand High Poobah
Joined: 11 Nov 2005 Posts: 26093 Location: Texas, 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 |
|
 |
tahers |
Posted: Wed Sep 13, 2017 9:18 pm Post subject: |
|
|
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 |
|
 |
mqjeff |
Posted: Thu Sep 14, 2017 3:30 am Post subject: |
|
|
Grand Master
Joined: 25 Jun 2008 Posts: 17447
|
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 |
|
 |
joebuckeye |
Posted: Thu Sep 14, 2017 9:58 am Post subject: |
|
|
 Partisan
Joined: 24 Aug 2007 Posts: 365 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 |
|
 |
|