cancel
Showing results for 
Search instead for 
Did you mean: 

Dynamic Query string in Receiver HTTP_AAE adapter (PI 7.4 SP05)

Former Member
0 Kudos

Dear Experts,

In-spite of several attempts , I could not resolve issue in developing Dynamic Query String for receiver HTTP_AAE adapter.

I am working in synchronous scenario sender ABAP Proxy -> PI 7.4 -> HTTP Service

http://142.23.43.4:80//Correspondence/servlet/IntegrationServlet?action=getNInboxItems&credentials=user,password

Query credentials is a dynamic query parameter and I would pass this value from send Proxy as test,1234 in the proxy field <<userpwd>>

as shown below.  Since action query=getNInboxItems is static, it is filled in the Additional Query Parameter. Its working fine when observed in TCPGateway trace

For the Dynamic Configuration of query, below is the screen shot.


public String FileNetURL(String credentials, Container container) throws StreamTransformationException{

DynamicConfiguration conf = (DynamicConfiguration) container.getTransformationParameters()

    .get(StreamTransformationConstants.DYNAMIC_CONFIGURATION);

DynamicConfigurationKey Parameter1 = DynamicConfigurationKey.create("http://sap.com/xi/XI/System","URLParamOne");

conf.put(Parameter1, "credentials");

return "credentials";

}

Not sure what to enter in the Main Payload parameter name.

Would request to share your knowledge as I am running out of ideas and time.

Regards...

Accepted Solutions (1)

Accepted Solutions (1)

iaki_vila
Active Contributor
0 Kudos

Hi Rebecca,

Have you tried to set UrlParamOne instead of URLParamOne in your dynamic configurartion code?

I've updated because according this note 1742088 - FAQ: PI 7.30 / PI 7.31 HTTP_AAE Adapter is not supported dynamic configuration with http_aae.

If i was you i will raise an OSS to SAP in order to know if it is supported in PI 7.4 or the problem persists.

Regards.

Message was edited by: Iñaki Vila

Former Member
0 Kudos

Dear Inaki,

Yes I have raised OSS to SAP Support and meantime I followed the Note

2020414:Incorrect Query String values in HTTP_AAE receiver adapter processing

which was updated yesterday.

I will update the thread once I receives any input from SUPPORT.

Regards...

ankur_agarwal
Explorer
0 Kudos

Hi Rebecca,

Did you had any luck solving this issue.

Going by the note which Inaki mentioned above (link below) which is not updated version 8 dated 27.05.2015, HTTP_AAE still does not support

dynamic URL configuration via ASMA(Adapter Specific Message Attributes) properties

1742088 - FAQ: PI 7.30 / PI 7.31 HTTP_AAE Adapter

Please let me know how you solved your issue if you finally did it.

thanks,

ankur.

Answers (0)