on 03-28-2007 8:36 PM
Hey guys
i have to configure receiver HTTP adapter for my File to HTTP scenario and i dont know how to go ahead with it,i m actually confused about service number,target host,path etc.
i know the URL where in i have to post the file but what entries do i need to make for the required fields in the receiver HTTP adapter
the receiver is outside our landscape so i guess i will select URL address instead of HTTP destinaation,right?
thanx
ahmad
Ahmad,
Yes you are right. In Receiver HTTP Adapter specify the name of server, the port. The Path contains /<vendor-Specific>/<context-root>/<Servlet-mapping>.
Check this weblog for your reference:
/people/siva.maranani/blog/2005/09/15/push-data-to-mvc-architectured-application-using-xi
Also see this which may help you:
/people/kausik.medavarapu/blog/2005/12/29/csv-file-lookup-with-http-request-and-response-in-xi
/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
---Satish
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hey satish
i got the following URL from the receiver
http://z305.natoil.com:5556/invoke/Inbound/ScorpionNOV?MessageType=REQCRT&inXML=xml
now what will my adapter entries be? also should i select HTTP destination or URL address.The URL is the only thing which i got from them,do i need anything else too?
thanx
ahmad
I'm having exactly the same issue at the moment. I think that the "HTTP Destination" should be set up in Transaction SM59 and then you can reference it in your adapter.
If you are using "URL Address" then in your case the host would be:
Target Host: http://z305.natoil.com
Service Number: 5556
Path: /invoke/Inbound/ScorpionNOV?MessageType=REQCRT&inXML=xml
But I can't figure out why it is called Service number and no "Port Number" - it makes me feel like I'm missing something here - The documentation that has been linked to in other threads like this seems to be out of date.
Can anyone shed some current information on this ?
Hi Ahmad,
Check in Adapter Specific Attributes also
If you want to use URL Parameters, set the indicator and enter the parameters in the fields Parameter 1 to Parameter 6. The parameters are embedded in the HTTP request under the names you enter here.
The technical names of the fields are URLParamOne, , URLParamSix.
The attribute namespace for the adapter is http://sap.com/xi/XI/System/HTTP.
Regards
Chilla
Hello Chandra.
i have the same problem, so my question to that:
if ahmad want to use the parameters for example for a mapping: "MessageType" and "inXML" (which is in the URL) are the names of the the URLParamOne (in http adapter Parameter 1) "MessageType" and URLParamTwo (for second parameter) "inXML"??
is this right?
thanks a lot
alex
Hi,
See , if you are able to insert the entire path in the path then ok.
I mean
Try.
Select URL Address
Host : z305.natoil.com
port : 5556
path : /invoke/Inbound/ScorpionNOV?MessageType=REQCRT&inXML=xml
Else use the adapter Specifi settings and select the check box URL
and enter the rest of 6 parameters for URL only.
i hope you got it
Regards
Chilla
The way I tested thsi was simple.
Created a HTTP desitnaion to an external server in SM 59 and tried a test connection. When i had http:// it didnt connect to the target and when i removed it and gace only the HTTP url it ?( without the http ) it worked and i got the webpage as the response.
So, i guess a http:// is not needed
Regards
Bhavesh
Hey guys
i have made the changes in my scenario and now my settings are as follows
Target Host: z305.natoil.com
Service Number: 5556
Path: /invoke/Inbound/ScorpionNOV?MessageType=REQCRT&inXML=xml
but in MONI i see the status as "Scheduled for Outbound Processing".
does this means there is some problem on my side or their side?also what else can i do to rectify this error?
thanx
ahmad
Hey
i unlocked the msgs stuck in SMQ2 and now i m gettin the following error
<SAP:Stack>HTTP server code 401 reason Unauthorized explanation [B2BSERV.0084.9001] Invalid credentials</SAP:Stack>
one thing to be noted here is that the receiver is not in our landscape,i have givedn the userid and password correctly in the HTTP receiver adapter,what does "Invalid credentials" exactly means?
thanx
ahmad
User | Count |
---|---|
85 | |
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.