Idoc (async) - soap (sync) - file (async)
Hi.
I have a flow from idoc (async) to webservice (soap sync) and I want the response from soap to be written in file (async).
I want to do this without BPM and I have read some posts about using modules RequestResponseBean and ResponseOnewayBean.
Can someone help me with this step by step.
I have in ESR a OM that is async because of the outbound Idoc. Do I need a sync OM for the soap call and another async OM for the response to the file.
Where do I need to put the modules? In the SOAP receiver?
I know there are some threads that cover some of this but I couldn't find any that cover the whole of my issue step by step.
Regards,
Hjortur
Yes doing async to sync is possible without bpm. YOu already got the design solution.
>Where do I need to put the modules? In the SOAP receiver?
Sender Channel. In your case you might not need channel for idoc but for this configuration you might need to create one. That is my guess.
In the module section sequence as follows
1) AF_Modules/RequestResponseBean Type: Local Enterprise Bean Module key 1
2) CallSapAdapter Type Local Enterprise Bean Module Key 2
3) AF_Modules/ResponseOnewayBean Type Local Enterprise Bean Module Key 3
Plus follow the link given by shabarish as reference.
Similar Messages
-
Idoc to soap sync without bpm. is it possible? Helping me..
Hi Experts,
i have a small clarification Idoc to soap sync interface in sap pi 7.0. i created IDoc to Soap sync using BPM but some times the signals are stuck due to load issue in swpr, while reprocess those signals all going successfully to the receiver. So We are trying to eliminate BPM.
I just wanted to know Idoc to Soap sync scenario without BPM is possible or not in SAP PI 7.0?
if it is possible kindly send me the links
Regards,
Kiran polaniHi Kiran,
Could you please let us know the exact requirement. How do you want to send the response back to IDOC?
ASync - Sync Bridge with IDOC sender is not possible in PI 7.0.
If It is something like IDOC --> SOAP --> IDOC , And If the SOAP request is small then you can use SOAP Lookup in IDOC to IDOC Scenario.
In The mapping You can do a lookup and get the response from SOAP(Webservice) and map that to your Target IDOC.
This is one possible way for you without BPM in PI7.0.
Please let me know if you need more details about this.
Thanks
Jyothi A -
Idoc to SOAP Async - Sync - stuck @ bpm bridge
Hi there,
i'm implementing an SAP -
Idoc / Async ---> PI -
> Soap / Sync communication, the idea is that i update the Idoc Status back on erp using and status idoc, i got the whole scenenario working but the Async - Sync bridge part with the status idoc, i've been reading a lot but i cant seem to find a good tutorial that helps me implement the bridge, i found this tutorial :
https://wiki.sdn.sap.com/wiki/display/XI/File-RFC-File%28Without%20BPM%29
do you guys think i can make a workround so i dont have to do a bridge, because performance is a BIG issue on this scenario and i've read that BPM degrades performance,
Thanks in advance for all the input ill get
Best Regards,
Roberto.Hi Roberto,
Idoc doesnot support the synchrnous call. What you can do is send an ALEAUD IDOCs back as response. Please see this document for this:
https://www.sdn.sap.com/irj/scn/go/portal/prtroot/docs/library/uuid/f6d2d790-0201-0010-9382-b50b499b3fbe?overridelayout=true
/people/saravanakumar.kuppusamy2/blog/2005/01/20/configuration-tips-for-a-business-serviceintegration-process-to-send-back-ale-audit-idoc
Also search in SDN for ALEAUD and you may get some more information.
Regards,
---Satish -
Hi All,
My requirement is SOAP to IDOC Async scenario.SOAP is sender Legacy system.
Is it possible to send a response back to sender after reaching the data to SAP PI server without BPM?
If possible , please give me a step by step guide link.
Thanks,
ArthitaHi Arthita
If you do a search on SCN, you should be able to find some blogs on Sync-Async bridge without BPM. Below are a few examples:
This is an official SAP guide
AsyncSync & SyncAsync Bridge without BPM
This is part 1 of a series of blogs related to bridges.
Bridges Construction Site (1/3): Asynchronous - synchronous bridge.
For your case, because the receiver is IDoc which is asynchronous, you will need to design an asynchronous response back from the ECC system which you can then channel back to your SOAP response.
Rgds
Eng Swee -
Doubt about RFC Destination in FILE to IDOC Async scenario
hi
In FILE-XI-IDOC Async Scenario we are creating RFC Destination in R/3 and XI.
For Asyn we don't want response But We are Creating RFC Destination in R/3 also.
Any specific reason.
Thanks in advance.First you need to have a clear understading of how the idoc adapters works.
In xi we create rfc destination and specify that in the port maintenance on the idoc adapter so that we can establish a connection to the sender / receiver system which contains the IDOC METADATA (IDX2) that is required by the idoc adapter to convert the native idoc into idoc xml format.
In R/3 as sender we create rfc destination so that when the idoc has to be transported to the xi system first it will be sent to trfc port that rfc desination that u define the trfc port contains that the target system address(IP) and logon parameters req.So idoc can be sent to the desired destination.
In R/3 as a receiver to facilitate communication we define rfc dest, partner profile and specify the inbound parameters so that idoc can be posted.
Hope this answers your ques.
cheers
*Raj*
*POINTS IF SATISFIED WITH ANSWER. -
Messages get lost between IE and AE (IDoc to SOAP - Async)
Dear Experts,
in a IDoc to SOAP (Async) scenario a message was not transferred. I could not see any error message in RWB or ABAP Monitoring. When I enter RWB, the column engine is "Integration Engine" and the status is "Successful". At the same time other message with the same message interface were transmitted and they have engine "All" and status "Successful".
Why was this message not passed on to Adapter Engine? How can I restart the processing, so that the message is transfered?
Best regards,
DavidThank you for your answers:
@ Divyesh:
I can't resend the message. It does not have an error status. It says "Successful", although it only can be seen in Integration Engine, not Adapter Engine. There are not SM58 errors.
@ Krish:
In ABAP Monitoring all steps were performed as expected. Before and after this message some other messages with the same message interface were transmitted and they are visible in ABAP Monitoring, Inegration Engine and Adpater Engine.
@Hareenkumar:
In SAP everything looks like expected.
The only difference between this message and other messages sent at the same time (which were transmitted correctly) is that in RWB Message Monitoring (Component: Integration Server) the Engine is "Integration Engine" instead of "All". And the message is not visible when you select for component "Adapter Engine".
Do you have another idea?
Thanks in advance,
David -
IDOC---XI----SOAP(Webservice) Sync
Experts,
Need to Develop IDOC-XI--SOAP(Webservice) Sync Communication Interface
I have importing the Standard Idoc & External Def for WSDL ,which has the Request & Response Structure.
I need to handle the SYNC message in the XI and ignore it/ do not pass to the source system.
Any Weblog will help ,
Thnaks
EdwardHi Edward,
Follow the steps given below
In IR create following objects:
1: Import Web Service definition file in External Definition.
2: Import IDoc ZDLVRY. (I have used custom IDoc)
3: Create Message Interface
a. Abstract Synchronous for sender
b. Abstract Synchronous for Receiver
c. Abstract Asynchronous for request
d. Abstract Asynchronous for response
4. Create Message Mapping for Source Request to Target Request
5. Create Message Mapping for Target Response to Source Response.
6. Create Interface mapping and specify proper input in request and response tab.
7. Create Integration Process
Configuration in ID:
1. Create Integration Process for BPM created in IR.
2. Create receiver determination
a. From SAP R/3 to Integration Process
b. From Integration Process to Third Party (Web Service)
c. From Integration Process to SAP R/3
3. Create Interface Determination
a. From SAP R/3 to Integration Process
b. From Integration Process to Third Party (Web Service)
c. From Integration Process to SAP R/3
4. Create Receiver Agreement
5. Create Communication channel for Soap Receiver and IDoc Receiver.
6. Create Receiver Agreement for Soap Receiver
7. Create Receiver Agreement for IDoc Receiver
if u have any doubt in any step please let me know
Regards,
Manisha -
Regaring File to IDOC Useing SOAP Adapter
Hi ,
Can any one please forward me an File to idoc Useing SOAP ADapter Senario.IF i am wrong please send me a simple senario of useing SOAP Adapter.
Regd's
RajHi Raj,
I think i will give you some more information about SOAP adapters,So Please go through the link below and follow the steps mentioned in it while defining the web service.Then you will get to know the actual use of a SOAP adapter.
<a href="http://help.sap.com/saphelp_erp2004/helpdata/en/31/daa0404dd52b54e10000000a1550b0/content.htm">Defining Web Services</a>
Sending a Simple SOAP envelope to XI via HTTP using ASP
https://www.sdn.sap.com/sdn/weblogs.sdn?blog=/pub/wlg/1442 [original link is broken]
More links for SOAP Adapter:
/people/siva.maranani/blog/2005/09/03/invoke-webservices-using-sapxi
http://help.sap.com/saphelp_nw04/helpdata/en/9f/fdca3f01f33e1ce10000000a114084/frameset.htm
http://help.sap.com/saphelp_nw04/helpdata/en/69/a6fb3fea9df028e10000000a1550b0/frameset.htm
You can create SOAP Request from WSDL using the following tool.
http://www.gotdotnet.com/Community/UserSamples/Details.aspx?SampleGuid=65a1d4ea-0f7a-41bd-8494-e916ebc4159c
You've to expose your outbound message interface as a WSDL which can be used by say EP.
Also go thru the following threads
Re: WebService
Re: SOAP Client for Synchronous Scenario
Re: How to test a webservice as a standalone?
Also check this Pdf for the Receiever SOAP Adapter configuration:
https://www.sdn.sap.com/irj/servlet/prt/portal/prtroot/docs/library/uuid/40728f7b-0401-0010-d9bc-8c73884a3789
Regards,
abhy -
Hello,
I am setting up a new scenario where I get an XML file with PI, send that content via sync SOAP receiver call and direct the result of the web service response to SAP (just back to file as intermediate step).
So far I have the transaction working to the SOAP adapter receiver request / response. I see the correct approval response coming in my SOAP channel (RWB AE payload), but this message gets stuck there before routing back to my receiver interface and mappings.
General setup:
FILE Sender to SYNC OB SI.
OB SI Request is my source message type and Response is my final message output type.
OM Source is this Sync OB SI. Target is a SOAP Sync IB SI. Request Mapping program matches the source file message type and target SOAP layout. Response Mapping matches SOAP response and Target is my final file layout.
Routing for Sync OB SI ID uses this OM for Sync IB SI.
SYNC IB SI has Request and REsponse messages mapping the external SOAP call.
When I test the configuration I get success.
When I send messages through I get error in the adapter about this NO_BACK_SYSTEM_IN_HOPLIST (therefore the response message is not making it back into the IE so that it can be mapped again and forwarded).
Complete error message from RWB Adapter Log "Transmitting the message to endpoint http://[myhostname]:[myport]/sap/xi/engine?type=entry using connection SOAP_http://sap.com/xi/XI/System failed, due to: com.sap.engine.interfaces.messaging.api.exception.MessagingException: NO_BACK_SYSTEM_IN_HOPLIST:." and the next line is "Received XI System Error. ErrorCode: NO_BACK_SYSTEM_IN_HOPLIST ErrorText: null ErrorStack: Legacy system to which acknowledgment message is to be sent is missing in hoplist (with wasread=false)"
Any ideas for me? (fyi not using BPM).
Regards, Aaron MyersHi AAron,
Looks like this problem has occured before. There are SAP Notes recommended. Below are some helpful links.
http://scn.sap.com/thread/848913
http://scn.sap.com/message/4659941#4659941
Thanks,
Divya. -
Hi, In a IDOC --- XI(BPM)--- SOAP Sync Scenario failrure.
Hi, In an IDOC ->XI(BPM)->SOAP Sync Scenario I observed recently messages are failing in SXMB_MONI with an error as:
com.sap.aii.af.ra.ms.api.DeliveryException: SOAP: response message contains an error XIAdapter/PARSING/ADAPTER.SOAP_EXCEPTION - soap fault: System.Web.Services.Protocols.SoapException: Server did not recognize the value of HTTP Header SOAPAction: http://172.16.209.162/esdryrun/ContractData_Push. at System.Web.Services.Protocols.Soap11ServerProtocolHelper.RouteRequest() at System.Web.Services.Protocols.SoapServerProtocol.Initialize() at System.Web.Services.Protocols.ServerProtocol.SetContext(Type type, HttpContext context, HttpRequest request, HttpResponse response) at System.Web.Services.Protocols.ServerProtocolFactory.Create(Type type, HttpContext context, HttpRequest request, HttpResponse response, Boolean& abortProcessing)
friends, could u plz help on this.
Thanks,
satya.Hello,
This indicates a configuration issue with this SOAP receiver adapter. Please check the on line help for the configuration of the SOAP adapter (the link is below). Please set the indicator in the "SOAP Action" field.
Configuring the Receiver SOAP Adapter
http://help.sap.com/saphelp_nw70/helpdata/EN/29/5bd93f130f9215e10000000a155106/frameset.htm
(Below is the extract from the link)
SOAP Action
Specify the SOAP action. The action specifies the value for the
SOAPAction in Web service messages; set the indicator.
Regards,
Sarah -
SOAP - XI - File (Sync)
Hi,
I have a question about the SOAP -> XI -> File scenario. Normally it is quite simple if I have one File receiver here. My scenario is a bit different. The SOAP client need actually to get information from the File Payload. It is logically like the DB server, one SOAP client needs get some information from server and send one soap request to XI, XI perorm one Lookup/Update/ what ever on the JDBC server and send information back to the client. Unfortunately we don't have DB server as interface but only File.
In this case the client send one SOAP request and we cannot say "look at file system at location xyz and get the file back, if there is one". How could we implement this scenario with XI without BPM ?
regards,
Haihi hai,
we can do like this.
why we use file adapter to make the conevrsions primarly
file format to xml and XML to file format.
if u genrate a web request from a service then we need to pick the respective file for that request and pass it on to web response(SOAP response) this is what i understood.
go for webservice -XI- webservice scenario.
asynch
XI people will publish interface with SOAP request as input.
SOURCE system people will call this interface for getting respective file.
now XI will fetch the respective file through UDF and will pass it to receiver system i.e they are ready to give SOAP resposne.
now source system people should write a program which consumes source response as input.
thereby they will publish webservice which takes the SOAP response and does the needful at the system level.
here SOURCE system is acting both as sender and receiver.
sender for sending file request and reciever for getting the respective data from XI.
there by its a WEBSERVICE-XI-WEBSERVICE asynch scenario.
FILE reciever is replaced because u r gonna take the functionality in UDF.
or u can also go for XSLT mapping.
now
1)GO FOR a Message Mapping
in that give the source message type as SOAP request and taget message type as SOAP response.
and in the message mapping for the UDF(java program) which reads the file with respect to source file and generates the response.
2)create 1 interfaces which takes SOAP request as input
publish this interface which will be consumed by SOURCE system
3)XI will consume a webservice which is published by source system which ll process SOAP response.
interface mapping consiste of iNTERFACE CREATED BY XI and INTERFACE CONSUMED BY XI.
create 2 SOAP ADAPTERS
1)sender
2)receiver.
hope this will give u the picture.
the power lies in XSLT mapping or java mapping or UDF.
think u ll be in right position to judge.
any issue plz revert.
Thanks & Regards,
Rama Krishna -
IDoc to SOAP Receiver Fault Message Handling?
Hi,
I am working on IDoc to SOAP Scenario (IDoc -> PI -> SOAP). It is in async mode without BPM. This works fine as long as there is no error on the SOAP receiver side. How to handle the falut message raised by the SOAP receiver and send it back the SAP ECC.
Do I need to use ALEAUD IDoc for this? If Yes, how to configure this to handle fault message? Is there any other way of doing it?
Could you please give steps to handle the fault message?
Thank you.
Regards,
Cdr.Have a look into the below threads -
How to capture SOAPFault in an Async/Sync Scenario without BPM
Acknowledgement Handling in IDoc to SOAP Scenario in PI 7.3 -
SOAP sync to RFC - Multiple lines in the RFC 'input'
Hello everyone!
I need a little 'insight help'/opinion.
I had a cenario that was working just fine, SOAP Async to iDoc. In the cenario I received 1:n lines and send it to the iDoc. No problem at all.
Now, the analyst asked us to change this cenario to: SOAP Sync to RFC (I opposed that but.. it's their decision..)
So, I created a RFC with NO IMPORTING AND EXPORTING and 2 TABLES. One table to receive 1:n lines as inputs of the data, and other table to give 1:n line as response of the process of that line.(the RFC is remote, so can be used by PI)
When I test this RFC in R3 using transaction SE37, I am able to enter 1:n line in the input table, and get the 1:n line in the response table. And also, the data is inserted in my table. Perfect.
When I import and use this RFC in PI, everything seems to be fine during mapping procedures and such, but when I execute the SOAP call, I get an mapping error. I was able to see that:
1 - The Response from the RFC using PI is 'blank'. I mean, the mapping from the response of the RFC to my SOAP is 'null', that's why I´m getting the error mapping.
2 - Tha data WAS NOT inserted into the table using PI. This worries me more.
So, my question is, does PI understand the use of 2 tables (one as 'input' and other as 'output') from the RFC? - the RFC has no importing and exporting, only tables, as I've mentioned.
Also, is this what I am trying to achieve here, possible? I mean, can I expect to use a RFC with multiple line as 'input' or PI only accepts 'parameters' as input?
Thanks for the insight help!
Ricardo Sancio Lóra
Brazilbut when I map anything from the response to my output, I get the mapping error, but if I map something constant it
worked
Did you test the mapping in IR using the Test tab of Interface/ Message mapping? If it is working for Constant and not for runtime (or other) values then it means that the mapping logic is not proper.
But did you see when I say that the item was NOT inserted into the table in R3?
Now the last check-point in XI.....is your RFC channel showing proper payload in RWB --> Component Monitoring --> Adapter Engine --> CC Monitoring?
Regards,
Abhishek. -
Hello Friends....
WOuld it be possible to implement this scenario without s/a BPM?
If yes, then from where the response would send to SOAP ?
I have created following objects in Repository,
data type for SOAP request
Data type for SOAP response
Data type for File request
Data type for File response(dont know do i need this)
Message types for them
two interface mapping....
outbound sync (soap request and soap response)
inbound sync (file request and file response)
message mapping
soap request to file request
file response to soap response
in interface mapping.... I am confused...what to do in there??
thanks,
PranavI want sync communication between SOAP and File...
response could be anything...any constant or just confirmation that data has been sent.
DO i need to use synch/async BPM for this or could i do it without that as well.
what kind of response we get from sync/asyn bridge??? -
IDOC to SOAP asynchronous scenario Error handling
Need an expert!!!!!!!!! advise on error handling for IDOC--PI--
SOAP scenario.This is a asynchronous scenario where PI is calling a Legacy system using SOAP adapter.My question is how i can do error handling in this scenario.If i get an alert in pi with payload variable that would be fine, do i need to use BPM and if that is tthe case what will be steps.
Appreciate your help.
ManishHello Manish,
My question is how i can do error handling in this scenario.
Use the standard alert framework. Search on SDN / SAP Help for details.
do i need to use BPM and if that is tthe case what will be steps.
BPM is not required to raise alerts, as this is an async call.
Regards,
Neetesh
Maybe you are looking for
-
How to get the values from xml file to java combo box
Hi frens, I am new to java and xml programming, Now, i want to have a code of getting the tag values from the xml file into the swing combo box of java front end. How can we do that? any help of code or tutorial or an ebook is a great help for me. Th
-
I have 2 POP accounts and 2 IMAP accounts in Mail.....
I have 2 POP accounts and 2 IMAP accounts in Mail 6.2 (1499), how do I ensure they all leave messages on the server? I was trying to check with my ISP why they were not sending me notice of my monthly bill. They said they were, and gave me the dates
-
hi, i'm using a counter input to count the falling edges of a digital pulse. I need to convert this into a time based measurement (period/frequency), but am having a litle trouble doing this. If any one can help? i'd prefer it if it were as simple as
-
Lookup() in ui tree from fxml and lookup from java built tree
Hi, when I try to find a control by its id I use the lookup()-Method. If I load the ui tree from fxml, I have to call something like root.lookup("#theControlId"). If I built the ui tree in java I can use look("theControlId"). Is this right? I am a li
-
Why do we have to type everything?
1119: Access of possibly undefined property ***** through a reference with static type *****. This is a very annoying error. What I want to know is why do we have to re-type pretty much all our variables? I add an object with a variable towers (array