Skip to Content
0
Former Member
Apr 21, 2005 at 04:07 PM

JCO, SAP ticket and web service

73 Views

Hi all,

We have design a web service in Java and deployed it on WAS. This web service internally calls a rfc using a JCo.

Its easy to make a web service secure using SAP logon ticket.

Its easy to pass sap log on ticket to JCo and validate user in R/3.

but in the code (i.e. in the EJB or java class) of the web service SAP log on ticket is unavailable because web service container accepts the ticket and validates the user but this ticket is not passed to ejb or java class.

So how to provide single sign on using SAP ticket for JCo.

Is there any way we can get sap logon ticket from Web service container.

or weather we have to use some other way to expose rfc as web service using WAS.

I know we can directly expose RFC or BAPI as web service in ABAP stack. but we want it to through EJB.