Skip to Content
avatar image
Former Member

Webservice with RFC using SAP Connectivity

Hello,

is there a common way, to provide a function module of R/3 as Webservice in Java? The Problem i face is, that i built up an EJB with SAP Connectivity to call the RFC and provide this as WebService on SAP WebAS Java. My Problem is now, that we have as well on Java side and on R/3 side corresponding D, Q and P Systems. So if Webservice runs on D, it should connect to D System of R/3, and so on.

In Portal we use Aliases for this, but don`t know how to access the Aliases in the EJB, also Portal Systems need User Mapping, our Webservice should be accessed anonymuosly.

Is there a similar way on EJB side to use Aliases?

Regards Oliver

Add comment
10|10000 characters needed characters exceeded

  • Get RSS Feed

1 Answer

  • Best Answer
    avatar image
    Former Member
    Jun 05, 2008 at 02:34 PM

    Wrong forum, but here are some answers:

    > is there a common way, to provide a function module of R/3 as Webservice in Java?

    Every Remote Enabled Functionmodule can be exposed as a web service. Display the functionmodule in SE37 and choose Utilities -> More Utilities -> Create Web Service.

    Use the Webservice Client project wizard in NWDS to create a Java client proxy. This will come with a logical ports file which defines where the web service runs. Specify a logical port for each environment you have (D, Q and P), then in your code decide which logical port to use.

    Add comment
    10|10000 characters needed characters exceeded