on 11-15-2015 7:23 PM
In sender rest adapter configuration how we know we need to use json or xml format? This is my first scenario.
Is the adapter polling the webpage at specific intervals and picking data? I dont see wsdl used here.
I have three different webpages in sender side and each have differen urls so do I have to use three sende channels or i can use different urls in same rest sender com chan.
I have three webpage wirh almost same data. when customer clicks on submit button i want the data to be sent to pi. so should i use GET or POST http operation. the endpoint which should be used? pis wsdl endpoint?
the help site is very confusing and i have only used wsdl so far in webservices side
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
polling is supported only by 12 sp right? We are on SP 09
Is it possible?
yes, its avilable from only SP12.
Also my requirement is to select data four different webpages. when end user click on submit button after filling the fields the input data should hit po
i guess its not possible use all 4 url's in same channel.
in sender REST adapter, do we have to give any file to the webservice like we give wsdl to the client when we use soap sender?
no need any action from your side, since quite different than SAOP
Soap ---here webservices need to trigger to PI
RESt---here nothing is triggering, just polling the data same as file or JMS.
so no worry about that..
how message processing happens in sender rest? Rest adapter polls the webservice or the webservice posts to the rest adapter url
here you suppose to check with REST server team , what exact URL's and from where data need to fetch.
and i just want to remind you , incase that server need authenticate with certificate you should use certificates.
also initially you please dont make exact interface with exact structure, try to avoid mapping things and make an dummy FLOW
hi Maheshwara
one last qn, they have given the url
http://www.******.com/enquiry/totalsales.aspx
how do I know whether I can use REST or not? This is the webpage they give. I want to know if I can use REST for this websevice. Sould I ask the IT team whether they support rest protocol? Or just try with development and find out
Midhun,
I completely understand your scenario. You can definitely use HTTP_AAE adapter (or SOAP adapter). Remember one thing REST services means doesn't necessarily you have to use REST adapter .. It's basically light weight call using URI..
Now regarding your query on polling. This will never work in your scenario. Consider this example, you have to call exchange rate from some third party every 10 minutes or so to get the exchange rate for a given pair of currencies. This you can definitely achieve using the polling mechanism. Here you are polling for some information from the REST API. But in your scenario, the users are submitting some information and on the action of submit it should hit PO/PI. Do you think polling will work in this scenario. It's the other way around. You are not polling, they are pushing the information.
Let me know if it's still not clear!
Thank you,
Justin.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin
I got your point.
Which is best HTTP_AAE or SOAP?
This is a websevice. I thought HTTP_AAE is used only for webpages that doesn't support wsdl.
In the webpages, I have data like this
1) fields a, b, c,d
second webservice a,b,c, e
throd ws a,b, c,d , g.h
fourth ws a,b,c,d, f, i
so in sender side i should create one dt with all the fields a, b, c, d, e, f,g, h and give it to all the different webpages. they would be using the same structure to post messages, right
Midhun,
So I assume all the data from all the 4 web pages will be of same structure, Correct? You don't have to use REST adapter. Use HTTP Sender adapter. Ask them to POST the message (using the URL provided in the below SAP help)
Configuring the Java HTTP Adapter on the Sender Channel - Advanced Adapter Engine - SAP Library
Thank you,
Justin,
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Justin.
No all the webpages don't have the same exact data.
some has four fields some has five and some has six fields, most of the fields are common.
Also the end user fills the webservice and click on the submit button, it should reach PO. I can use SOAP here.
However the client is asking about REST
Hello Midhun,
Refer the below links
https://scn.sap.com/docs/DOC-64306
Michal's PI tips: Exchange Rates from an XML file on a web page - REST, AXIS
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
there are four different webpages. they all have customer details. when the end user clicks on the submit button it shoud reach ecc customer table through sap po.
one option is i can create a wsdl, give it to them and they use at the sender side. soap to proxy scenario
we are trying to do with rest adapter sender side. po sp 09 is the version
shuld i ask the webpage guys whethr it supports rest?
and where do we add the four differen webpages in sender rest adapter
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
6 | |
6 | |
6 | |
5 | |
4 | |
3 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.