This has suddenly started working, with no changes, I just went into
security configuration in the WAS administration tool and had a look around
(I swear I didnt change anything !) and bong next time I ran the soap test
it worked like a dream.....
Seems like Was admin console is a bit tempremental.
ChrisMM

-----Original Message-----
From: Milburn, Christopher FIL
[mailto:[EMAIL PROTECTED]]
Sent: 12 July 2001 15:44
To: '[EMAIL PROTECTED]'
Subject: Basic authentication on rpcrouter


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