Service Number/Port Number in HTTP receiver adapter
Dear Experts,
I have a scenario where I am to do HTTP Post to a 3rd party web application via a url in the following format:
https://x.y.info/abc/sap/customer.cgi
The HTTP Post data is submitted to the CGI script which is then processed further by the web application. The URL works ok via IE or even PI soap receiver adapter is able to post XML message to the URL but using SOAP.
But I have to do only HTTP Post and now my problem is that the URL dont have a so called port number that I can fill in the "Service Number" field in HTTP receiver channel or in SM59.
Does SAP always need a service number or how to deal with this case where server doesnot expose the port.
Thanks in advance.
Br
Suman
Hello,
The HTTP Post data is submitted to the CGI script which is then processed further by the web application. The URL works ok via IE or even PI soap receiver adapter is able to post XML message to the URL but using SOAP.
By definition, the SOAP Adapter is also using HTTP POST as its HTTP method the only difference is that there is a SOAP Envelope that is being sent.
But I have to do only HTTP Post and now my problem is that the URL dont have a so called port number that I can fill in the "Service Number" field in HTTP receiver channel or in SM59.
Service number is the port number of the URL that you will be connecting to, if it is not shown, it is assumed that it is 80 for http and 443 for https (as Gzegorz mentioned). Since you are using HTTPs, you should use HTTP Destination that points to an SM59 configuration.
Hope this helps,
Mark
Similar Messages
-
How to run Indesign CS3 as a Service with Port number
Hello all,
I would like to run the InDesign CS3 Server as a service on Windows. It seems that after installing the Server it automatically installs as a service. But where can I assign the port number. If under Services properties of InDesign Server under Parameters I mention -port 1050 on Ok button it removes the parameter information.
I am doing right or is there some other way to start the Server as Service with Port number.
Thank you all in advance.
Regards
Farzana.Hi Sascha,
have you tried to remove the service and install it manually?
\"Path to IDS"\InDesignServerService /install /u
\"Path to IDS"\InDesignServerService /install
I guess you've tried to start the instance in the console already (successfully?).
Regards
Ingo
Am 05.07.2011 um 12:18 schrieb 1000grad_Sascha:
Hi Ingo,
I've installed the Snap-In and configured one instance. Maybe it's worth mentioning that there are some instances running at the same time, which have been started using the console. Hope that's not interfering. However, the MMC-configured instance uses a different port.
I tried to start the service with a huge range of users having all imaginable privileges. The common way of using either "LocalService" or the Local System Account (which has admin rights for me) doesn't do the job.
cheers,
Sascha
> -
What to provide in HTTP Receiver Adapter ?
Hi,
I am using HTTP Receiver adapter for HTTPS connection to 3rd Party.
3rd Party system has provided URL / HOST / PORT details.
However i am not sure what i can provide as part of Target Host / Service Number / Path Prefix?
Regards,
Rakesh
Edited by: Rakesh Bhagat on Mar 11, 2009 10:03 AMHi Rakesh,
However i am not sure what i can provide as part of Target Host / Service Number / Path Prefix?
e.g http://www.sdn.sap.com:443/irj/scn/thread
Target Host: sdn.sap.com
Service Number: 443
Path Prefix: /irj/scn/thread
You can only enable SSL by:
1. creating an RFC Destination using TCODE SM59
2. install the certificates using TCODE STRUST, then restart ICM afterwards
3. call your RFC Destination in SM59 using HTTP Destination (instead of URL Address) option in HTTP Receiver Adapter
Hope this helps,
Edited by: Mark Dihiansan on Mar 11, 2009 3:14 PM -
HTTPS communication using HTTP receiver adapter URL address as Address Type
Hi All,
If some one who has tried HTTPS communication using HTTP receiver adapter using URL address as Address type can you please guide me what are the steps need to be done.
Note : Address type is a parameter in HTTP adapter setup .
Regards,
ReddyHi,
Check this,
Configurations in Integration Directory
The plain HTTP adapter gives the receiver system the following specifications:
— Specifications for addressing using a URL address:
Target host, service number, and path prefix including query string:
http://<hostname:port>/<path>?<query-string>
You can identify the target host (HTTP port) of a SAP Web Application Server using
the
ICM monitor
Host and port of the HTTP proxy (optional if there is a firewall between the plain
HTTP adapter and the receiver system)
Authentication data for the receiver system.
See also: transaction Display and Maintain RFC Destinations (SM59).
— Specifications for addressing using an HTTP destination:
HTTP destination
— Parameters from the communication channel for technical routing
Content type (the entry text/XML is expected as default)
Specifies the format that the message contents (the payload) should have.
Optional header fields for the receiver-specific protocol
Attributes for the query string
1. Sender party
2. Sender service
3. Receiver Interface
4. Message ID
5. Quality of service
6. Queue ID
All attributes are selected except for the queue ID. If you do not want a value to be
transferred to the receiver, deselect it. The queue ID is only required if the quality of
service is EOIO.
Specifications for payload manipulation
XML code (default UFT-8)
Specifies the character set.
URL escaping
Presents the XML in a URL-enabled format. Special characters that could be
interpreted as control characters are replaced with escape characters (masked).
Prolog
Enhances the payload for particular servers (optional, see below).
Epilog
Enhances the payload for particular servers (optional, see below).
Enhancing the Payload
Regards
Seshagiri -
HTTP Receiver Adapter payload as single line plain text with out any tags.
Hi PI experts,
I have a strange problem in http receiver adapter.
Sender RFC (SAP) Receiver: HTTP.
Receiver system expects the output from XI in the below format in a single line plain text with out any tags in the payload. and the content type should be application/x-www-form-urlencoded
Group=Test&Sentinel=Web%20Server&Facility=5345&Order Number=XT-XWHM-Y-NA&Serial Number=123456&@LABEL_QUANTITY=5&@LABEL_NAME=111114_Q
Is there any way to achieve this using http receiver adapter. Business is not ready to accept the output from XI not even in a single element instead they only need it as a JUST a plain text.
Appreciate early response on this.
Thanks in Advance,
JitenderDear Ola,
Could you elaborate how you achieved in catching the response data from the receiver in case of HTTP receiver adapter?
The target service is not a WebService but some python script that must to receive some paramters via POST request.
HOW can I post this parameters?
Here you entered the fields of the message type of the request in the header parameters of the receiver adapter? Thats fine.
But what about the message type and vice versa of the response from the receiver?
Regards
Rebecca -
HTTP Receiver Adapter : Dynamic URL
Hi,
I have a scenario where I wish to build a dynamic URL for the HTTP Receiver Adapter. The URL will contain a customer number which is present in the mapping.
The help seems to suggest that this is possible :
<i>If you want to use an HTTP destination or URL set by the mapping, set the URL or HTTP Destination indicator. (The indicator displayed depends on the Addressing Type you selected above). If you set the indicator, the URL or HTTP destination set dynamically is called by HTTP.
If the message header does not contain the URL or the HTTP destination, and you have set the Fail If Adapter-Specific Message Attributes Missing indicator, the XI message is set to status System Error. If you do not set the indicator, the URL or HTTP destination defined statically in the communication channel is used.</i>
However, it is not very clear where the URL needs to be set dynamically.
Does anyone know how to achieve this ?
Cheers
Colin.hello to all,
We have a unique issue with one of our customers that is limited to 100 character URL. The current url is http://mycompany.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck&interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN
Is there a way to have a URL like
http://mycompany.com/sap/xi/adapter_plain?namespace=urn%3Agoodyear%2Ecom%3AAIT%3AInventoryCheck
and then somewhere in the process add... &interface=AITInventoryCheck_Abs&service=HTTP_AIT_InvChk&QOS=BE&sap-client=010&sap-language=EN
So the data comes to an F5 through the DMZ to the SAP webdispatcher then to the SAP XI system.
Any ideas if this is possible or how you could start with a shorter URL?
Thanks,
Dede -
Regarding Http Receiver Adapter Details.
Hi Everyone.
When do we use http Receiver Adapter?
I want to configure File to HTTP Scenario.
For Receiver Adapter, What should i Specify Addressing Type .If I select the URL Address
What I need to give values for Target Host, Service Number, Path and Similarlly If I select Addressing Type as HTTP Destination, What I need to give value for HTTP Destination.
Regards,
VarunHi,
check this blog
Push Data to MVC Architectured application using XI
XI - SAP Business Connector integration using the HTTP adapter
http://help.sap.com/saphelp_nw2004s/helpdata/en/44/79973cc73af456e10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm
CSV File Lookup With Http Request and Response in XI
Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Regards
vasu -
Manipulate the URL in HTTP receiver adapter possible?
hello together,
i have an HTTP receiver adapter. To the parameters which i can tick in XI as default (sender party, sender service, ....) i want to add some parameters too.
who can i do that? i have read the weblog from william li. i tried to change the parameter link the comments at the end of the blog (see kurt rasmussen) but nothing happend..... the parameters are not available....
can somebody help me?
thanks a lot
alexhello michal,
yes, i did. i took the information from http://help.sap.com/saphelp_nw04/helpdata/en/43/64dbb0af9f30b4e10000000a11466f/content.htm and tried to put some special information to URL. nothing to see.
is it mandatory to use a mapping to fill the URL parameter fields, isn't it??
i am using a port sniffer to see the URL and the fields (parameters) in it.
thanks a lot.
alex -
Hi,
I am working on a scenario, where I am posting xml message on https url, for which I am using HTTP receiver adapter.
I have created RFC destination of type 'G' in sm59 to make an https call, where I have provided following details:
In Technical Settings:
Target Host - <Hostname>
Service No. - 443
Path Prefix - <url path>
Logon Security:
SSL - Active
SSL Client Certificate - Default SSL Client (Standard)
UserName - <Username>
Password - <Password>
I have used this RFC destination in 'HTTP Destination' of HTTP receiver adapter.
When I test this interface, I am getting this error.
- <SAP:Error xmlns:SAP="http://sap.com/xi/XI/Message/30" xmlns:SOAP="http://schemas.xmlsoap.org/soap/envelope/" SOAP:mustUnderstand="">
<SAP:Category>XIAdapter</SAP:Category>
<SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code>
<SAP:P1>110</SAP:P1>
<SAP:P2 />
<SAP:P3 />
<SAP:P4 />
<SAP:AdditionalText />
<SAP:ApplicationFaultMessage namespace="" />
<SAP:Stack>HTTP client. Code 110 reason</SAP:Stack>
<SAP:Retry>A</SAP:Retry>
</SAP:Error>
Can you please help me resolve this issue. Please let me know, if I am following the right steps.
Thanks in advance
Regards,
AmitHi -
Since you're using the http destination option in the channel, you just specify the user/pwd in the destination.
Regarding the issue, first, for the Logon/Security option in the destination, unless you'll be using a client certificate to authenticate, you should choose option ANONYM SSL Client (Anonymous) - you still provide the user/pwd in the Logon section. Make sure you have imported the root cert of the CA verifying the server's identity into the client certificate list within STRUST (node SSL Client (Anonymous)).
Also, for some hints on the issue, look at the ICM trace - tcode SMICM->Goto->Trace File... you may need to increase the trace level - SMICM->Goto->Trace Level... After resolving the issue, make sure to set the trace level back to default.
Regards,
Jin -
How to set HTTP header field "cookie" with http receiver adapter?
Hi,
I am using http receiver adapter (not axis) in a scenario. I could not set a parameter with key cookie in http header. Is there some kind of restriction to set it? I am able to set others like connection and create custom fields using ASMA and dynamic key configuration via UDF on mapping.
Could you please comment on, is cookie http parameter special or noneditable by PI's http adapter? I am looking for a solution without editing any abap code...
Regards,I believe it is possible since axis adapter provides very same functionality. Let me summarize my scenario may be it helps:
I am trying to call series of webservice lets say in a BPM. First service (login service) will provide me with a session id (in http header with key Set-Cookie) then I will call another service which has that session id in its http header with key cookie then I am going to logout. So I am testing the second part now, but it doest let me send cookie http header parameter.
I hope I clarified a bit more my problem.
Regards, -
HTTP receiver Adapter configuration
Hi All,
I want to post an XML message using HTTP Receiver Adapter for my BPM scenario (Idoc to HTTP service)
The receiver has Oracle gateway and it expects message in following format.
HTTP Header
HttpVersion: HTTP/1.1
Authorization: Digest username=myusername,
realm=[email protected],
nonce=dcd98b7102dd2f0e8b11d0f600bfb0c093,
uri=/dir/index.html,
qop=auth,
nc=00000001,
cnonce=0a4f113b,
response=6629fae49393a05397450978507c4ef1,
opaque=5ccc069c403ebaf9f0171e9517f40e41
Contentlength: 12345
Contenttype: text/html
HTTP Body
TRANSPORT_PROTOCOL=OXTA
TRANSPORT_PROTOCOL_VERSION=1.0
REQUEST_TYPE=SEND
MESSAGE_ID=A1234567890ZZ0987654321
MESSAGE_TYPE=XML
MESSAGE_STANDARD=OAG
TRANSACTION_TYPE=PO
TRANSACTION_SUBTYPE=PROCESS
DOCUMENT_NUMBER=12345
PARTYID=9999
PARTY_SITE_ID=8888
PROTOCOL_TYPE=HTTPSOXTA
PROTOCOL_ADDRESS=HTTPS://www.me.com/servlets/oracle.ecx.oxta.
transportAgentServer
USERNAME=myusername
PASSWORD=myloginpassword
ATTRIBUTE1=
ATTRIBUTE2=
ATTRIBUTE3=
ATTRIBUTE4=
ATTRIBUTE5=
PAYLOAD=<xml ... ...>
I think this is not a typical HTTP URL type of format, is it?
And I am not sure how I can build the message. Where do I put the parameters like TRANSPORT_PROTOCOL, TRANSPORT_PROTOCOL_VERSION, REQUEST_TYPE etc in the HTTP adapter?
Also is there any place where I can see the final actual XI message that is sent to HTTP service?
Any help will be really appreciated.
Thanks and regards,
Rahul.Hi Rajeev,
The receiver system should have the details about the content type it expects. I got that from the team who monitors our receiver system.
The HTTP Body of HTTP adapter is made up of PrologPayloadEpilog.
So I added the paramter list that receiver system expects as part of the Prolog. Refer to the HTTP body that I have posted in my earlier message. Out of that till ".....Payload=" is added to Prolog and XI then appends actual payload to it.
To be precise -
TRANSPORT_PROTOCOL=OXTA&TRANSPORT_PROTOCOL_VERSION=1.0&MESSAGE_TYPE=XML&MESSAGE_STANDARD=UNIVERSAL&TRANSACTION_TYPE=XXXE&TRANSACTION_SUBTYPE=ORDER_I&DOCUMENT_NUMBER=PO12345&PARTY_SITE_ID=ESAP_ORDER_I&USERNAME=***&PASSWORD=**&PAYLOAD=
So in the end it worked out well.
Cheers,
Rahul. -
Remove namespace alias for HTTP receiver adapter
hello all,
I have a scenario, IDOC->XML (HTTPS). Standard output of PI has ns0: as prefix for each xml tag (ns0 alias for namespace)
I want to remove the namespace alias while preserving the namespace in the output. So removing namespace reference in external definition is not a option.
Is there any way to use XMLAnonymizerBean for HTTP receiver adapter? What are other alternatives (java mapping)?
Thanks,
sachinThanks stefan, prateek.
Prateek: I checked this blog earlier. It talks about inbound processing. My scenario is outbound HTTP and I am not sure how I can use specific adapter service as mentioned in blog in outbound case as other scenarios are using standards adapter_plain service.
Stefan: I will try this approach.
regards,
sachin -
Dynamic URL for HTTP receiver adapter
Hi all,
when the XI send the http request to the target system, the format maybe like this:
header + body the body is including: Prolog, payload and Epilog
here is about the target system have a 'input' parameter(maybe string type)
is it possible to pass the 'head + body' these value(or maybe the whole http request message) into input
i mean is it possible to set the dynamic URL for http receiver adapter like this:
http://host:port/path?input=<the header and body>
i have searched the blog Dynamic Configuration of Some Communication Channel Parameters using Message Mapping
Link:[/people/william.li/blog/2006/04/18/dynamic-configuration-of-some-communication-channel-parameters-using-message-mapping]
and the similar threads in the forum
please give me some advice
thanks in advanceWhen a HTTP server requests the whole message as URL parameters, then I assume that the server also requests an HTTP GET, which is not supported by XI.
Could you check this?
Regards
Stefan -
HTTP Receiver Adapter. Pls advice
Hi All,
I have response from System A already present in XI.
I need to send the response from System Aa present in XI to other System B through HTTP Receiver adapter in synchronous manner means that System B should send response back to XI.
Can HTTP Receiver adapter be used for Sync Communication in my scenario.
Please send blogs/link for it
RegardsHi Henry,
Refer the below links:
http://help.sap.com/saphelp_nw04s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/frameset.htm
Re: HTTP Sender - how to read URL Parameter USER id into Mapping
/people/amol.joshi2/blog/2006/06/28/must-fire-a-http-get-from-xi---try-this
http://help.sap.com/saphelp_nw04/helpdata/en/82/f4993c03e0cd37e10000000a11405a/frameset.htm
http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2Fsap%2Forders
http://sap-ag.com:8088/sap/xi/adapter_plain?service=sender&namespace=urn%3Asap-ag%2Ecom&interface=%2Fsap%2Forders&qos=EO&msgguid=3C61F6C12F1E2DD1E10000000A1145AB
Thanks,
Satya Kumar
Reward points if it is useful..
Edited by: SATYA KUMAR AKKARABOYANA on Apr 15, 2008 10:26 AM -
Code 110 Reason Error in HTTP Receiver adapter
Hello
I am having proxy to HTTP Receiver scenario in which i am calling the target application URL through HTTP Receiver Adapter. This interface is async interface and hence i am not expecting any response from the target system.
When i execute my interface the target system receives data from XI but in SXMB_MONI it sets the status of the message as "<b>Automatic Restart</b>" with the error description as "<b>HTTP client. Code 110 reason</b>" in HTML Code area <b><SAP:Code area="PLAINHTTP_ADAPTER">ATTRIBUTE_CLIENT</SAP:Code></b>
This is causing multiple messages stuck in the queue and presently i am manually clearing all the messages.
i checked the quality of service of the incoming message which is correctly setted as <b>Exactly Once</b>.
Is there any configuration missing?
Thanks in advance.
Regards
RajeevHi Rajeev,
1.)Check in SMICM if your HTTP service is running or not.
2.)If its running fine then you can check whether your SSL certificate is configured properly or not.
Also follow the below mentioned links :
HTTP 110
HTTP Receiver Adapter -> HTTP client code 110 reason error when sending
*Pls reward with points if helpful*
Regards,
Shibani -
Synchronous HTTP Receiver adapter
Hi,
I am configuring Synch HTTP receiver adapter. I have created synch message and did message mapping, etc. I am getting some message back from the receiving system but it doesn't have header info like namespace, service, interface name. Hence it fails in response mapping. How do I solve this? Does the receiving application have to send me this info?
thanks,
KPHi,
I presume that the Response message type and the Receiving message types have the header structure defined in it. If this is not the case, you need to add the header info to the Response message type.
If it already has, then:
A) You can either create the relevant mapping between the Response message type and the Receiving message types. Here, you can fill in the constant values, as you know the most of the relevant header info.
B) If this is not the case, the receiving application has to fill in this header info in the Receiving message type.
Hope this helps,
Bhanu
Maybe you are looking for
-
Improving Compressor Performance
I have a 8 core Mac Pro, and compressor doesn't do much to utilize all of those processors to their potential. I get in the 40-60% usage range depending on the codec being used. Is there anyway to boost these up to closer to 100%? I've upped my Qmast
-
Hi, I am displaying two ALV's in the output. I am using cl_gui_alv_grid to display the ALV. When I run my program in background I get spool anly for one ALV which I am diaplaying first but not the second. I need to have both the ALV's in the spool. P
-
Payment method is not updated in FBL1N in automatic postings
Hello Experts, Can you tell what are the reasons of not updating the payment method when automatic posting is done, ( In FBL1N tcode, when the balances are generated, it is found that fot the particular users the payment method D is not updated in au
-
I did this once a very long time ago on the logic trial, and I forgot how to do this. The manual doesn't seem to be helping... I have a synthesizer channel strip, and in this one particular region I want to automate its cutoff frequency so that when
-
HOW to Adapt forms with jaws,Zoomtext-VERY VERY URGENT
Hi All, Can anyone tell me about adapting oracle forms/applications to use with JAWS,ZOOMTEXT or Speech to text software. I appreciate an early response. Thanks