I have a problem trying to invoke basic authentication for the rpcrouter, I
set up the SoapHttpConnection and set the username/password but they seem to
be ignored by the server ?
This user/password works fine through a browser.

        // Build the call.
        Call call = new Call();
 
        SOAPHTTPConnection connection = new SOAPHTTPConnection();
        connection.setMaintainSession( true );

        connection.setUserName("MyUserName");
        connection.setPassword("MyPassword");
  
        call.setSOAPTransport(connection);
 
 
On the server this results in the message ...

        com.ibm.websphere.csi.CSIException: Authorization failed for / while
invoking (Home)com/mftl/infra/control/ejb/CommandHandler create
 
someone had a similar problem to this and mentioned editing a web.xml file -
What is this ? Is it relevant ?
Thanks,
Chris M Milburn

Reply via email to