[jbossws-issues] [JBoss JIRA] Commented: (JBWS-2194) request requires HTTP authentication: Unauthorized

Richard Opalka (JIRA) jira-events at lists.jboss.org
Tue May 27 04:37:49 EDT 2008


    [ http://jira.jboss.com/jira/browse/JBWS-2194?page=comments#action_12414262 ] 
            
Richard Opalka commented on JBWS-2194:
--------------------------------------

For CXF we're getting this exception:
---
javax.xml.ws.soap.SOAPFaultException: Could not send Message.
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:218)
	at $Proxy50.testIsUserInRole(Unknown Source)
	at org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase.testIsUserInRole(WebServiceContextEJBTestCase.java:82)
Caused by: org.apache.cxf.interceptor.Fault: Could not send Message.
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:64)
	at org.apache.cxf.phase.PhaseInterceptorChain.doIntercept(PhaseInterceptorChain.java:221)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:276)
	at org.apache.cxf.endpoint.ClientImpl.invoke(ClientImpl.java:222)
	at org.apache.cxf.frontend.ClientProxy.invokeSync(ClientProxy.java:73)
	at org.apache.cxf.jaxws.JaxWsClientProxy.invoke(JaxWsClientProxy.java:177)
	... 32 more
Caused by: java.net.HttpRetryException: cannot retry due to server authentication, in streaming mode
	at sun.net.www.protocol.http.HttpURLConnection.getInputStream(HttpURLConnection.java:1008)
	at java.net.HttpURLConnection.getResponseCode(HttpURLConnection.java:367)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.handleResponse(HTTPConduit.java:1896)
	at org.apache.cxf.transport.http.HTTPConduit$WrappedOutputStream.close(HTTPConduit.java:1824)
	at org.apache.cxf.transport.AbstractConduit.close(AbstractConduit.java:66)
	at org.apache.cxf.transport.http.HTTPConduit.close(HTTPConduit.java:583)
	at org.apache.cxf.interceptor.MessageSenderInterceptor$MessageSenderEndingInterceptor.handleMessage(MessageSenderInterceptor.java:62)
	... 37 more

> request requires HTTP authentication: Unauthorized
> --------------------------------------------------
>
>                 Key: JBWS-2194
>                 URL: http://jira.jboss.com/jira/browse/JBWS-2194
>             Project: JBoss Web Services
>          Issue Type: Bug
>      Security Level: Public(Everyone can see) 
>          Components: jbossws-metro
>    Affects Versions:  jbossws-metro-3.0.2,  jbossws-cxf-3.0.2
>            Reporter: Richard Opalka
>         Assigned To: Alessio Soldano
>
> com.sun.xml.ws.client.ClientTransportException: request requires HTTP authentication: Unauthorized
> 	at com.sun.xml.ws.transport.http.client.HttpClientTransport.checkResponseCode(HttpClientTransport.java:212)
> 	at com.sun.xml.ws.transport.http.client.HttpTransportPipe.process(HttpTransportPipe.java:149)
> 	at com.sun.xml.xwss.XWSSClientPipe.process(XWSSClientPipe.java:118)
> 	at com.sun.xml.ws.api.pipe.helper.PipeAdapter.processRequest(PipeAdapter.java:115)
> 	at com.sun.xml.ws.api.pipe.Fiber.__doRun(Fiber.java:595)
> 	at com.sun.xml.ws.api.pipe.Fiber._doRun(Fiber.java:554)
> 	at com.sun.xml.ws.api.pipe.Fiber.doRun(Fiber.java:539)
> 	at com.sun.xml.ws.api.pipe.Fiber.runSync(Fiber.java:436)
> 	at com.sun.xml.ws.client.Stub.process(Stub.java:248)
> 	at com.sun.xml.ws.client.sei.SEIStub.doProcess(SEIStub.java:135)
> 	at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:109)
> 	at com.sun.xml.ws.client.sei.SyncMethodHandler.invoke(SyncMethodHandler.java:89)
> 	at com.sun.xml.ws.client.sei.SEIStub.invoke(SEIStub.java:118)
> 	at $Proxy59.testIsUserInRole(Unknown Source)
> 	at org.jboss.test.ws.jaxws.samples.context.WebServiceContextEJBTestCase.testIsUserInRole(WebServiceContextEJBTestCase.java:82)

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: http://jira.jboss.com/jira/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        



More information about the jbossws-issues mailing list