on 06-20-2006 5:38 PM
Hi,
Does synchronous interface means I have to use BPM.Is it possible I can do without a BPM..
eg..HTTP -> RFC
i submit a form and expect a result from rfc
Kindly let me know your comments on how to go about such a scenario.
THnks
Hi,
a purely synchronous scenario can be done without the usage of BPM. BPM is only needed if you have to bridge between synchronous and asynchronous.
Regards
Christine
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
You dont need BPM for using with HTTP to RFC scenarios , or sync scenarios :
Hope htis might give u an idea:
Vara
[PLEASE REWARD FOR POSTING]
Hi,
Using the test code for html it worked fine.
2 things.
one The messages are not shown in the monitor(sxmb_monitor).only if it fails due to some reason it shows up.
two, i tried to create a simple html page submitting to the url with the ?+all the name,value pair.but it would not work reason is i don't know how to pass the payload.the payload i pasted it in the textarea and the name of the textarea is payload.
in the monitor i am seeing in the main document....
payload=%3C%3Fxmlversion%3D%221.0%22encoding%3D%22UTF-8%22%3F%3E%0D%0A%3Cns0%3AMT_FORMxmlns%3Ans0%3D%22http%3A%2F%2FZPROTOTYPE%22%3E%0D%0A++%3CVALUE%3E10%3C%2FVALUE%3E%0D%0A%3C%2Fns0%3AMT_FORM%3E
I need the xml i put in the text area...
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
when I submit to the url(xi url) with the plain_adapter as the path it is going for HTTP rc 500 internal server error....
I am not using the code given in the course material since it is javascript submit which call my local page itself ( i have created a html in the desktop).
NEED SOMEMORE INPUTS TO CRACK THIS.
THNks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
I guess I found http -> rfc synchronous can be done without using bpm.
But my problem is what is the url that the submit(form post) will be pointing to.will it be one i use to retrive the integration builder(sxmb_ifr) and the same port...or will be something else for the http client to capture it...(SICF stuffs)
This is what I got from help.sap.com.
http://<hostname:port>/<path>?<query-string>;
what should be the path...and query-string i guess i can pass what ever is required for the sender service etc...
but for the payload what is the parameter name i should pass.i am planning to having now as a text box and enter the payload xml in it.
when the rfc returns the values it would be xml format i guess i need to map it to an html document.....how do i do that...just transformation would still give me xml file again..
Hope I am clear...
NEED YOUR EXPERT COMMENTS...
THnks
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Chinna,
When u submit the form u should pass the following one
function SendData() {
var mycall = 'http://'
+ document.myform.myhost.value + ':'
+ document.myform.myport.value + '/sap/xi/adapter_plain?bs='
+ document.myform.mysystem.value + '&namespace=' + myescns + '&interface='
+ document.myform.myinterface.value + '&qos=' + document.myform.myqos.value + '&sap-client=' + document.myform.myclient.value +'&sap-user=' + document.myform.myuser.value +'&sap-password=' + document.myform.mypass.value +'&sap- language=E';
AND finally
<input type="hidden" name="myhost" value="xiserver">
<input type="hidden" name="myport" value="8000">
<input type="hidden" name="mysystem" value="PurchaseOrder_BSservice">
<input type="hidden" name="myinterface" value="PurchaseOrder_out">
<input type="hidden" name="mynamespace" value="urn:xi:hcl:powebapp">
<input type="hidden" name="myqos" value="BE">
<input type="hidden" name="myclient" value="300">
<input type="hidden" name="myuser" value="XYZ">
<input type="hidden" name="mypass" value="abxde">
<input type="button" value="SUBMIT" onclick="return SendData()">
Hope this can help u ...as i have used this for Http --XI --RFC
Check this once and try by installing Tomcat server or other tool...
If any queries do reply...
Regards,
Sridhar
User | Count |
---|---|
98 | |
11 | |
11 | |
10 | |
10 | |
8 | |
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.