Quantcast
Channel: SCN : All Content - Process Integration (PI) & SOA Middleware
Viewing all articles
Browse latest Browse all 7030

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

$
0
0

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

 

1.JPG

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

 

2.JPG

3.JPG

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.

 

4.JPG

 

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

 

 

Regards...


Viewing all articles
Browse latest Browse all 7030

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>