Hi!!!
I prepared the following synchronous scenario and it works fine:
[java stand-alone app] <
> [SOAP adapter]<
>[SAP XI]<
>[RFC adapter]<
>[SAP R/3]
I could replace a SOAP adapter with java proxy, of course.
Now I would like to prepare a new scenario in another direction (sync or async):
[SAP R/3]
>[RFC adapter]
>[SAP XI]
>[SOAP adapter]
>[java Web Service on Apache Axis, for example]
I'm not sure how to call/execute/run/start this scenario from ABAP code on SAP R/3?
Regards,
Mariusz
You can do this two ways.
1. Define a Inbound interface in IR and generate inbound proxy for the interface. Implement the <interface>_PortTypeIMPL class with method in it for the interface <== this is where you need to impliment or invoke your java method.
2. Deploy this in any J2EE server.
3. Before Deploying in J2EE server make sure you impliment JPR in the J2EE server(Refer OSS Note588435)
4. Specify the enpoint for the scenarion in ID as http://<J2EE Host>:50000/MessagingSystem
5. Configure J2EE server for the bean deployed(follow steps in OSS Note653833)
Alternatively you can define the java method as webservise and use outbound soap adapter. fill in the section 2 of soap adapter [(ToWS): XMB clients to WS ].
Make XMBWS.TargetURL point to the webservice created. set listener port and path using params XMBWS.XMBPort, XMBWS.XMBPath.
Refer the enpoint for the same in ID to refer XMBPORT & XMBPath.
Best regards,
Rajan Kedambi
Best Regards,
Rajan Kidambi.
Hello Mario,
All you need to do create an RFC which matches the interface(outbound) in XI and RFC destination for XI box and invoke the function module in background task in R/3 for XI RFC destination.
In XI map the outbound interface to java inbound interface. In integration directory assosciate the inbound interface to java stand alone system.
Best Regards
Rajan Kidambi.
Add a comment