Skip to Content
0

HTTP_AAE adapter query string parameter missing

Feb 15, 2017 at 05:24 PM

153

avatar image

Hello,

We are migrating our SAP Net weaver middleware system from SAP PI 7.11 to SAP PO 7.5 SP stack number 05 single stack Java.

We are facing an issue with HTTP_AAE receiver adapter in SAP PO wherein a part of the URL is getting truncated at the vendor side when we do a http post while with same URL works fine in SAP PI HTTP adapter.

The error seen at the SAP PO message monitoring is "Exception caught by adapter framework: STATUS_CODE_NOT_OK- 500 Internal Server Error"

The interface is a synchronous proxy call from back end ECC to HTTPs call towards the 3rd party vendor.

The HTTP_AAE communication configuration Details are:

Addressing Mode :URL address

Target Host : test.b2b.****.com

Target Port : 443

Path :/auth/orders/?XXXXXXORDERSPO

The exact issue is with the path of the URL , the vendor says that the query string parameter XXXXXXORDERSPO is missing in the call from SAP PO test system.

And what they expect is : /auth/orders/ XXXXXXORDERSPO.

So whatever is after the '?' (question mark) is getting truncated. We never faced this issue in SAP PI (there a HTTP destination was created in ABAP stack(sm59) with this URL details). We also tried using an escape character %3F instead of the ‘?’ in the Path field but that did not work either.

Has anybody come across the same issue? Any info or inputs on the solutions would be much appreciated.

Thanks,

Kavita

10 |10000 characters needed characters left characters exceeded
* Please Login or Register to Answer, Follow or Comment.

2 Answers

Manoj K Feb 15, 2017 at 05:34 PM
0

Kavita,

Check the actuall trace after adapter execution to see if the URL is getting actually truncated or not using TraceHttp Parameter.

https://blogs.sap.com/2015/10/26/http-tracing-in-soap-receiver-adapters-with-tracehttp-module-parameter/

My guess would be , it is because of adapter metadata issue.

Br,

Manoj

Share
10 |10000 characters needed characters left characters exceeded
Team SAP NetWeaver Operations Feb 16, 2017 at 04:46 PM
0

Thanks Manoj for the response.

Can you please explain me a bit more of about the adapter metadata issue and how it can be resolved?

Thanks,

Kavita

Show 1 Share
10 |10000 characters needed characters left characters exceeded

Just checked the Adapter metadata of HTTP and HTTP_AAE it look fine there is no length restrictions.So that would not be an issue.

You say third party needs /auth/orders/ XXXXXXORDERSPO then why are u adding XXXXXXORDERSPO as query string(?) why not directly mention as path only .

And also as a workaround you can use soap channel with option "Do not use soap envelope" and query string marked.

0