Usha Talluri wrote:

Thanks. Yes I am using basic auth in my application. When I do that userid/password must be included in the http authentication header. HTTPSender has methods for that I presume.

yes- it think you can set properties on AXIS Call object available through AXIS WSIFPort.


alek


*/Aleksander Slominski <[EMAIL PROTECTED]>/* wrote:

    Usha Talluri wrote:

    > I am trying to connect to a legacy system using WSAD web
    services. As
    > long as I was in wsad environment everything was fine. Now I am
    trying
    > to deploy my application on websphere app server and I am getting
    > authorization errors. What could be the problem?
    >
    >
    it seems IBM has its own version of AXIS repackaged as
    com.ibm.ws.webservices so i would look into AXIS open source
    HTTPSender
    to find solution

    >
    > (401)Unauthorized


this looks like you may need to use basic authorization HTTP 401 (see http://www.w3.org/Protocols/rfc2616/rfc2616-sec10.html)

    HTH,

    alek

    > at
    >
    
com.ibm.ws.webservices.engine.transport.http.HTTPSender.readFromSocket(HTTPSender.java:773)
    > at
    >
    com.ibm.ws.webservices.engine.transport.http.HTTPSender.invoke(HTTPSender.java:157)
    > at
    >
    
com.ibm.ws.webservices.engine.PivotHandlerWrapper.invoke(PivotHandlerWrapper.java:217)
    > at
    >
    com.ibm.ws.webservices.engine.WebServicesEngine.invoke(WebServicesEngine.java:258)
    > at
    >
    com.ibm.ws.webservices.engine.client.Connection.invokeEngine(Connection.java:680)
    > at
    >
    com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:604)
    > at
    >
    com.ibm.ws.webservices.engine.client.Connection.invoke(Connection.java:434)
    > at com.ibm.ws.webservices.engine.client.Call.invoke(Call.java:1381)
    > at com.ibm.ws.webservices.engine.client.Call.invoke(Call.java:1315)
    > at
    >
    
com.ibm.ws.webservices.wsif.providers.soap.WSIFOperation_SOAP.invokeAXISRPCStyle(WSIFOperation_SOAP.java:1758)
    > at
    >
    
com.ibm.ws.webservices.wsif.providers.soap.WSIFOperation_SOAP.invokeRequestResponseOperation(WSIFOperation_SOAP.java:1473)
    > at
    >
    
com.ibm.ws.webservices.wsif.providers.soap.WSIFOperation_SOAP.executeRequestResponseOperation(WSIFOperation_SOAP.java:1046)
    >
    > Regards,
    > Usha Talluri



-- The best way to predict the future is to invent it - Alan Kay



--
The best way to predict the future is to invent it - Alan Kay



Reply via email to