cancel
Showing results for 
Search instead for 
Did you mean: 

HTTP adapter - post to URL with parameters only

Former Member
0 Kudos

Hi,

I have a scenario from ABAP Proxy to XI to HTTP Adapter where the URL that is posted to is dynamic and has a series of parameters.

http://www.gateway1.graydon.co.uk/Gateway_core/HLGIServlet?&PUID=GGWDEMO1&PPWD=L1nx&GLANG=E&GFUNNO=A...

Therefore no payload is required in this scenario.

The HTTP Response will be a XML document into XI.

Does these seem feasible to use XI in this scenario ?

Kind regards

Colin.

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Payload is ignored by default in destination

stefan_grube
Active Contributor
0 Kudos

Check, whether the server requests an HTTP GET or HTTP POST.

An HTTP GET is not supported by the HTTP adapter.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

It is an HTTP Post.

I am comfortable with setting the dynamic URL.

The only thing is about the payload. What is done with this or how is it suppressed ?

Kind regards

Colin.

stefan_grube
Active Contributor
0 Kudos

When you work with ABAP proxy, you need to create a message type with at least one element. If the web service does not ignore the payload, you have to delete this in a mapping step. A Java Mapping which does "nothing" (just implements the interface) should help.

Regards

Stefan

Former Member
0 Kudos

Hi Stefan,

I have not utilised Java Mapping before. Can you expand on your idea please ?

Thanks

Kind regards

Colin.

Former Member
0 Kudos

I believe it is possible.

You can use the dynamic configuration to generate a query string as you want. This blog gives you a ways to do it.

/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping