I have the following scenario: Web Service -> XI -> RFC.
I have created the XI -> RFC configurations in the XI and exposed them as a Web Service. I tested the generated WSDL with WebDynpro for Java and it works well (I also uploaded the WSDL to the XI server and tested it from the wsnavigator).
I have created a Web Service from a Java class, deployed it on the XI server (the same XI server as the one with the RFC scenario), tested it and it works well.
Now I want to call the service I exposed from the XI from inside my Web Service.
How can I do that? Are there any code samples for that? I searched and couldn't find any.