Skip to Content

Archived discussions are read-only. Learn more about SAP Q&A

Calling webservice from webdynpro using sso (without EJB)

Hi All

I am calling a web service created in SAP BW from a webdynpro(java) program. It is working if I set username and password from code using _setUser() and _setPassword() method .

If I activate SAP logon ticket and don't give user id and password then it is giving error :

Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized.

In the logical port section I have clicked on "Use SAP Logon Ticket" for activating Log on ticket.

I have also created HTTP destination in visual administrator and setting that destination from code using _setHTTPDestinationName method of model object.

Also configuration for SSO between EP and BW server is working if I execute any URL iview.

Please help.Thanks in advance .

Thanks

Raktim

Message was edited by: Raktim Banerjee

Former Member
Not what you were looking for? View more on this topic or Ask a question