on 08-23-2006 1:51 AM
I write a EJB client to call the deployed java proxy, but I got the following exception, sounds like
authorization error, but I have already used the xiappluser to access.
Exception in thread "main" com.sap.aii.proxy.xiruntime.core.BaseProxyException:
Error sending MS message. Exception: Received HTTP response code 401.
at com.sap.aii.proxy.xiruntime.core.AbstractProxy.send$(AbstractProxy.ja
va:146)
.....
Here is the my code:
Properties p = new Properties();
p.put(Context.INITIAL_CONTEXT_FACTORY,
"com.sap.engine.services.jndi.InitialContextFactoryImpl");
p.put(Context.PROVIDER_URL, "<sid>:50104");
p.put(Context.SECURITY_PRINCIPAL, "xiappluser");
p.put(Context.SECURITY_CREDENTIALS, "****");
Context ctx = new InitialContext(p);
....
Hi,
We have the almost the same problem, we write a Java Application to call the deployed java proxy, but I got the following exception:
...com.sap.aii.proxy.xiruntime.core.BaseProxyException:
Error sending MS message. Exception: Received HTTP response code 404: Not found.
Anyone have an idea what's happing?
Regards,
Luis Diego
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi Ben,
Please check if XIAPPLUSER has the role - SAP_XI_APPL_SERV_USER
cheers
Prashanth
P.S Please mark helpful answers
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
Hi,
Please can you check the details given in XI adapter:
http://help.sap.com/saphelp_nw04/helpdata/en/5b/12b7e6a466456aa71ef852af033b34/content.htm
Also, whats the error can u see in component montioring for JPR.
Regards
Vijaya
Still not resolved, can anyone help me?
I can logon to http://host:port/MessagingSystem/receive/JPR/XI from browser with XIAPPLUSER.
User | Count |
---|---|
93 | |
10 | |
10 | |
9 | |
9 | |
7 | |
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.