Async To Sync
Hello,
using jdev 11.1.1.4
i mistakenly created a Asyc BPEL process. process is ready and working
I want to now convert it to sync process, without impacting the functionality. what is the best way to convert async process to sync process ? How do i achieve this single click using Jdev ?
thx
I doubt this is possible using a single click in WSDL. However there is an article explaining this.
http://orasoa.blogspot.com/2007/03/convert-synchronous-proccess-to.html
Similar Messages
-
ASYNC to SYNC scenario using BPM.
hi,
i have a async to sync scenario. i have a File sender->PI(BPM)->ECC and the response from ECC->PI->SOAP.
Here in PI, i am using BPM. The ECC side is a Synchronous BAPI. The response is sent to the SOAP receiver.
in BPM, can someone tell me how many transformation steps do i need i.e mappings. and how many abstract interfaces, synchronous interfaces, outbound interfaces, inbound interfaces?
also how many send,receive and transformation steps.
and in the configuration part,
how many receiver determinations, interface determinations do we need.
rgds,
mithunHi,
File sender->PI(BPM)->ECC and the response from ECC->PI->SOAP
Service interfaces
-> SI_OB for file (Request)
->SI_IB for Soap(ASy Response)
->SI_ABstract(ASy Request)
->SI_Abstract (Asy Response)
->Si_REq_RES_ABS(Syn)
->SI_ABS(ASY BAPI REQ)
->SI_ABS(ASY BAPI RES)
mappings
one for request mapping(file Req to BAPREQ) and one for response mapping(BAPI REs to RESponse mSg).
operation mappings-2, one for Req MApping ANd One for Res ponse mapping.
IP
reciv->transformation(REq)->Send(SYN/ASYN)->transformation(RES)->Send
ID:
3 reciver deteminations
one for file to IP
IP to ECC and IP to SOAP
3 interface determinations
1 sender agrement
2 reciver sgrements
one for IP to ECC
and IP to SOAPregards,
ganesh -
Doc on Async and Sync using BPM
Hi all
Can anyone send some docs explaining the steps involved in bridging async and sync interface using BPM. The source adapter is JDBC and target is proxy. I've already checked one blog by krishna moorthy (File-File using BPM) and based on that i tried but coudnt get the expected result for my scenario.
ThkxHi PS,
in your Integration Repository go to:
Software Component: SAP BASIS
Namespace: http://sap.com/xi/XI/System/Patterns
Process: BpmPatternSyncAsyncBridge
This is a very good example!
Regards Mario -
Hi Experts,
I am doing async JDBC to sync webservice scenario.
I did create async interface for JDBC and sync interface for webservice.
my scenario is i just want to see the response from webservice in XI for trouble shoot, i dont need to send the response message to database.
can anyone tell me how can we do it without using BPM (async to sync bridge).
Kind Regards,
kiranHi
Please go through below steps now
I have added the comments with same in bold font
Data Types: JDBC_DT,File_DT
Message Types: JDBC_MT,File_MT
Message Interfaces:
JDBC_OUT_MI(outbound,async),This should be Sync given MT_File as respo
File_MI(inbound,async), Dont use this
WS_IN_MI(inbound,sync,input=WS_req,output=WS_resp)
WS_resp_MI(outbound,async,WS_resp), -----No need of this
Message Mappings:
JDBC_WS_req_MM
(JDBC_OUT(JDBC_MT)------->WS_IN_MI(WS_req) ).
*Here WS_IN_MM msg. mapping should be used insted of*
*WS_IN_MI i.e message interface*
*WS_File_Res_MM*
(WS_Res(Source -- Ws_res) ---> File_MT)
Interface Mapping: JDBC_WS_req_IM(source=JDBC_OUT_MI,target=WS_IN_MI)
In IM you need to use the above one only
Here you have two tabs as Request & Response, Request will be normal as
it is JDBC_MT to WS_Req with proper mapping
*In Response use File_MT <--- Ws_RES with appropriate mapping *
For ID configuration refer below sample scenario,
It is File1 to RFC to File2- Just in your scenario it is JDBC>WS--->File2
So refer and do necessary changes
From SP 19 on XI 3.0 and SP 10 on PI 7.0, a File - RFC - File ( Asynch - Synch ) scenario can be done without a BPM.
Steps:
Integration Repository
The Integration Repository will be similar to any Synchronous Scenario ( say HTTP - RFC ) . 1 Outbound Synch message Interface and 1 Inbound Synch Message Interface.
Integration Directory
This is where a few differences lie, so let me take some time.
1. The Receiver Determination , Interface Determination will be the same as in HTTP - RFC synch scenario. Create the Sender File Adapter, Receiver RFC Adapter and Receiver File Adapter.
2. Sender Agreement will be for the Sender File Adapter. Sender Agreement uses the Synch Outbound Message Interface.
3. Receiver Agreement will be for the Receiver RFC adapter. Receievr Agreement will use the RFC as thge Inbound Message Interface.
4. We need to add a few modules in the Sender File Adapter.
Go to the Modules Tab of the Sender File Adater, and add the following modules in the same sequence,
Number - ModuleName - Type - ModuleKey
code1- AF_Modules/RequestResponseBean - Local Enterprise Bean - 1
2- CallSapAdapter-Local Enterprise Bean - 2
3-AF_Modules/ResponseOnewayBean-3[/code]
Parameters
ModuleKey - ParameterName - ParameterValue
code1 - passThrough - true
3-receiverChannel - Receiver File Adapter Name
3-receiverService - Receiver Business Service/ System[/code]
With this configuration, you can now handle the requirement without a BPM
This feature been already blogged for JMS Adapters in these blogs ,
Sync/Async communication in JMS adapter without BPM (SP19)
/people/venkataramanan.parameswaran/blog/2007/01/18/syncasync-communication-in-jms-adapter-without-bpm-sp19
Async/Sync Communication using JMS adapter without BPM (SP 19)
/people/sudheer.babu2/blog/2007/01/18/asyncsync-communication-using-jms-adapter-without-bpm-sp-19
Dynamic Configuration is also possible,and this as well as many other options are discussed in the How To guide - "How To Realize a sync-async and async-sync
bridge within the Adapter Framework" available on the Service Market Place.
For info on the Modules used here, look into these links,
Request Response Bean
http://help.sap.com/saphelp_nw04/helpdata/en/45/20c210c20a0732e10000000a155369/content.htm
Response Oneway Bean
http://help.sap.com/saphelp_nw04/helpdata/en/45/20cc5dc2180733e10000000a155369/content.htm
Hope this info helps,
Thanks
Swarup -
How to change async to sync after deploying the process.? Thanks
How to change async to sync after deploying the process.? Thanks
you'd need to change the base wsdl, the generated one (_Name.wsdl) and the bpel.file .. and remove the generated classes .. (all in domains/you_domain/tmp/your_process dir)
the wsdl needs to get the output msg to the input msg instead of a callback porttype, the same needs to be in the generated wsdl (don't forget to remove the callback role in plnk session).. and the bpel process needs to have a reply instead of the invoke ..
this is what you would need to do .. BUT, maybe we can find a better solution for you, if you elaborate on the usecase..
during design time this is easier :-)
regards clemens -
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,
HjorturYes 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. -
IDOC to Webservice to Email - Async to Sync Scenario
Dear Experts,
I have a scenario: IDOC to Webservice (Async to Sync)
The response from the webservice needs to be sent via email. So I have a Email channel added to the Business service (ECC).
I tried this with BPM, but it does not work complaining about multiple receivers in a sync receiver interface.
Anyone has done similar to the above?
1. Using BPM?
2. Without BPM?
Thank you.Thank you for the reply. This is what I have:
Repository:
1. Async ABS Interface for webservice request message
2. Sync ABS interface with webservice request message and response message
3. Async ABS interface for the reposnse message
5. Async IB interface for hte email message
4. Message mapping between IDOC and webservice request message
5. Message mapping between webservice response message and email message
6. 2 Interface mappings with the above mapping objects
7. Integration Process BPM with Receive step (Async w/s req), Sync send step (w/s req and respp) and Async send step (w/s response)
Directory:
1. Receiver agreement with BPM as sender and Webservice as receiver with SOAP receiver channel
2. Receiver agreement with BPM as sender and ECC as receiver with email receiver adapter
3. Interface determination for request mapping
4. Interface detrmination for response mapping
5. Receiver determination with ECC as sender and BPM as receiver
6. Receiver determaination with BPM as sender and Webservice as receiver
7. Receiver determination with Webservice as sender and ECC as receiver
is the above sufficient and right?
Thank you. -
Failed to determine receiver - Async to Sync communication
Hello,
I have a setup in which IDoc flows from R/3 to XI to destination through HTTP. Being Async to Sync a BPM is put in place. This flow runs fine.
We tried adding one more receiver to the existing setup. The sender is the same as in the above mentioned flow. The receiver determination is failing. A separate receiver determination was configured for the second flow. The error message is "NO_RECEIVER_CASE_BE". We checked the entire configuration settings. Everything appears fine. Why is the receiver determination failing ? None of the solutions existing provides an answer that works. Any clues ?
Early answers would be much appreciated.
Thanks in advance.
Warm Regards,
IS / SivaIn the same receiver determination, with no condition, just add an additional receiver. Create interface determination and receiver agreement for the corresponding receiver. Activate all objects and try again with your input.
Hope this works..
Regards,
Parvathy -
Can you explain steps in the Async and Sync scenarios JDBC to RFC.
Hi,
Can you explain some basic steps in the Async and Sync scenarios for sending data from JDBC to RFC.
Like,
The data is picked up from the database table through JDBC adapter.
It is passed on to SAP by calling the RFC. RFC gets executed
successfully. The status is returned by the RFC. The status needs to be
updated back into the SQL database table.
Is this a sync case or async case.
What si the diffrences in the sync and async scenarios in the above JDBC to RFC scenarios.
Sooryahi check the below link
https://www.sdn.sap.com/irj/sdn/go/portal/prtroot/docs/library/uuid/5474f19e-0701-0010-4eaa-97c4f78dbf9b
JDBC Synchronous call using BPM
Data Types -
1) File Input
2) JDBC Req
3) JDBC Response
4) File Response of similar type of JDBC Response.. ( This you can avoid also..let it be for first time)
Message Types
4 for each data type
Message Interfaces
1) Async, Outbound, Interface, to receieve the file
2) Async, Inbound , Interface to send the file from XI
3) Async, Absract , Interface of type File message type to recieve the message in the BPM
4) Sync, Abstract Interface with Req message type as File Request, and Response Message type as a file Response
5) Sync , Inbound interface for JDBC with Input message type as a JDBC Request and Output Message type as a JDBC Response
Message Mapping:
1)Mapping between File Req to the JDBC req
2) JDBC Response to File Response
Interface mapping:
1) Sender Interface as a Sync,Abstract Interface created for the file type and target interface as Synchrnous JDBC interface.
Use corresponding mapping for Req and Resp..
note:reward points if solution found helpfull.....
regards
chandrakanth.k -
Async to Sync interfaces.
Hi all,
We have IDOC(Async) -> SOAP (Sync) -> Proxy(Aync) interface requirement.
Can anyone please suggest if it can be done without BPM?Hi AYURA,
Use request response bean and check the link for details.
http://wiki.sdn.sap.com/wiki/display/XI/UsingRequestResponseBeanModuleinFILE+Adapter
Reagrds,
Arijit -
Hi all,
I am extracting information from SAP and Database and merging in XI using BPMcollectpattern and sent to webservice.
async to async is working fine, but i need to see the response from Webservice in sxmb_moni for what went wrong in webservice.
1) for this should i include async to sync bridge????
can anyone suggest me better way to do for this.
Kind Regards,
KiranHello,
there exists only a sync-to-async bridge.
In case of async-to-sync you don't need a bridge.
If your problem is only that you can't see your message in sxmb_moni because it's a sync-message -> look here:
/people/michal.krawczyk2/blog/2005/05/10/xi-i-cannot-see-some-of-my-messages-in-the-sxmbmoni
Regards
Patrick -
JMS(WebSphere-MQseries) async to sync bridge Problem
Hi All,
Please find the scenario.
IDOC1 -
> PI -
>JMS(WebSphere-MQseries)receiver request
IDOC2 <-- PI <--
JMS(WebSphere-MQseries)Sender response
I need to pass the response to JMS sender so that I will get it and will send back to other IDOC.
here I need the details for making this async to sync bridge for JMS receiver to JMS sender.
Please let me know the which adapter module I should use handle this situation.
Thanks,
BhupeshWhat exactly is unclear for you regarding the online help?
http://help.sap.com/saphelp_nw04/helpdata/en/45/20d2b4c20a0732e10000000a155369/frameset.htm -
Questions on async and sync's unit tests
Hi All
I write a API project and that have sync and async method.
Then I also write a unit tests for them.
What I want to ask is how to write them is better ?
public abstract class ApiProxyBase
protected async Task<T>
GetDataAsync<T>(IRestRequest restRequest, bool ignoreSslCertificateValidation
= true) where T
: ApiResponse, new()
protected T
GetData<T>(IRestRequest restRequest, bool ignoreSslCertificateValidation
= true where T
: ApiResponse, new();
public class GameServerApiProxy : ApiProxyBase, IGameServerApiProxy
async Task<GetGameRedirectResponse>
GetGameRedirectAsync(GetGameRedirectRequest request) ;
public GetGameRedirectResponse GetGameRedirect(GetGameRedirectRequest request)
public class GameServerApiProxyTest : TestsBase
[Test]
public async void Can_Get_Game_RedirectUrl_Async()
await LogIn();
var response
= await _gameServerApiProxy.GetGameRedirectAsync(new GetGameRedirectRequest());
response.Url.Should().NotBeNull();
LogOut();
[Test]
public void Can_Get_Game_RedirectUrl()
LogInSync();
var response
= _gameServerApiProxy.GetGameRedirect(new GetGameRedirectRequest());
response.Url.Should().NotBeNull();
LogOut();I have an
article on asynchronous unit testing. I'd say your async unit test method should be async Task and not async void. Other than that, it looks good. In particular, since your interface has both synchronous and asynchronous APIs, you should have tests for
both of them.
Home page: <a href="http://stephencleary.com/">http://stephencleary.com/</a><br/> Programming blog: <a href="http://blog.stephencleary.com/">http://blog.stephencleary.com/</a><br/> <br/> <a
href="http://www.landmarkbaptist.com/salvation">How to get to Heaven according to the Bible</a><br/> -
Hi Gurus,
Could anybody help to design the following scenario?
I am trying to send the Asynchronous SOAP message to an Oracle Stored procedure synchronously. The Stored procedure gives a response message. The response message needs to send back to the SOAP Messaging system asynchronously.
Any inputs would be highly appreciated.
Cheers,
RaghuHi
Check these blogs,
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
https://weblogs.sdn.sap.com/pub/wlg/1403 [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken] [original link is broken]
/people/ravikumar.allampallam/blog/2005/02/17/bridging-the-sync-async-bridge-with-fork-xi
Sameer -
Async to sync to async across different SWCV using BPM
I have inherited some scenarios and incomplete config... the more i dig the more i find....
i think I have a SAP proxy -> web (sync) -> mail adapter scenario.
i have created the SWCV for the web, the Proxy is using SAP Standard ERECRUIT objects (aysnc) and i guess i need to use a BPM to link the async -> sync -> async.
however, i cannot use the object from the ERECRUIT object in my BPM... :o( i have tried... it is not allowing me...
the service interface is not abstract... i cannot create an abstract version of the SI in my namespace and use it... as it can only access the DT and External Definitions within the SWCV...
would it be best to map the SAP structure to a custom copy of the SAP Structure within my namespace then proceed with the BPM?
what would be best practice for this??? has anyone else come across a similar scenario? is BPM the answer???
i have been looking at this blog and it looks the way to go...
/people/sriram.vasudevan3/blog/2005/01/11/demonstrating-use-of-synchronous-asynchronous-bridge-to-integrate-synchronous-and-asynchronous-systems-using-ccbpm-in-sap-xi
i am using rules to determine where the message should be routed too in the receiver, but i get the feeling this will have be implemented for all messages once i get the first working... the process will probably be the same, jsut the final Web destination will be different....for the BPM, you can only access service interface in the same SWCV as of the BPM.
Maybe you are looking for
-
Subtitle created from DVDSP cannot display in VLC
i build a disc from DVDSP with subtitles, it display fine in DVD Player-(Mac Apps), when i press the subtitle button it pops out. but here's the problem, when i using the VLC player, even i click the subtitle track, it just will not appear...forever.
-
Hello all. Is there a way I can link the most recent blogs to my welcome page? I have seen several sites that have their recent blogs on their home page with links to read more. Is this possible through iWeb or are they modifying the html manually? T
-
Customizing one Url in two languages
Hello, please... i need help i have a direct link for finacle, (WEB SVS), they give me two Urls because they wany that when someone log on in SAP CRM ENGLISH, the link open in english, but if someone log on in spanish the link open in spain.... is th
-
bp-8b8be977-128a-45a6-a73c-f79a12131106 11/6/2013 8:07 AM bp-b4728704-138a-4799-bcd2-114622131106 11/6/2013 7:43 AM 30e69f79-e9eb-4c9d-83a7-5edf78120e36 11/4/2013 6:57 PM bp-cf8305d9-1b01-4bb9-9ae4-ad8672131104 11/4/2013 1:22 PM bp-23bdb74a-d623-4ed8
-
Verizon continues to IGNORE what is to happen with the high speed dsl end of the of their services being sold to Frontier. Nowhere in the facts on this website is there any mention of what is to become of the high speed dsl service and how Frontier C