on 05-15-2014 5:58 AM
Hi Exeperts,
I have a scenario http post to proxy scenario. where i need to send Text HTTP Body using http sender.receiver side i am having proxy.
Please let us know what are the configuration i need to take at sender side and receiver side .
Regards
Ravinder.s
Hi ,
Have this question sloved? I think I am in the same trouble now.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
what are the configuration i need to take at sender side and receiver side
What exactly is not clear? Where do you struggle?
/Udo
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Martin,
i saw your thread in sdn.
my client is using sender HTTP post method .they send only text body with one field .like "qwertyyuii"
this value i need to capture using receiver proxy.
I am stuck with the sender side if client send only text body how should capture ?
how to map with target side?
Please give me any examples .
Regards
Ravinder.s
Hi,
>>Hi Marten,
My name is Udo.
>>what are the parameters i need to select in sender Http
I guess you mean "sender http adapter". There is not much to configure. Take the standard values, take http post if you just want to send something.
>>for above requirement achieve.
If you just send a string, instead of xml, you need a corresponding mapping to create proper xml. Otherwise your proxy receiver interface will crash. Message Mapping and XSL would require xml input, therefore you have to use Java (or ABAP if you have a double stack) to map the string into an xml field.
You generate the proxy depending on your receiver xml structure (receiver interface / message type), you put some ABAP code into your proxy class to do something with the transferred values.
/Udo
Hi Udo,
Thanks for your valuable reply.
i understand the process but still i am having some doubts in sender HTTP.
1.If you have any xsl code or java code please share .
2. my client is using dual stack abap/java.
3.please share the any udf for map the string to the target side?
4. i already developed the proxy code.
Regards
Ravinder.s
Hi Udo,
One small correction in above message.
my client sending only text body "ydydydydhdhdh" in html post.not string, if they pass the string(in xml with one string data ) in CDAT ,I can use java mapping .
but my scenario data is coming in the text values only.not XML not string.
Please help us its very important.
Thanks in advance.
Hi,
1.If you have any xsl code or java code please share .
You need Java (or ABAP), not parsing the input, creating xml.
2. my client is using dual stack abap/java.
Your desicion to use Java or ABAP. From my point of view ABAP is easier, but it depends or your experience.
3.please share the any udf for map the string to the target side?
An UDF is part of a Message Mapping. Does not work here.
4. i already developed the proxy code.
That s a good start
/Udo
Hi Ravinder,
Have you checked this William Li's blog to send a http post request?.
You can set the post method like shows the documentation Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library, and pay attention the URL needed to call it.
For server proxy configuration you can follow the receiver part in this wiki Step-by-step FTP to ABAP Proxy - Process Integration - SCN Wiki
Regards.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Thanks for replay,
i checked the William Li blog but my requirment is diffrent
my client will send only text body like " urwiurwiuerywqprwqe" in post .
with out xml body they are going to send the value of the filed in http post.
my question is what are the configuration in Http sender adapter and how should i capture it receiver proxy side.
Please replay with any examples
Thanks in advance .
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.