cancel
Showing results for 
Search instead for 
Did you mean: 

Web Service Authentication Directive

lisa_miller3
Participant
0 Kudos

In SAP ME 6.0, I have created a web service, and want to use the authentication directives below - any hints on what libary/jar files these would be defined in?

@AuthenticationDT(authenticationLevel = AuthenticationEnumsAuthenticationLevel.BASIC)

@AuthenticationRT(AuthenticationMethod = "sapsp:HTTPBasic")

Accepted Solutions (0)

Answers (1)

Answers (1)

lisa_miller3
Participant
0 Kudos

OK, let's try this again... 

I would like to use the following annotations in my Web Service (developed in Eclipse 3.4.2 - SAP ME SDK 6.0.1):   

@AuthenticationDT(authenticationLevel=AuthenticationEnumsAuthenticationLevel.BASIC)  

@AuthenticationRT(AuthenticationMethod={"sapsp:HTTPBasic"}) 

BUT, the import statements do not resolve in Eclipse:  

import com.sap.engine.services.webservices.espbase.configuration.ann.dt.AuthenticationDT;  

import com.sap.engine.services.webservices.espbase.configuration.ann.dt.AuthenticationEnumsAuthenticationLevel;  

import com.sap.engine.services.webservices.espbase.configuration.ann.rt.AuthenticationRT; 

What .jar file am I missing in Eclipse?  If this .jar file does not come with the SDK, where do I find it?

WorkInstructionService.class in the SDK uses these annotations. 

Thanks, Lisa

Former Member
0 Kudos

Lisa, since I had the same issue: scn.sap.com/thread/3768512