cancel
Showing results for 
Search instead for 
Did you mean: 

How to POST Message to HTTP Adpater?

Former Member
0 Kudos

HI @,

I have a requirement where I need to post XML message directly to HTTP adapter from webdynpro application.

I have tried using HTTP Client availbale and it works fine. But I need help on how to achieve the same in Wed Dynpro for Java?

Regards

Accepted Solutions (0)

Answers (3)

Answers (3)

Former Member
0 Kudos

Hi go through these links

http://help.sap.com/saphelp_nw04/helpdata/EN/82/f4993c03e0cd37e10000000a11405a/content.htm - Processing business data using plain http adapter

http://help.sap.com/search/highlightContent.jsp - configuring the sender plain http adapter

http://help.sap.com/search/highlightContent.jsp -configuring the receiver plain http adapter

Regards,

Surya

Former Member
0 Kudos

Hi,

I have seen these links but they dont have any details as to how can we use it from an application point of view as I tried to post message but its not reaching the http adapter.

Regards,

Former Member
0 Kudos

Hi @,

Thanks I am able to post the message using HTTP adapter SOAP is good solution But in My case I already had XML so its is bettter to directly post to HTTP and its working now.

Regards

bhavesh_kantilal
Active Contributor
0 Kudos

Rather than using http adapters the norm is to use the SOAP adapter.

Define a Webservice of your message interface and then use the WSDL in your WD application.

Regards

Bhavesh

Former Member
0 Kudos

Hi Bhavesh/Seshagir,

Thanks for yr response But My requirement is to use HTTP adpater as the design is already approved.

Is there any help available.

Regards,

Former Member
0 Kudos

Okay BeyondThe obvious,

You can very well use HTTP Approch to send the data from your Application.

Do the following to configure your scenario

1)Create Source Structure as per the Req. and use wat ever the Target Structure

2)Create MT & MI For the corresponding

3)Create Mapping Objects

4) No need to create Sender HTTP Adapter & Sender agreement

5) Create Receiver CC & Receiver Agreement

6) Create Determinations.

Just Reffer the Source XML Structure in your Sender Application Programming inorder to send the data to XI in that Format,

and Use the XI details inside your Webservice programming to send the data to XI( like Sender service, sender interface, sender namespace, xi IP, Xi client, User,pwd)

So by this Once you send the HTTP Request to Xi means data will come to xi and will process further

Regards

Seshagiri

Former Member
0 Kudos

Hi,

You have to use the XI Details in your WebDynpro to send the data to XI that what ever you have used in HTTP Client Test Tool.

Check this EP----XI Integration

https://www.sdn.sap.com/irj/sdn/weblogs?blog=/pub/wlg/1334 [original link is broken] [original link is broken] [original link is broken]

REgards

Seshagiri