HTTP reveicer adapter - how?
Hello,
I am using this adapter for the first time.
My address for the http receiver is :
https://www.dummy.net/web/a2a_demo_idoc/?senderSystem=S_TEST
I would use the parameter URL in the http receiver adapter comm channel and add this address
in its full length in the target line in comm.channel.
I have no more information about the receiver.
We will enable this address in the firewall, so we do not need user and pwd.
Can anybody give me a feedback if this is correct?
I would appreciate your support.
Best regards
Dirk
Hello,
here I am back!
There was a problem with the named address as I expected.
We added the http-Address in SM59.
But the test was not successful because the address generated by SAP System expects obviously a service no. which we don´t have.
So filling the whole address into the line of target system generates an address where a service no. 80 is added at the end.
Result: Connection test from SM59 got a "successful" but connection via SAP PI failed.
Trace from SXMB_MONI: HTTP-Server Code 400 Reason Bad Request Explanation Bad
Trace level="2" type="T">HTTP-Destination : HTTP_TEST_PARTY not successful
When separating the address with
target system = https://www.test.net/web/a2ademo_idoc
service no. = empty
path prefix = /sender_system = S_TEST
we got such a result: https://www.test.net/web/a2ademo_idoc: 80 /sender_system=S_TEST.
And missed the connection test because of the added service no..
Adding a service no. = 00 had the same result.
-> not succesful
By< the way, using the http-address in internet browser was successful! So the address is well defined.
Do you have any idea how to solve this issue?
Best regards
Dirk
Similar Messages
-
How to trace HTTP receiver adapter error
Hi All,
My scenario is to send PO details to vendor site (HTTPS URL). MY SSL configuration is complete and I have used the SSL certificates in RFC destination of type 'G'. When I test RFC destination connection, it gives me the correct response as '200'.
This RFC destination is used in HTTP receiver adapter of XI to connect to site and post PO xml document. It is passing successfully through Integration Server, as I get success flag in 'SXMB_MONI'. But, it is not reaching our vendor's site.
Can someone help me, with what's going wrong, or how can I trace the error.
Thanks & Regards,
AmitHi Sadhna,
It's a B2B scenario, where my sender is configured correctly and the receiver as well.
In sxmb_moni, I am getting successfull status. But, it is not reaching receiver.
Thanks & Regards,
Amit -
Plain HTTP Adapter - How to add CR/LF into Prolog?
Hi all!
I have to do a multipart/formdata request to an external HTTP Server. This requires to set boundaries etc. AND
to add Carriage Returns / Line Feeds into the HTTP-Body.
I think I could solve the problem using the Prolog / Epilog functionality of the HTTP Plain adapter - the only
thing that is missing now is <b>how to add Carriage Returns / Line Feeds into the Prolog / Epilog Field</b> within the communication channel configuration. It seems
that there is no "escaping possibility" - the HTTP Adapter writes the prolog "as it is entered" into the htto-Body of the request.
Any ideas?
Many thanks in advance,
AndyI recommend using Java Mapping.
Stefan -
How to call REST DELETE operation in HTTP binding adapter
Hi
I am using HTTP binding adapter to call rest service and have made GET/POST works. however I also need to call DELETE operation.
anyone know how to call DELETE in HTTP binding adapter?
thanksCreate a uriTemplate like this
/auth?uname={uname}&pass={pass}
use GET method only.
generate the personalization keys. -
How to send attachments using HTTP Binding Adapter?
How to send attachments using HTTP Binding Adapter in Jdeveloper?
Requirement: I need to send attachments to a system which can communicate with the middleware using https only.
Kindly suggest..
Edited by: Richa Juneja on Jan 28, 2013 4:03 AMHi,
Following links may help U
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
http://help.sap.com/saphelp_nw04/helpdata/en/3c/b4a6490a08cd41a8c91759c3d2f401/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/29/5bd93f130f9215e10000000a155106/frameset.htm
to know the basics about soap adapter u cn check out this link
/people/padmankumar.sahoo/blog/2005/02/15/an-overview-of-soap
to get in detail about the attachments chk out this link
hi i am unable to attach an attachment in File to mail scenario
Regards
Pullarao -
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, -
How to configure the Http sender adapter
Now i have look through the sap lib about the http sender adapter
and i know the url is
http://hostname:port/path?namespace=<...>
&interface=<...>&service=<...>&cmd=T&loaderXML=< message object >&end=yes
My questions are:
1)the path in the URL is "/sap/xi/adapter_plain", if not, what is it?
2)the message payload is right?
any reply is appreciated
Thank you very muchHi Leo,
For a HHTP Scenario:
DESIGN:
1. Create DataTypes for source and Destinations. Create elements for all the text fields of your HTTP Client so that they can all be mapped into the destination file
2. Create MessageTypes for the two datatypes.
3. Create Message Interfaces. The One for HTTP is the sender, Asynchronous ( as no response is expected) and one for File is receiver, asynchronous.
4. Do the mapping. It will be mostly a one to one mapping of the fields.
5. Create the Interface Mapping.
Configuration:
1. Import your Business System under your Configuration Scenario.
2. Create 2 communication channels. One for Http as a sender and one for your receiver say IDoc.
Check these links for the configuration part.
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
3. Do the Receiver Agreement for Idoc. HTTP doesnt need a sender agreement.
4. DO the Receiver Determination and Interface Determination.
Weblog which talk about the same scenario:-
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
(use case) and explained it...
Check this SDN tv demo, it has detail of HTTP adapter setup.
https://media.sdn.sap.com/SDNTV/main.asp?mediaId=107
Refer to this link for adapter settings.
http://help.sap.com/saphelp_nw04/helpdata/en/0d/5ab43b274a960de10000000a114084/frameset.htm
You should also have a HTTP client to send message to XI. In the connecting parameters to XI u have to use the URL in the pattern mentioned . U have to give all the configuration details in the URL.
If you give me your mail id or if you can mail me at [email protected], i can send you a HTTP CLIENT.....In which you need to view the source code and change the username and password to send message to XI.
Regards,
Abhy -
How to use the http sender adapter
Hi,
I'm trying to use the http sender adapter but not getting the result.
1) I've created the commnunication channel in Integration Directory.
2) I have my url:
http://<server>:56000/sap/xi/adapter_plain?service=BS&namespace=urn%3Acompany%3Apoc&interface=interface
3) When i copy that url in a browser i get a login prompt. When i log in i get a message that navigation is cancelled.
What steps do i need to do to use this url to send my xml message to the adapter engine. Do i need a special system user for this? Any other tools required? (i have httpclient but using that doesnt send messages to the adapter_plain; i think)
I feel i'm just missing one little thing, but what is it.
kr
RobertHello Team,
I added the user name & pwd to query string & trying to access from IE and still getting blank page.
Is this what is expected or there is something wrong in URL. I am able to send the XML from HTTP Test tool.
My URL is :
http://abc:50000/sap/xi/adapter_plain?namespace=urn:xyz.com:A_To_ERP_Payment_balance_Request&interface=SI_A_CHK_balance_OUT&service=BC_XX_XXX&sap-user=myuser&sap-password=mypassword&sap-client=001&sap-language=EN
Please advice. -
How to Call HTTP Sender Adapter of Other Scenar from HTTP Receiver Adapter?
Hi,
I have a requirement to call HTTP Sender Adapter of Other Scenario from HTTP Receiver Adapter?
or
call SOAP Sender Adapter of Other Scenario from SOAP Receiver Adapter?
i.e
SOME SENDER - > PI - > HTTP Receiver - > calling -> HTTP Sender -> PI -> SOME RECEIVER
SOME SENDER - > PI - > SOAP Receiver - > calling -> SOAP Sender -> PI -> SOME RECEIVER
if any one can provide me the screen shot for those SOAP / HTTP Sender or Receiver ADAPTER.
or Point me to Some article with Screenshots .
That would be appreciated with Point.
Regards
PS.Solved . .
-
How can i set dynamic properties in HTTP Binding adapter at run time
Hi,
I am trying to put dynamic properties in HTTP Binding adapter at run time. I am able to Set endpointURI, UserName and Password dynamically using below code.
Is it possible to set Version , Retry Count, timeout, authentication type at run time.
below is code for setting endpointURI, UserName and Password dynamically.
<invoke name="HttpInvoke" bpelx:invokeAsDetail="no"
partnerLink="SACS_Http_Adapter"
portType="ns1:Request_Response_ptt" operation="Request-Response"
inputVariable="HttpInvoke_Request-Response_InputVariable"
outputVariable="HttpInvoke_Request-Response_OutputVariable">
<bpelx:toProperties>
<bpelx:toProperty name="endpointURI" variable="inputVariable"
part="payload" query="@endpoint"/>
<bpelx:toProperty name="javax.xml.ws.security.auth.username"
variable="inputVariable" part="payload"
query="@username"/>
<bpelx:toProperty name="javax.xml.ws.security.auth.password"
variable="inputVariable" part="payload"
query="@password"/>
</bpelx:toProperties>
</invoke>
Thanks,
Siva
Edited by: 929920 on Apr 25, 2012 7:45 AMHi Bastain,
Assuming your using the Batch Process Model, you can programatically insert a new SN into the correct parameter in the postUUT callback sequence.
This sequence has access to the UUT.SerialNumber parameter so you can use a File Global to pass the SN from the main sequence to the postUUT callback.
Here is an example of what I mean.
Adam
Attachments:
set SN within Main Sequence.seq 80 KB -
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 -
HTTP Sender and HTTP Receiver adapter. Pls advice urgent
Hi All,
There is one Third Party that wants to send XML data and receive XML data with XI.
Please let me know can I use HTTP for that.
How to use HTTP Sender part?
How to use HTTP Receiver Adapter?
Pls send blogs/doc for that
Thanks and Regardshi.,
Check this thread for the code for a HTTP Client,
/message/266750#266750 [original link is broken]
Also, check these blogs. They use HTTP adapters for their configuration,
/people/siva.maranani/blog/2005/05/21/jdbc-stored-procedures
/people/sriram.vasudevan3/blog/2005/02/14/calling-stored-procs-in-maxdb-using-sap-xi
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
Check these links for the configuration part.
http://help.sap.com/saphelp_nw04/helpdata/en/43/64db4daf9f30b4e10000000a11466f/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/bc/bb79d6061007419a081e58cbeaaf28/content.htm
http://help.sap.com/saphelp_nw04/helpdata/en/44/79973cc73af456e10000000a114084/content.htm
Weblog :
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi - although this weblog is
aimed at explaining the sync-async bridge.. Sriram has taken http-to-file scenario as the example
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
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 -
Hi,
I have a scenario where I want to configure a HTTP sender adapter.
I have a HTTP PUT url of a 3rd party application from where the HTTP adapter should poll and pull the files into PI.
Is this possible? If yes, where and how do I mentioon the URL?
Please help!
Thanks,
Pratibha.Hi,
That means, the sender aplication has to write a http://<hostname:port>/<path>?<query-string> type query?
Is there no other option?
Is it not possible with the SOAP sender adapter also?
Thanks,
Pratibha.
Maybe you are looking for
-
I have Acrobat Pro X installed on OS Windows 7 Ultimate. I was running IE 8 and then I upgraded to IE 9 and the problem is the same. PROBLEM: When I am on a website like Amazon, AT&T, Verizon or some other sites...when I right click on a page and wan
-
Delete versions and masters in aperture and finder
When I import pictures to Aperture I store the originals in Finder/pictures. While browsing through my pictures in Aperture I would like to delete the masters in Finder/pictures at the same time as I am in Aperture. Is there a way to do so? Or som
-
When converting from a Word doc to a pdf using joboptions file settings, the layout changes - text is moved up as if the bottom margin is decreased. This is a problem when the heading on a new page is moved to bottom of the previous page. Please he
-
Hello, I need to extract the value of the strings for REQUEST_GROUP_CODE and REQUEST_GROUP_APPL_SHORT_NAME. As you can see I have to deal with whitespace differences, case differences etc. I need the values between the quotes for each one. I would ex
-
How do I populate messageChoice in this case?
hi... I have messageChoice to display "year" values. I have created View Object which doesnt map to database table and contain transient attribute "year". I am programatically setting value for "year" attribute in VO. I want to map this VO to message