cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP request with parameters in headers through sender url

monikandan_p
Active Participant
0 Kudos

Dear Experts,

    There is an integration between third party application and SAP through third party middleware tool .Using HTTP GET/POST calls to reach the third party middleware tool with partnernumber as request and receives RDF/xml as response to get the respective details for the partner numbers.


Note: No need to pass username/Password to get the details from below url.

HTTP call to http://<host>:<port>/sap/POItems?partnerNumbers=1231A000,10020T6DAA01040


If this whole architecture going to replace with PI as middleware,Is there any possible way that PI will accept HTTP requests with parameters in headers?


Kindly suggest some possible way to achieve through PI.


Best Regards,

Monikandan

Accepted Solutions (0)

Answers (3)

Answers (3)

former_member182412
Active Contributor
0 Kudos

Hi Monikandan,

Check this blog for how to set the dynamic URL parameters for HTTP_AAE.

Regards,

Praveen.

monikandan_p
Active Participant
0 Kudos

Dear All,

  The above blog are fine for passing the parameter values,but our requirement is to send http url as request based on (partnernumber=44**8).So url will be dynamic every time  and there will be a change in sender url.

Please let me know its possible through PI and also suggest some ideas.

Best Regards,

Monikandan.

former_member186851
Active Contributor
0 Kudos

Hello Moni,

The link I shared is for dyanmic URL with parameters at the sender HTTP .

Can you check that once.

monikandan_p
Active Participant
0 Kudos

Hi Raghu,

   Can you explain clearly how it will change the sender http url and how it will fulfill our requirement.Because the blog you mentioned is to change the parameter.

Best Regards,

Monikandan

former_member186851
Active Contributor
0 Kudos

Hello Moni,

Your requirement is to get the parameters from HTTP URL using HTTP adapter right?

former_member182412
Active Contributor
0 Kudos

Hi Monikandan,

  • The sender can include parameter in the HTTP URL.
  • You can put the URL parameter into adapter specific message attributes as shown in the blog.

  • After that you can read this adapter specific message attribute in message mapping using dynamic configuration.
  • Check my blog for how to read the adapter specific attribute using reusable dynamic configuration UDF.

Regards,

Praveen.

former_member186851
Active Contributor
0 Kudos

Hello Monikanda,

If your requirement is to get the parameter values from URL using HTTP_AAE you can try using adapter specific message attributes.

Check the first section of the below link

GauravKant
Contributor
0 Kudos