SOAP/HTTP adapter for ABAP proxy
Hi,
Is it possible to send data to a SAP system using an inbound proxy and SOAP/ HTTP adapter.
As per my knowledge , XI adapter is generally used for Proxy communication.
If SOAP/HTTP can be used then what should be the message protocol.
There are 2 protocols allowed by SOAP adapter : SOAP 1.1 and XI3.0.
Can XI 3.0 be used here?
1. you will increase the burdon of message to include header and body with SOAP/HTTP
Use following link to decide which adapter should be used - http://www.sdn.sap.com/irj/sdn/index?rid=/webcontent/uuid/70d8e250-e892-2b10-ab8a-d04433cf158b [original link is broken]
Similar Messages
-
Configure XI adapter for abap proxy scenario- plz help
Hi,
Pleas help me in configureing the XI adpater in abap server proxy scenario, answer the one in bold in below
Scenario is asynchronous
Http -> XI ->R/3(abap server proxy)
sender: Through http client
receiver is abap server proxy
Repository objects:
Sender: sender_DT, sender_MT, sender_MI(outbound asynchronous)
Receiver: receiver_MI
Interface mapping: source=sender_MI, receiver_MI.
<u>Proxy generated on R/3 client 550 for receiver_MI.</u>
this proxy internally calls an RFC which inturn updates a table.
Configuartion objects:
Sender: business service, no comm channel since http sender.
receiver: R/3 business system
Comm channel: receiver_cc type of XI.
transport protocol: http
message protocol : XI 3.0, since both XI and R/3 on webas 6.4
<b>addressing type: URL
target host: ??? where can I find this
service number: ?? where can I find this
path: /sap/xi/engine?type=entry</b> i guess the path is correct for XI 3.0
<u>My system details: XI - client 400, R/3 client 550.</u>
Authentiction data:
<b>user name: this user suppossed to be from R/3 or XI?,</b>
passwrod; proper password
<b>logon client: the client supposed to be of R/3 or XI?</b>
Recevr determinaion, interface determination and recevr agrrement looks fine.
Please reply , your help is appreciated.
Thanks
KKHi,
<i>>>>target host: ??? where can I find this</i>
Your R/3 host number you can find System->Status
<i>>>>service number: ?? where can I find this</i>
You can find in SMICM in services
<i>>>>user name: this user suppossed to be from R/3 or XI?,
passwrod; proper password
logon client: the client supposed to be of R/3 or XI?</i>
R/3 logon details.
Thanks,
Prakash -
Prerequisites to configuration for ABAP Proxy -???
My scenario is file->XI->R/3(abap server proxy).
Xi and R/3 are 2 seperate business systems
-Abap server proxy created on R/3 business system. R/3 client 550
-Xi client 400.
-SLD is common for both XI and R/3
<b>My question is in reference to the below message thread:</b>
<b>1.I understand all the below configuartaion has to be done on R/3 business system, tell me am I correct</b>
<b>2. are these configuartion needed for <u>client proxy as well as server proxy</u> also?</b>
HTTP_RESP_STATUS_CODE_NOT_OK
The prerequisites to configuration for ABAP Proxy include: (landscape dependent)
1. The business systems should be based on SAP Web AS 6.20 and SAP Web AS 6.20 kernel patch level above 1253
2. You have installed the XI Add-On in each of these business systems as described in the Installation Guide SAP Exchange Infrastructure 3.0
3. The business systems and your central Integration Server are maintained in the System Landscape Directory (SLD).
Configuration required on the Business System:
1. Create HTTP connection in the business system.
Configuration Details:
Technical Setting:
1. Following Inputs are required for technical setting
1 Connection Type: H
2 Target Host: System name
3 Service Number: HTTP Port name
4 Path Prefix: /sap/XI/engine/?type=entry
Logon Security
On the Logon/Security tab page, enter the following logon data:
1 User: XIAPPLUSER (for example); this user should represent the sending business system (see also the SAP XI Security Guide under Service Users for Message Exchange).
2 Password: the password you have specified for this user
3 Client: SAP XI Integration server
4 Language: Language required
2. Configuration Business system as local Integration Engine.
1. Goto Transaction SXMB_ADM
2. Choose Edit --> Change Global Configuration Data.
3. Select Role of Business System: Application system
4. Corresponding Integration server: dest://<HTTPDESTINATION>. Here <HTTPDESTINATION> SAPISU_XID created in step 1. Dest://SAPISU_XID.
5. Under Specific Configuration Data you can specify additional configuration data
1.Select the relevant category under Specific Configuration Data.
2.Choose Change Specific Configuration Data.
For ABAP Proxies, Add the following configuration:
1.Category RUNTIME
2.Parameters: IS_URL
3.Current Value: dest://SAPISU_XID
Configuration of the Integration Engine
3. Connection between Business System and System Landscape Directory
1. Create RFC destination (TCP/IP) LCRSAPRFC and SAPSLDAPI for the SLD connection.
1.Execute transaction SM59 in the business system.
2.Choose Create.
3.Enter at least the following:
1.RFC Destination: LCRSAPRFC
2.Connection Type: T
3.Description: <your description>
4.Choose ENTER.
5.Choose the Technical settings tab page and do the following:
6.In the Program ID field under Registered Server Program, enter LCRSAPRFC
7.This program ID must correspond to a program ID specified in the RFC engine settings of the SAP J2EE Engine on the Integration Server host.
RFC Destination
2. Maintaining the SAP J2EE Connection Parameters for LCRSAPRFC and SAPSLDAPI in SAP J2EE engine
1. Goto J2EE Engine
2. Choose Cluster --> Server --> Services. JCo RFC provider
3. Under RFC destination specify the following:
Program ID: LCRSAPRFC
Gateway Host: <Integration Server host>
Gateway Service: <Integration Server gateway service>
Number of process: 3
4. Under Repository specify the following:
Application Server: <Integration Server host>
5. Choose Set.
3. Maintain SLD access details in Transaction SLDAPICUST
1. You can reuse this program ID for all Business systems
2. If there is HTTP error during connection, first run transaction SLDCHECK in the Business system. Also check that HTTP connection is working fine.
3. In XI Adapter use HTTP connection rather then giving R/3 input details as this is easier to transport and maintenance
4. One receiver adapter can be used for all Interfaces connecting to a Business system.
<b>Thanks for your reply in adavnce.</b>
KK2. are these configuartion needed for client proxy as well as server proxy also?
>>>>
the configuration is one time thing and your R3 will act as a server or client according to the data being sent or received.
In R3 a point to be noted is that in SXMB_ADM -> Intg. Engine Confg. -> Role of Business System sud be as a Application System.
Ref: /people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Message was edited by: Shabarish Vijayakumar -
SOAP receiver adapter for Axis
Hi,
I used SOAP receiver adapter for Axis like below:
Transport Prorocol : HTTP
Message Protocol : Axis
Url: http://<IP>:<Port>/xxx/WebService/services/Head/yyy
Authentication : Basic
User: <user>
Password: <password>
SOAP Version : 1.1
SOAP Action: : <method>
Encapsulation Format : MIME
Payload Extraction : SOAP Body
When i drive PI message it generates error below.
What must i do to solve this problem?
Thanks.
Error message
com.sap.engine.interfaces.messaging.api.exception.MessagingException: javax.ejb.EJBException: Exception in getMethodReady() for stateless bean sap.com/com.sap.aii.axis.appxml|com.sap.aii.adapter.axis.ejb.jarxml|AFAdapterBean; nested exception is: com.sap.engine.services.ejb3.util.pool.PoolException: javax.ejb.EJBException: Exception raised from invocation of public void com.sap.aii.adapter.axis.modules.AFAdapterBean.ejbCreate() throws javax.ejb.CreateException method on bean instance com.sap.aii.adapter.axis.modules.AFAdapterBean@20715646 for bean sap.com/com.sap.aii.axis.appxml|com.sap.aii.adapter.axis.ejb.jarxml|AFAdapterBean; nested exception is: javax.ejb.CreateException: java.lang.NoClassDefFoundError: org/apache/axis/types/URI$MalformedURIException*Url:* http://172.28.6.194:8080/AssetManagerWebService/services/Head/SapTest
When i use Url with *?wsdl* it generates below (it'is very long. I give part of it)
wsdl
<?xml version="1.0" encoding="UTF-8" ?>
- <wsdl:definitions targetNamespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:apachesoap="http://xml.apache.org/xml-soap" xmlns:impl="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:intf="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns:tns1="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Types" xmlns:tns2="http://schemas.hp.com/AssetManager/R51/ACMetaData" xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:wsdlsoap="http://schemas.xmlsoap.org/wsdl/soap/" xmlns:xsd="http://www.w3.org/2001/XMLSchema">
- <!--
WSDL created by Apache Axis version: 1.2.1
Built on Jun 14, 2005 (09:15:57 EDT)
-->
- <wsdl:types>
- <schema attributeFormDefault="unqualified" elementFormDefault="qualified" targetNamespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Wsdl" xmlns="http://www.w3.org/2001/XMLSchema" xmlns:AdministrationTypes="http://schemas.hp.com/AssetManager/Custom/Head/Administration/Types" xmlns:CableTypes="http://schemas.hp.com/AssetManager/Custom/Head/Cable/Types" xmlns:CatalogTypes="http://schemas.hp.com/AssetManager/Custom/Head/Catalog/Types" xmlns:ChargebackTypes="http://schemas.hp.com/AssetManager/Custom/Head/Chargeback/Types"
<import namespace="http://schemas.hp.com/AssetManager/R51/ACMetaData" />
<import namespace="http://schemas.hp.com/AssetManager/Custom/Head/SapTest/Types" />
- <annotation>
<documentation>Auto-generated schema for AssetCenter web services for Head/SapTest Implementation</documentation>
</annotation>
<import namespace="http://schemas.hp.com/AssetManager/Custom/Head/SAM/Types" schemaLocation="../../schema/Head/SAM/SAMTypes.xsd" />
<import namespace="http://schemas.hp.com/AssetManager/R51/ACMetaData" ......
<wsdl:operation name="retrieveAllBusinessAPIListByName">
<wsdlsoap:operation soapAction="retrieveAllBusinessAPIListByName" />
<wsdl:input name="retrieveAllBusinessAPIListByNameRequest">
<wsdlsoap:body use="literal" />
</wsdl:input>
<wsdl:output name="retrieveAllBusinessAPIListByNameResponse">
<wsdlsoap:body use="literal" />
</wsdl:output>
</wsdl:operation>
</wsdl:binding>
<wsdl:service name="SapTestService">
<wsdl:port binding="impl:SapTestSoapBinding" name="SapTest">
<wsdlsoap:address location="http://172.28.6.194:8080/AssetManagerWebService/services/Head/SapTest" />
</wsdl:port>
</wsdl:service>
</wsdl:definitions> -
Hi,
Has anyone tried invoking an HTTP GET using ABAP Proxy?
It seems we can do it using the func module HTTP_GET....
I have seen a blog using java proxy but I want to do it using ABAP proxy...
regards,
PiyushHi All,
With my research on SDN, I came to know that we can either do it using HTTP_GET or the calss CL_HTTP_CLIENT.
But can I do it for a very long HTTP url????
Please response frends... Dont let me down :/
regards,
Piyush -
What are the pre-requisite for ABAP Proxy communication?
What are the pre-requisite for ABAP Proxy communication?
hi,
How to create proxy.
http://help.sap.com/saphelp_nw04/helpdata/en/14/555f3c482a7331e10000000a114084/frameset.htm
How to Activate Proxy.
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
ABAP Server Proxies (Inbound Proxy)
/people/siva.maranani/blog/2005/04/03/abap-server-proxies
OutBound Proxy (Client Proxy)
/people/sravya.talanki2/blog/2006/07/28/smarter-approach-for-coding-abap-proxies
/people/ravikumar.allampallam/blog/2005/03/14/abap-proxies-in-xiclient-proxy
File to R/3 via ABAP Proxy with good example
/people/prateek.shah/blog/2005/06/14/file-to-r3-via-abap-proxy
Debug your inbound ABAP Proxy implementation
/people/stefan.grube/blog/2006/07/28/xi-debug-your-inbound-abap-proxy-implementation
http://help.sap.com/saphelp_nw2004s/helpdata/en/48/d5a1fe5f317a4e8e35801ed2c88246/frameset.htm
Synchronous Proxies:
Outbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2boutbound%2bprogram%2b-%2bpurchase%2border%2bsend
Inbound Synchronous Proxy
https://www.sdn.sap.com/irj/sdn/wiki?path=/display/profile/abap%2bproxy%2binbound%2bprogram%2b-%2bsales%2border%2bcreation
regards
srinivasreddy -
How to configure systems for ABAP Proxy use
Can somebody please point me to the documentation regarding the configuration settings for the use of ABAP proxies, on both the XI and client sides? I have performed readiness checks as specified by SAP, the ABAP Proxy tests all pass, yet when I write a program with a proxy, the message does not appear in the integration engine monitor.
I think I have missed something in configuration settings, but don't know for sure. hence the request.
Kind Regards,
Tony.Hi,
Please follow the below configuration steps for ABAP proxy:
ABAP Proxy configuration:
/people/vijaya.kumari2/blog/2006/01/26/how-do-you-activate-abap-proxies
Thnx
Chirag -
Creation of package structure for ABAP proxy scenario
Hi All,
I have a doubt on package structure used for ABAP proxy scenario. What is the specific reason to create a four level package structure? Can some one please explain? Thanks in advance.
Regards,
Sudheer.Hi Sudheer,
Can you pls clarify what do you mean by 'four level package structure' ?
Are you referring to the ABAP structures that get created during creating the proxy by SPROXY transaction ? These structures get automatically created. We simply have to write the code using these structures.
Or do you mean the 'package' which is mandatory to create a transportable ABAP object ? i.e. transport from Development to Staging and then Production.
Regards, -
Post user and pass to SOAP Header message in ABAP Proxy
Hi Folks!
I'm trying to post user and pass to SOAP Header on an ABAP proxy. I've already read the thread [Consume web service in ABAP proxy with SOAP header|Re: Consume web service in ABAP proxy with SOAP header; and I see that is possible to manipulate SOAP Header but I cannot understand how I work with function module SDIXML_XML_TO_DOM.
Do I need pass to parameter xml a complete SOAP Envelope? If it is right how can I get the complete xml message to pass to this parameter? I think I don't need the build the xml strucuture as I did on WebAS 6.40, isn't it?
Thanks in advanced.Hi Rafael,
I would be interested in the solution... could you please post it into forum.
Thanks and best regards
Stefan Bosshard -
What should be configured as channel in Oracle CEP HTTP adapter for remote publishing?
Hi,
Below is the adapter configuration that I have for Oracle CEP HTTP adapter for remote publishing. What exactly should be configured in <channel> here? In the oracle documentation example, it only says /channel2 as an example.
Below is the HTTP adapter configuration file that I have created.
<?xml version="1.0" encoding="UTF-8"?>
<wlevs:config xmlns:wlevs="http://www.bea.com/ns/wlevs/config/application">
<http-pub-sub-adapter>
<name>HttpPostAdapter</name>
<server-url>http://localhost:8080/RESTfulWS/rest/UserInfoService/post/jsonstream</server-url>
<channel>/RESTfulWS</channel>
<event-type>com.wipro.event.ResultEvent1</event-type>
</http-pub-sub-adapter>
</wlevs:config>
'/RESTfulWS' in my above configuration is the context-root of my rest service.But this is not working so I would like someone to help me understand this configuration.
Many thanks.
Regards
SowmyaHi, Sowmya,
From your configuration
Is the http://localhost:8080/RESTfulWS/rest/UserInfoService/post/jsonstream httppubsub server? I don't think the oep http pub adapter can publish event to rest service.
For http pub adapter, you can take a look at fx sample, it publishes events to a embedded http pub/sub server of oep.
Thanks,
Gala -
How to config receiver http adapter for HTTP POST without XML tags ??
Hi All,
Can you please provide some infornation on How to config receiver http adapter for HTTP POST (Request) without XML tags ?? Our receiving product doesn't support XML formats.
Is there any option to bypass server authentication on the XI?
If anybody has the same experience or know how to please provide inputs.
Thanx
NavinHi,
you can use xsl mapping for this in which u xtract
the contents only but not the xml tag.
Ranjit -
SOAP error in synchronous scenario for ABAP Proxy with Oracle D/B
Dear Experts,
I am working in Sender ABAP Proxy <====>SAP PI 7.31 JAVA only <====> Oracle Database. My proxy configuration are working successfully.
Apart from that, I have maintained a SOAP sender communication channel under the ECC business system with
Transport Protocol as HTTP
Message Protocol as XI 3.0
Adapter Engine as Central Engine
When I am testing from ECC at Tx SPROXY, I am receiving following error.
com.sap.engine.interfaces.messaging.api.exception.MessagingException: com.sap.aii.adapter.xi.routing.RoutingException: InterfaceDetermination did not yield any actual interface at com.sap.aii.adapter.soap.web.SOAPHandler.processSOAPtoXMB(SOAPHandler.java:746) at com.sap.aii.adapter.soap.web.MessageServlet.doPost(MessageServlet.java:505) at javax.servlet.http.HttpServlet.service(HttpServlet.java:754) at javax.servlet.http.HttpServlet.service(HttpServlet.java:847) at
1. In XI3.0 protocol, I can not select BE but when selected HTTP 1.0 as Message protocol then I can find the BE.
2. No Response message is shown in ECC when testing the message.
3. How do Receiver JDBC adapter for Oracle Database is configured
4. What would be Message Protocol for Oracle Database i.e. XML SQL Format or Native SQL format for Select operation.
Please guide.. All your inputs will be appreciated......
Regards
RebeccaDear Indrajit,
Appreciate your inputs.. Yes I have configured all the ABAP proxy configurations and there no question of missing any thing as Tx SLDCHECK in ECC is working perfectly fine.
But still to go, some of the queries needs more input.
1.In ID, i have created a Sender SOAP communication channel with listed details.
Transport Protocol as HTTP
Message Protocol as XI 3.0
Adapter Engine as Central Engine
Is there any parameters which I may be missing from Module tab of Synchronous SOAP Cc ?
2. In the Cc monitoring, the JDBC receiver status shows "Database operation successfully completed" but I could not find any response data from database. The Message monitoring should have 2 messages for 1 trigger, but I could find only 1 message by SOAP only?
Sorry to bother experts...Please answer in sequence...
Regards
Rebecca -
Adapter for ABAP server proxy??
Hi all
Can anyone tell me why we need receiver agreement (XI adapter) in case of ABAP server proxies???Hi Smith,
The use of XI adapter in abap server proxies is to communicate the IS with its respective R/3 system ( ie application system).Proxies will communicate with the XI server through the native SOAP calls over HTTP . So we need to mention the integration server to connect to the correct application system during runtime.
Have luk at below links:
http://help.sap.com/saphelp_nw2004s/helpdata/en/b1/f29e7a56e18a439984a3c6630951d2/content.htm
http://help.sap.com/saphelp_nw2004s/helpdata/en/85/78af1bf407434796aaf8dbd6d4e7b7/content.htm
Hope this will help.
Regards,
Prasanthi. -
SOAP receiver adapter for ASCII-7 characterset???
Hi,
Our scenario is Abap Proxy -> XI -> Web Services (SOAP Adapter). Receiver webservice will accept only the characterset of ASCII-7. But Abap Proxy will send only unicode characterset (default).
Any workaround for receiver SOAP adapter to accept ASCII-7 characterset?
Regards,
Prasad UHi -
You can set a specific encoding in the soap receiver channel module configuration. From the SOAP Adapter FAQ (Note 856597):
<i> o Q: What character encoding is supported by the SOAP receiver
adapter?
A: The SOAP receiver adapter can use any character encoding
supported by the local JDK. The request message from the SOAP
receiver is normally encoded in UTF-8. If you want to change this
encoding, for instance to iso-8859-1, you can set parameter
XMBWS.XMLEncoding to iso-8859-1 in the module configuration for
the SOAP adapter module. This setting is for the outgoing SOAP
message and has no effect on the incoming SOAP message. For the
incoming SOAP message, any code page supported by the local JDK
is accepted.</i>
Check the <a href="https://www.sdn.sap.comhttp://www.sdn.sap.comhttp://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/d23cbe11-0d01-0010-5287-873a22024f79">How to Use the XI 3.0 SOAP Adapter</a> document for an example.
Regards,
Jin -
Message flow in SAP PI 7.31 JAVA only for ABAP Proxy synchronous scenario with Oracle DB
Dear Experts,
I am working on a synchronous scenario Sender ABAP Proxy <===> SAP PI 7.31 JAVA only <===> Oracle Database.I have successfully
configured all the proxy configurations as well both Sender SOAP and JDBC receiver channels are showing no error when pinged from
Cc monitoring in NWA.
1.During testing at Tx SPROXY , I am triggering a message and after 5 minutes I receive an PARSING error message with 2 messages in ECC
local IE i.e. Tx SXMB_MONI.
Note : In NWA , I can see only 1 message that too in cancelled status.
2.Seeing the trace of the messages I assume that the messages have not moved from sender ECC system. I am still confused with flow of message
from the Message Audit log. Audit log of error messages.Could any one share the full Audit log of a successful message generated in SAP PI 7.31 JAVA only.
3.I observed that the QIN Scheduler status in ECC is in INACTIVE status. There is no queue id for 2 messages generated in ECC. Does
it should in ACTIVE status in Tx SMQR..
Regards
RebeccaHi Thomas,
Valuable inputs..
1. Since I don't have any audit log for successful message, would you be able to share referring to the
below screenshot whether the message was put into receiver JDBC adapter and JDBC adapter tried to retrieve the Select response from Oracle Database.
2.I have done some setting in Advance mode of the receiver JDBC to increase the time out and other parameters as per SAP note but still the issue is same. If you perhaps have some experience in such scenarios, please share some input so that I can ask the Oracle Database administrator exactly what is required from our side.
3.Regarding the slow response from Oracle , there was some suggestion that the datatype of the request and response should match the column name of the Oracle database. I did that.. Do you have any more suggestion that may be hampering the generation of the response message from the Oracle like SAP note or document.
Regards
Rebecca
Maybe you are looking for
-
Bridge CC slow? Here's a fix for some situations
Like so many of you, I have been having issues with my Adobe Bridge CS6 & Adobe Bridge CC 2014 installations both being very slow (5-10 seconds to open any context menus, folder update taking minutes, etc). Even though my machine was more than capabl
-
Msn Tech Rep from monktech disabled my Adobe Acrobat 9.0 during trouble shooting.
I am now without Acrobat 9.0 Pro on a relatively expensive software that I use every hour of every day. How do I reactivate. Adobe Service Rep says contact Forum since my software is too old for them to advise. It was purchased in October of 2010
-
Approved applications not showing up in simple finder (parental controls)
I set up a limited access account for my son and turned on the simple finder option. I went through and selected the programs that I want him to have access to. However, not all the selected applications show up in the simple finder of the limited ac
-
2 wired network adapters on 1 computer
I have 2 wired network adapters on 1 computer (windows XP sp3). I used to use on board one, but now I want to use the plugged in one. The problem is I don't know how to use it because windows doesn't automatically change to it. Could you show me how
-
Apache Returns 403 Status When Accessing ~/Sites Web Content
Under Mac OS X 10.4.x, I don't recall having any problems accessing web content in ~/Sites. After upgrading to Mac OS X 10.5.1, Apache returns a 403 status when using a URL in the following form: http://spielzeit.hasental.com/~mcc/weather. Using the