on 10-08-2010 4:52 PM
Hi, im traying to execute a WebDynpro from my mobile. when i execute it i facing this error.
Service call exception; nested exception is: com.sap.engine.services.webservices.jaxrpc.exceptions.InvalidResponseCodeException: Invalid Response Code: (401) Unauthorized. The requested URL was:"XXXX"
in the webdynpro i have this configuration
public void executeRequest_WebListsSoap_getActiveTasksByUser0( )
{
//@@begin executeRequest_WebListsSoap_getActiveTasksByUser0()
//$$begin Service Controller(-1174862248)
IWDMessageManager manager = wdComponentAPI.getMessageManager();
try
{
wdContext.currentRequest_WebListsSoap_getActiveTasksByUser0Element().modelObject()._setUser("XXX");
wdContext.currentRequest_WebListsSoap_getActiveTasksByUser0Element().modelObject()._setPassword("XXX");
wdContext.currentRequest_WebListsSoap_getActiveTasksByUser0Element().modelObject().execute();
wdContext.nodeResponse().invalidate();
wdContext.nodeResult().invalidate();
}
catch(Exception e)
{
manager.reportException(e.getMessage(), false);
}
//$$end
//@@end
}
but i cannot authenticate with the service. anyone can help me?
the error was related to authorization access
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
87 | |
10 | |
10 | |
10 | |
7 | |
6 | |
6 | |
5 | |
5 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.