cancel
Showing results for 
Search instead for 
Did you mean: 

Additional URL-Parameter

Former Member
0 Kudos

Hi,

I want to pass an additional parameter in my http address like that:


/sap/xi/adapter_plain?service=service&namespace=namespace&interface=if&QOS=BE&TEST=123

I have tried to read my parameter "TEST" in an xslt-mapping but it didn`t work.

Is it possible to pass additional parameters into the XI?

If yes, how do I read the value?

Thanks in advance

Karsten

Accepted Solutions (0)

Answers (2)

Answers (2)

Former Member
0 Kudos

Hi,

Refer the following thread to access HTTP URL Parameters using Dynamic configuration

<a href="https://forums.sdn.sap.com/click.jspa?searchID=7208321&messageID=4416212">https://forums.sdn.sap.com/click.jspa?searchID=7208321&messageID=4416212</a>

Regards,

Sudharshan N A

Former Member
0 Kudos

I don't think this is possible...

FYI..the adapter_plain is a service whihc is handle by the class -CL_HTTP_PLAIN_INBOUND, method - IF_HTTP_EXTENSION~HANDLE_REQUEST.

See the documentation given in the code...

  • call-syntax: XI 3

  • http://hostname:port/path

  • ?namespace=???

  • &interface=???

  • &service=???

  • &party=???

  • &agency=???

  • &scheme=???

  • [&qos= EO|BE|EOIO]

  • [&msgguid=???]

  • [&queueid=???]

  • [&trace=[1|2|3]]

the parameters that are actually taken should be in any of these...

Can't you pass it along as part of the payload ?

Former Member
0 Kudos

Hi,

I agree with Renjith, had to be a reciver HTTp from XI to outside, you could have accomplished this, there is a way. But for a sending HTTP adapter, the parameters sent usnig the query string are only support to SAP defined, you cannot use custom variables.

is there a reason why you dont want to send the parameters in the payload???

Cheers,

naveen

Former Member
0 Kudos

Hi,

we can`t send the parameters in the payload because we have no access to it.

The only location we can place additional parameters is the URL.

Therefore we will use a servlet to read the url-parameter if the XI can`t read it.

Thanks for advice

Karsten

deidre_logan
Participant
0 Kudos

We are working with this Service too but we have a different challenge. Our customer has a limit of 100 characters for the URL.

by the time you specify all the information needed for the /sap/xi/adapter_plain service we are way over the 100 character limit.

Any ideas how we can use an Alias URl that we can then point to the /sap/xi/adapter_plain?namespace=xxx?interface=xxx?service=xxx URL?

I was thinking of creating a new service in SICF that would call a class or method to call the /sap/xi/adapter_plain service...

any ideas if this is feasible or any other suggestions.

Thanks

Former Member
0 Kudos

Logan,

Did you find a solution to your question ?

It highly interesses me.

Thanks a lot